Johan Meskens CS3 jmcs3 wrote:


hello


i have a session of emacs open:
[EMAIL PROTECTED]:~$ emacs

now
 if i do:
[EMAIL PROTECTED]:~$ 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?


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to