From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Soulayrol Newsgroups: gmane.emacs.help Subject: How to get asynchronous notifications from Emacs ? Date: 25 Feb 2007 12:25:18 GMT Organization: Guest of ProXad - France Message-ID: <45e1802d$0$28489$426a74cc@news.free.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1172407238 10979 80.91.229.12 (25 Feb 2007 12:40:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Feb 2007 12:40:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 25 13:40:32 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLIg2-0003pE-V1 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2007 13:40:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLIg2-0006IY-QL for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2007 07:40:30 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.tiscali.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!cleanfeed3-b.proxad.net!nnrp10-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: pan 0.119 (Karma Hunters) Original-Lines: 16 Original-NNTP-Posting-Date: 25 Feb 2007 13:25:18 MET Original-NNTP-Posting-Host: 82.253.126.33 Original-X-Trace: 1172406318 news-1.free.fr 28489 82.253.126.33:35469 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:145853 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41457 Archived-At: 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. I have discovered emacsclient and gnuserv which both allow me to send synchronous orders to emacs, but I don't think they can solve my problem. Do you know if such a tool exists ? If not, can you give me pointers or preliminary help on how to write this in emacs lisp ? I think I'd have to open a network connection, and then capture actions to send a message... Thanks a lot. David.