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

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: rfrancoise <at> debian.org, Andreas Schwab <schwab <at> linux-m68k.org>,
 cmr.Pent <at> gmail.com, 2520 <at> debbugs.gnu.org
Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP
Date: Sun, 24 Oct 2021 15:08:38 -0700
retitle 2520 Read configuration file on SIGUSR1
tags 2520 confirmed
thanks

Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
>> So maybe rather than load the init file, we wan to use SIGUSR1 cause
>> Emacs to read ~/.emacs.d/sigusr1.el ?
>
> Sure, that would also make sense.  "Re-reading the startup file" sounds
> like a less hacky interface, though.
>
>> PS: FWIW, when this happens, I use gdb to attach to the process
>>     and "call (intern ("server-mode"));" from there.
>
> Heh.  Hadn't thought about that.

Retitling and adding the confirmed tag so this is easier to find.




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.