all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Detecting if the Emacs server is running
@ 2011-03-18  6:11 PJ Weisberg
  2011-03-18  6:47 ` Deniz Dogan
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: PJ Weisberg @ 2011-03-18  6:11 UTC (permalink / raw)
  To: help-gnu-emacs

Is there a way, in GNU/Linux, to detect whether Emacs is running in
server mode from a shell script?

I'd like to write a script that creates a new frame with emacsclient
if the user is already running an emacs server, but just starts up a
regular Emacs instance if he isn't.

-- 

-PJ



^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <mailman.2.1300428697.25014.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2011-03-18 20:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18  6:11 Detecting if the Emacs server is running PJ Weisberg
2011-03-18  6:47 ` Deniz Dogan
2011-03-18  7:38   ` PJ Weisberg
2011-03-18  9:59     ` PJ Weisberg
2011-03-18  7:18 ` Leo
     [not found] ` <mailman.5.1300430901.25014.help-gnu-emacs@gnu.org>
2011-03-18  8:14   ` Ilya Zakharevich
     [not found] <mailman.2.1300428697.25014.help-gnu-emacs@gnu.org>
2011-03-18  9:43 ` Pascal J. Bourguignon
2011-03-18 20:46   ` PJ Weisberg

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.