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 . Remember, emacs can do anything if you ask nicely enough. Theoretical limitations do not exist as with other programs. ;) Matthew Flaschen