From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#2520: 23.0.91; Dies on SIGHUP Date: Fri, 22 Oct 2021 10:59:30 -0400 Message-ID: References: <87muenjj9x.fsf@gnus.org> <87lfu7nq1t.fsf@igel.home> <8736gff81m.fsf@gnus.org> <878rylf93b.fsf@gnus.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4381"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Andreas Schwab , rfrancoise@debian.org, Stefan Kangas , cmr.Pent@gmail.com, 2520@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 22 17:03:00 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdw4S-0000u8-MG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Oct 2021 17:03:00 +0200 Original-Received: from localhost ([::1]:55786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdw4R-0004SY-L2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Oct 2021 11:02:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdw1a-0001a3-L9 for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 11:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdw1a-0002ue-Bp for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 11:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdw1a-0001Qe-9h for bug-gnu-emacs@gnu.org; Fri, 22 Oct 2021 11:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Oct 2021 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2520 X-GNU-PR-Package: emacs Original-Received: via spool by 2520-submit@debbugs.gnu.org id=B2520.16349147875443 (code B ref 2520); Fri, 22 Oct 2021 15:00:02 +0000 Original-Received: (at 2520) by debbugs.gnu.org; 22 Oct 2021 14:59:47 +0000 Original-Received: from localhost ([127.0.0.1]:33598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdw1L-0001Pi-5B for submit@debbugs.gnu.org; Fri, 22 Oct 2021 10:59:47 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:64565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdw1D-0001PO-1m for 2520@debbugs.gnu.org; Fri, 22 Oct 2021 10:59:42 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 177714412C9; Fri, 22 Oct 2021 10:59:33 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AD9C0440F1A; Fri, 22 Oct 2021 10:59:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1634914771; bh=EH9LjkWzIGCNZIWxSLl+PlSB0oznnDqVIJh8jJiJRR4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ANnHgPb85bv6Jvmhi4l9sBmDcXMXrSHHXdfG2LM3QKP90zGKS0IoJfc6eC6i3dHpQ ohtyGoAJ7yoNtesAk9APVvqcRJX+jsZEaFWRHak6LhZ5kiDmJBru9Nvl/jwPvwlzRF FqLkws4LpfNW4yRy1Ih2Tim2tyLGvPpb4HAVgAVgQlseOFm9V+bqVGDlhA8Z+utG/6 qrxXM9lwOqHqEMqiK4Q0xESVGimRprnzS26Bdu4tmN43L1nzQSSWqc9KwItIqv7H2D Iso1wOiUDMdQlARBZbn7vyKl0aOcynwFi1Kv8HiQ9G16hpLYfbxmEauiDpQLgY/YmM fbUwFmY8C5ejw== Original-Received: from ceviche (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6AC48120313; Fri, 22 Oct 2021 10:59:31 -0400 (EDT) In-Reply-To: <878rylf93b.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 22 Oct 2021 16:05:44 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217887 Archived-At: Lars Ingebrigtsen [2021-10-22 16:05:44] wrote: > Stefan Monnier 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 ` to re-read the init file? If not, why would it more important to offer a way to do it via SIGUSR? Stefan