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: 27 Feb 2007 20:37:20 GMT	[thread overview]
Message-ID: <45e49680$0$27053$426a74cc@news.free.fr> (raw)
In-Reply-To: mailman.120.1172508176.7795.help-gnu-emacs@gnu.org

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.

  parent reply	other threads:[~2007-02-27 20:37 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
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 [this message]
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='45e49680$0$27053$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).