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

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

Re: Emacs daemon restart?


From: Pascal J. Bourguignon
Subject: Re: Emacs daemon restart?
Date: Sat, 01 Dec 2012 19:51:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

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 {}.


reply via email to

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