unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* automatic selection of emacsclient/emacs?
@ 2005-06-08  2:32 Hattuari
       [not found] ` <2cydneqEPbdzxTvfRVn-uw-zY4eFNvK5D9If6P1QZMOBw@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Hattuari @ 2005-06-08  2:32 UTC (permalink / raw)


Is there a clean way to get Emacs to start as a client when there is an
available server?  I find it moderately annoying to have to look around to
see if there is already an instance of Emacs started in order to determine
if I should enter `emacs' or `emacsclient'. I much prefer running
emacsclient when I already have one instance of Emacs running.  One option
is to try and sniff for emacs with ps and filter out the current processes
such as grep emacs, and (assuming the script I'm running is also called
emacs) the launch script.  It would seem more correct to directly check to
see if the service is available.  Is there such a capability? 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-06-13 18:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-08  2:32 automatic selection of emacsclient/emacs? Hattuari
     [not found] ` <2cydneqEPbdzxTvfRVn-uw-zY4eFNvK5D9If6P1QZMOBw@public.gmane.org>
2005-06-08  7:56   ` Jochen Küpper
2005-06-08  8:00 ` Thorsten Bonow
2005-06-08  9:17 ` David Kastrup
2005-06-12 14:29 ` Dan Elliott
2005-06-12 18:19   ` Floyd L. Davidson
2005-06-13 15:29   ` Drew Adams
2005-06-13 18:27   ` kgold
2005-06-12 20:28 ` Benjamin Rutt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).