unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Soulayrol <dsoulayrol@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get asynchronous notifications from Emacs ?
Date: 26 Feb 2007 08:43:57 GMT	[thread overview]
Message-ID: <45e29dcd$0$32749$426a74cc@news.free.fr> (raw)
In-Reply-To: mailman.81.1172413015.7795.help-gnu-emacs@gnu.org

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.

> Remember, emacs can do anything if you ask nicely enough.  Theoretical
> limitations do not exist as with other programs. ;)

But it doesn't have a kitchen sink.


> Matthew Flaschen

Thanks.

David.

  parent reply	other threads:[~2007-02-26  8:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-25 12:25 How to get asynchronous notifications from Emacs ? David Soulayrol
2007-02-25 14:16 ` Matthew Flaschen
     [not found] ` <mailman.81.1172413015.7795.help-gnu-emacs@gnu.org>
2007-02-26  8:43   ` David Soulayrol [this message]
2007-02-26  9:49     ` Matthew Flaschen
2007-02-26 16:42       ` Lennart Borgman (gmail)
     [not found]       ` <mailman.120.1172508176.7795.help-gnu-emacs@gnu.org>
2007-02-27 20:37         ` David Soulayrol
2007-02-27 20:52           ` Lennart Borgman (gmail)
     [not found]           ` <mailman.181.1172609581.7795.help-gnu-emacs@gnu.org>
2007-02-27 21:47             ` Thorsten Bonow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='45e29dcd$0$32749$426a74cc@news.free.fr' \
    --to=dsoulayrol@free.fr \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).