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

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

Re: Detecting if the Emacs server is running


From: PJ Weisberg
Subject: Re: Detecting if the Emacs server is running
Date: Fri, 18 Mar 2011 13:46:19 -0700

On Fri, Mar 18, 2011 at 2:43 AM, Pascal J. Bourguignon
<pjb@informatimago.com> wrote:

> I have in general three emacs instances running, so I use different
> socket file names.  I use the following script to detect the emacs
> instances running with an active server.
>
> Once you get the list of emacsen with an actitve server, you may compare
> it with the list of running emacs processes.

I haven't had time to look through the code yet, but thanks for
posting that script.  Multiple server processes isn't a case I'm
directly familiar with, so it's good to have an example of how to
handle it.

Thanks!

-PJ



reply via email to

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