GNU bug report logs - #2520
Read configuration file on SIGUSR1

Previous Next

Package: emacs;

Reported by: cmr.Pent <at> gmail.com

Date: Sun, 1 Mar 2009 09:15:03 UTC

Severity: wishlist

Tags: confirmed

Full log


Message #12 received at 2520 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: cmr.Pent <at> gmail.com
Cc: 2520 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP
Date: Sun, 01 Mar 2009 17:50:05 -0500
severity 2520 wishlist
thanks

> 1) emacs -Q. Emacs process starts.
> 2) pkill -s 1 emacs. Emacs process dies.

> The more appropriate behavior would be to reload the configuration
> without restarting (i.e. reread X resource values).  This behavior
> would be especially useful for the daemon mode.

It could make sense, indeed.  It can be pretty problematic as well,
since most config files read by Emacs (i.e. site-start.el, default.el,
.emacs) are normally only read a single time per session, and in
a particular order, at a particular time, so rereading them later on can
very easily give you unexpected results.

It is a good practice to keep your .emacs file "idempotent", but I think
such files are the exceptions rather than the rule.  So, yes, it could
be handy, but it would have to come with big warnings "may not do what
you expect".

> I'm pretty sure previous snapshot versions used to work that way.

Maybe in some other world.


        Stefan




This bug report was last modified 3 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.