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 #35 received at 2520 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Andreas Schwab <schwab <at> linux-m68k.org>, rfrancoise <at> debian.org,
 Stefan Kangas <stefan <at> marxist.se>, cmr.Pent <at> gmail.com, 2520 <at> debbugs.gnu.org
Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP
Date: Fri, 22 Oct 2021 10:59:30 -0400
Lars Ingebrigtsen [2021-10-22 16:05:44] wrote:
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>>>> I guess SIGUSR1 and 2 are also taken...
>>
>> Not really: they're turned into input events and one of them can be used
>> for `debug-on-event` but the other is free.
>>
>>> So do we actually want to do anything here?  Simply re-reading the
>>> configuration comes with its own set of complications for us.
>>
>> BTW, if someone wants to re-read their init file upon SIGUSR1, they can
>> do so via something like:
>>
>>     (define-key special-event-map [sigusr1] <...>)
>
> But should Emacs offer something along these lines by default?  I think
> it makes some sense to do so, because people only think about adding
> this after the first time they need it.  (Well, after the third time,
> because we're too lazy to do it the first couple times around, and just
> swear a lot instead.)

Do we have a `M-x <something>` to re-read the init file?
If not, why would it more important to offer a way to do it via SIGUSR?


        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.