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

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

Re: Check for other running emacs sessions?


From: kgold
Subject: Re: Check for other running emacs sessions?
Date: Thu, 06 Apr 2006 08:49:08 -0400
User-agent: Mozilla/5.0 (X11; U; AIX 000C89FF4C00; en-US; rv:1.7) Gecko/20040617

A better solution is to run only one emacs server and connect multiple clients to it. That is, start gnuserv as part of your login script. Use gnuclient to edit files.

The main advantage is that the client starts much faster than the server.

noreply@u.wasshington.edu wrote:
Hello,

I typically have three different instances of emacs running at the
same time.  I'd like to put something in my .emacs file to check if
another instance is running and if so, not do something
(activate-appt).  I haven't been able to find anything on it, but
perhaps I'm not using the right terms.  Is there a way to do this in
emacs, or should I call a shell script that greps for 'emacs' in ps
output?

Thank you for any thoughts or suggestions.

Brian


reply via email to

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