all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: help-gnu-emacs@gnu.org, Emacs Devel <emacs-devel@gnu.org>
Subject: Re: different sessions into one
Date: Thu, 28 Jul 2005 11:19:50 +0200	[thread overview]
Message-ID: <42E8A336.2070000@student.lu.se> (raw)
In-Reply-To: <42E862F0.1000308@chromaticspaceandworld.com>

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?

      parent reply	other threads:[~2005-07-28  9:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28  4:45 different sessions into one Johan Meskens CS3 jmcs3
2005-07-28  8:25 ` Peter Dyballa
2005-07-28 11:39   ` Johan Meskens CS3 jmcs3
2005-07-28  9:19 ` Lennart Borgman [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42E8A336.2070000@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.