all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs daemon restart?
@ 2012-12-01 18:43 juliewith
  0 siblings, 0 replies; 2+ messages in thread
From: juliewith @ 2012-12-01 18:43 UTC (permalink / raw)
  To: Help-gnu-emacs

If I'm running emacsclient with an emacs daemon in the background and I make
changes, say, to my .emacs, then I'd like to restart the entire emacs.
Apparently M-x eval-buffer doesn't go emacs-wide, that is, I think I need to
restart the daemon too, right? I've seen ways of killing the daemon, i.e.,
(kill-emacs) etc., but is it possible to just restart the daemon?



--
View this message in context: http://emacs.1067599.n5.nabble.com/Emacs-daemon-restart-tp271254.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



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

* Re: Emacs daemon restart?
       [not found] <mailman.14258.1354387394.855.help-gnu-emacs@gnu.org>
@ 2012-12-01 18:51 ` Pascal J. Bourguignon
  0 siblings, 0 replies; 2+ messages in thread
From: Pascal J. Bourguignon @ 2012-12-01 18:51 UTC (permalink / raw)
  To: help-gnu-emacs

juliewith <galaxybeinglambda@gmail.com> writes:

> If I'm running emacsclient with an emacs daemon in the background and I make
> changes, say, to my .emacs, then I'd like to restart the entire emacs.
> Apparently M-x eval-buffer doesn't go emacs-wide, that is, I think I need to
> restart the daemon too, right? 

It should be enough, but you would have to be extracareful to make your
~/.emacs idempotent, and this would be hard.

> I've seen ways of killing the daemon, i.e.,
> (kill-emacs) etc., but is it possible to just restart the daemon?

There's no restart(2) syscall, no.  Only fork(2),  exec(2) and _exit(2).

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.


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

end of thread, other threads:[~2012-12-01 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-01 18:43 Emacs daemon restart? juliewith
     [not found] <mailman.14258.1354387394.855.help-gnu-emacs@gnu.org>
2012-12-01 18:51 ` Pascal J. Bourguignon

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.