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: Re: How to get asynchronous notifications from Emacs ? Date: 27 Feb 2007 20:37:20 GMT Organization: Guest of ProXad - France Message-ID: <45e49680$0$27053$426a74cc@news.free.fr> References: <45e1802d$0$28489$426a74cc@news.free.fr> <45e29dcd$0$32749$426a74cc@news.free.fr> <45E2AD3A.1080706@gatech.edu> 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 1172608844 28016 80.91.229.12 (27 Feb 2007 20:40:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Feb 2007 20:40:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 27 21:40:33 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 1HM97g-0007h3-Oq for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Feb 2007 21:40:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HM97g-00026z-BK for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Feb 2007 15:40:32 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: pan 0.119 (Karma Hunters) Original-Lines: 43 Original-NNTP-Posting-Date: 27 Feb 2007 21:37:20 MET Original-NNTP-Posting-Host: 82.255.7.51 Original-X-Trace: 1172608640 news-3.free.fr 27053 82.255.7.51:56563 Original-X-Complaints-To: abuse@proxad.net Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!feed.ac-versailles.fr!proxad.net!cleanfeed3-a.proxad.net!nnrp6-2.free.fr!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:145899 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:41503 Archived-At: Hello, Le Mon, 26 Feb 2007 17:42:47 +0100, Lennart Borgman (gmail) a écrit: > Matthew Flaschen wrote: > >> David Soulayrol wrote: >>> 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. > > > Well, if you want to communicate with the kitchen sink you can not do > that (at least not in both directions) with emacsclient (or gnuclient, > which is similar in spirit). Emacsclient will only send commands to > Emacs, it does not take command from Emacs. > > What you should do is write a program that can talk and listen on > standard output resp input. That program can then be run as an inferior > process (Emacs parlang, a subprocess) in a buffer. > > Take a look for example at "shell" command in Emacs for example code. > > This way you do not have to buy an Emacs aware kitchen sink. I understand now well that gnuserv or emacsclient is only meant at sending commands to a running instance of Emacs. What I miss is, as I said, to get information in the opposite way: from Emacs to another process. My goal is to embed Emacs in pida, a python IDE based on other components. pida is currently able to embed vim and a pair of other editors. I'm going to take the time to read about elisp and try to write the missing piece of my puzzle. Thanks both of you for your help. David.