help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: different sessions into one


From: Lennart Borgman
Subject: Re: different sessions into one
Date: Thu, 28 Jul 2005 11:19:50 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Johan Meskens CS3 jmcs3 wrote:


hello


i have a session of emacs open:
jmcs3@interlichtspielhaus:~$ emacs

now
 if i do:
jmcs3@interlichtspielhaus:~$ ps aux | emacs &

 , a second session of emacs will open

the same goes for when i call emacs from within perl scripts
 , each time new emacs sessions will open

how can i force the opening of buffers within the first emacs session ?

You have to use emacsserver/client or gnuserv/client. But unfortunately at least with gnuserv I do not believe that you can pipe the content directly to gnuclient.

A workaround is of course making a small program that saves the output to a temporary file and then calls emaclient or gnuclient on that. Maybe there should be such a program in the Emacs distribution?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]