[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get asynchronous notifications from Emacs ?
From: |
Matthew Flaschen |
Subject: |
Re: How to get asynchronous notifications from Emacs ? |
Date: |
Mon, 26 Feb 2007 04:49:46 -0500 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070104) |
David Soulayrol wrote:
> Le Sun, 25 Feb 2007 09:16:33 -0500, Matthew Flaschen a écrit:
>
>> David Soulayrol wrote:
>>> Hello,
>>>
>>> I'm looking for a way to obtain asynchronous notifications
>>> of emacs actions, like: buffer was closed, displayed buffer has changed,
>>> and so on.
>> Emacs has hooks for many actions. For example, kill-buffer-hook is run
>> when a buffer is closed. Run C-h f on kill-buffer-hook and add-hook,
>> and C-h v on after-change-functions. See also
>> http://www.delorie.com/gnu/docs/elisp-manual-21/elisp_540.html and
>> http://www.gnu.org/software/emacs/manual/html_node/Hooks.html .
>
> I knew the principles in Emacs, but thanks a lot for this introduction.
>
> So I assume you are not aware of a tool which could be the companion of
> gnuserv for my needs ? I'll try to write this down.
I'm afraid I don't know what gnuserv is. I use regular emacsclient, and
am fairly new to emacs in general. What exactly do you want to do?
I.E. what's your end goal?
> But it doesn't have a kitchen sink.
Patience.
Matthew Flaschen
signature.asc
Description: OpenPGP digital signature