all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to run server-start only if not already running?
@ 2007-11-06 21:41 Reuben Thomas
  2007-11-06 23:35 ` Andreas Schwab
  0 siblings, 1 reply; 10+ messages in thread
From: Reuben Thomas @ 2007-11-06 21:41 UTC (permalink / raw)
  To: Emacs Bugs

Sometimes, normally by error, I start a second Emacs. Since my .emacs runs 
server-start, this overrides the server I run in my normally-running Emacs. 
After quitting the erroneously-started Emacs, I no longer have a server and 
need manually to restart it. Is there some way to run server-start in my 
.emacs only if there's no server currently? It'd be nice to make this easy!

Possibly alternatively, it'd be nice to enable emacsclient to start a server 
process if there's already a running Emacs but no server running in it.

-- 
http://rrt.sc3d.org/ | dumb blonde, n. susbt. phr.  peroxymoron




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

end of thread, other threads:[~2007-11-08  9:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-06 21:41 How to run server-start only if not already running? Reuben Thomas
2007-11-06 23:35 ` Andreas Schwab
2007-11-06 23:38   ` Reuben Thomas
2007-11-06 23:56     ` Lennart Borgman (gmail)
2007-11-07  0:00       ` Reuben Thomas
2007-11-06 23:46   ` Reuben Thomas
2007-11-07  7:56   ` Richard Stallman
2007-11-07  9:42     ` Andreas Schwab
2007-11-08  4:41       ` Richard Stallman
2007-11-08  9:49         ` Andreas Schwab

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.