Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 24 Oct 2021 22:08:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 24 18:08:45 2021 Received: from localhost ([127.0.0.1]:41182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1melfZ-0006UP-Cl for submit <at> debbugs.gnu.org; Sun, 24 Oct 2021 18:08:45 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:36635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1melfX-0006U6-WB for 2520 <at> debbugs.gnu.org; Sun, 24 Oct 2021 18:08:44 -0400 Received: by mail-pf1-f182.google.com with SMTP id m26so8903274pff.3 for <2520 <at> debbugs.gnu.org>; Sun, 24 Oct 2021 15:08:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=hTK1xXPe8J0nXSmFcQ24yTEfMpgK49ab3W7cyCb3eU0=; b=RjCn/6E4/RoMvVu9GnMgbMM7hipitPb0y/jNN6IQmvB/4KI316PjQtddqhFEBIWMUS KSO5QeVGA+QmvMIbKxF9hzw/S4Bu6q3xqxUKNH0lFJx7dwWPYuG5XimgmjC8cht5jGui yI3jLcO55h3si2mp6MkMmWW0ppr6jQ+x/oZ27zbX/3gKXn4duyOnOjjWc+XYI3z/qggR bEO5I6oPdSWWOPqSZXch/uKpXxS+6jtkcbGlXn+42WnT8LyMhzi1VfpO0m/r4csfvl9K fcNrc8ivNDNmXEhzoqC+lLMXXPNO2ywUTE8tn7imUlFqU4mZIhu7xRu3A4L/gY8u16LL 2b0A== X-Gm-Message-State: AOAM531ACpV/qXJD1JCYjbsM0BLu2RQ1D0b4GFkpGVstcSSAAUZK4KGT 0CJqYwHxGAfHgE253hudQsikLcSkiU7+zMINzL5JgQcu X-Google-Smtp-Source: ABdhPJyi4LibD5Gt0S6N2uKsMKDTSidB85Skf294BgoAazJmK3PzwM9mYbjGo1dvk1Cg6TfstVq7s4xhYiio75SNVxE= X-Received: by 2002:aa7:99c3:0:b0:47b:e21d:7315 with SMTP id v3-20020aa799c3000000b0047be21d7315mr6870434pfi.35.1635113318389; Sun, 24 Oct 2021 15:08:38 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Oct 2021 15:08:38 -0700 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <87ilxmbond.fsf@HIDDEN> References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> <8736gff81m.fsf@HIDDEN> <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> <jwv1r4d9sl5.fsf-monnier+emacs@HIDDEN> <878rylf93b.fsf@HIDDEN> <jwv4k99p0lu.fsf-monnier+emacs@HIDDEN> <87ilxpcd5q.fsf@HIDDEN> <jwv4k988zlo.fsf-monnier+emacs@HIDDEN> <87ilxmbond.fsf@HIDDEN> MIME-Version: 1.0 Date: Sun, 24 Oct 2021 15:08:38 -0700 Message-ID: <CADwFkmne1KsmxZr0PRLCERk3NC-ywW31Oo-eSyZHf1_mAvm4RA@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP To: Lars Ingebrigtsen <larsi@HIDDEN>, Stefan Monnier <monnier@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 2520 Cc: rfrancoise@HIDDEN, Andreas Schwab <schwab@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) retitle 2520 Read configuration file on SIGUSR1 tags 2520 confirmed thanks Lars Ingebrigtsen <larsi@HIDDEN> writes: > Stefan Monnier <monnier@HIDDEN> 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.
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 24 Oct 2021 12:20:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 24 08:20:20 2021 Received: from localhost ([127.0.0.1]:38057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mecU7-0006zm-SN for submit <at> debbugs.gnu.org; Sun, 24 Oct 2021 08:20:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1mecU6-0006za-Dc for 2520 <at> debbugs.gnu.org; Sun, 24 Oct 2021 08:20:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6ViU8oaqGLZm165u361Tiqq6xTaoSFJB5usKJE8C/Yo=; b=hRDsssW4dLsh2WD+Ai60TctnCf lwq6UuJmcqmngSHUZoaABj7OEuWEeYRlR5w6Qtlyr1aW8DxHOH594ea8k9cs/G6dmRb1e95SD4awP Gqv0u6OmikF/MM+UIyOH+m2pfJZ4OqdjTlyHGU11jO2LoLDyhIg824xHCdHs4w4j4b38=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1mecTv-0006pr-I0; Sun, 24 Oct 2021 14:20:10 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> <8736gff81m.fsf@HIDDEN> <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> <jwv1r4d9sl5.fsf-monnier+emacs@HIDDEN> <878rylf93b.fsf@HIDDEN> <jwv4k99p0lu.fsf-monnier+emacs@HIDDEN> <87ilxpcd5q.fsf@HIDDEN> <jwv4k988zlo.fsf-monnier+emacs@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAXNSR0IArs4c6QAAAAJiS0dE AP+Hj8y/AAAACXBIWXMAAAsSAAALEgHS3X78AAAAB3RJTUUH5QoYDA8DQsvzUQAAAJhJREFUSMft k9ENgCAMRIGwkqPclF3KUfzBQC3aw/ihwX4R0tdryxHXMBZpMH9OIAeUk3BAXOqZQlqgIXBaQQF7 BjolyKFhLrRCCGKSRPNDa0WnJSgBsV2lXpWrgZyWrETml4R+Sx7Gb6lgiTEQGo3jw7nxwh9344tS UU3MKTSmJxXqQzw/tGgBFzDOcRUwChxjSvP9wEeBDeQcFNLrTcmuAAAAJXRFWHRkYXRlOmNyZWF0 ZQAyMDIxLTEwLTI0VDEyOjE1OjAyKzAwOjAwM7W0pAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0x MC0yNFQxMjoxNTowMiswMDowMELoDBgAAAA4dEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IChj KSAxOTk4IEhld2xldHQtUGFja2FyZCBDb21wYW55+Vd5NwAAACF0RVh0aWNjOmRlc2NyaXB0aW9u AHNSR0IgSUVDNjE5NjYtMi4xV63aRwAAACZ0RVh0aWNjOm1hbnVmYWN0dXJlcgBJRUMgaHR0cDov L3d3dy5pZWMuY2gcfwBMAAAAN3RFWHRpY2M6bW9kZWwASUVDIDYxOTY2LTIuMSBEZWZhdWx0IFJH QiBjb2xvdXIgc3BhY2UgLSBzUkdCRFNIqQAAAABJRU5ErkJggg== X-Now-Playing: Lost Girls's _Menneskekollektivet_: "Carried by Invisible Bodies" Date: Sun, 24 Oct 2021 14:20:06 +0200 In-Reply-To: <jwv4k988zlo.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Fri, 22 Oct 2021 18:31:05 -0400") Message-ID: <87ilxmbond.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier <monnier@HIDDEN> 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. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 2520 Cc: Andreas Schwab <schwab@HIDDEN>, rfrancoise@HIDDEN, Stefan Kangas <stefan@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 22 Oct 2021 22:31:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 22 18:31:19 2021 Received: from localhost ([127.0.0.1]:33910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1me34J-0000zA-Md for submit <at> debbugs.gnu.org; Fri, 22 Oct 2021 18:31:19 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:51429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1me34F-0000yr-5f for 2520 <at> debbugs.gnu.org; Fri, 22 Oct 2021 18:31:18 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4338C100355; Fri, 22 Oct 2021 18:31:09 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A984D1000F8; Fri, 22 Oct 2021 18:31:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1634941867; bh=kCBMSZcv+pRJEYQERLH2/PwkV2eag1PHWmiecxAfWV0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=C8qbvt4EOFJMolwv/R87HSdo8a5ZmLJYlsmnXfbs4Ec4GV+8sm9exqKiUWuoL6wNK nMCTChcJMGl7F8POvYdMXWpWnN/Zdpx9qmYfOLxDxvZCCRu8AGoMzfg67c9y37GIUL QEJg73RG/wiIIdEiJJhNcBdLntGUvkDe5F0gzwqjFtSt7A+L8SCG5m/+lSnaOVsGC4 7cmdYfN1lLp08N4kB3iAw3IWBF5DdCKHhrruBtWq45T19+v/AxmFGGOcrNqq2rE10l CB4XhAa9P0YFBmV/6Jrrxt8ugNfA+KELrGfJhRKOzrlyeZX4Q4Dr4jlv+dXSIO5Rje TdhmpZ59Q0zLg== Received: from milanesa (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5EF971201B6; Fri, 22 Oct 2021 18:31:07 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP Message-ID: <jwv4k988zlo.fsf-monnier+emacs@HIDDEN> References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> <8736gff81m.fsf@HIDDEN> <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> <jwv1r4d9sl5.fsf-monnier+emacs@HIDDEN> <878rylf93b.fsf@HIDDEN> <jwv4k99p0lu.fsf-monnier+emacs@HIDDEN> <87ilxpcd5q.fsf@HIDDEN> Date: Fri, 22 Oct 2021 18:31:05 -0400 In-Reply-To: <87ilxpcd5q.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri, 22 Oct 2021 17:06:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.052 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 2520 Cc: Andreas Schwab <schwab@HIDDEN>, rfrancoise@HIDDEN, Stefan Kangas <stefan@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Lars Ingebrigtsen [2021-10-22 17:06:09] wrote: > Stefan Monnier <monnier@HIDDEN> writes: >> 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? > The use case is that you're ssh-ing in to an Emacs running on a machine, > and you want to communicate with that Emacs (because it has all the > information you absolutely need right now in *scratch*), but you haven't > set up emacs-server on it yet. (Any similarity to something that's > happened to me a dozen times is purely coincidental.) > So if you could put (server-start) in ~/.emacs and send it SIGUSR, > that'd be nice. So maybe rather than load the init file, we wan to use SIGUSR1 cause Emacs to read ~/.emacs.d/sigusr1.el ? Stefan PS: FWIW, when this happens, I use gdb to attach to the process and "call (intern ("server-mode"));" from there. [ This said, it doesn't happen often, because I do enable `server-mode` in my init file. ]
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 22 Oct 2021 15:06:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 22 11:06:30 2021 Received: from localhost ([127.0.0.1]:33612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mdw7p-0001dV-Nw for submit <at> debbugs.gnu.org; Fri, 22 Oct 2021 11:06:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1mdw7m-0001dH-EO for 2520 <at> debbugs.gnu.org; Fri, 22 Oct 2021 11:06:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Vo0SjefJ/94Hmd+OFpaYWW+T8w8E6tvsKT5rbS7FDv4=; b=Mopot4RtHxJizRRgRR6rIvgOOF 1nilpUuIWaSFfONHKV3MZVkpTdo7Nj0hLo+Y8UgW2R7j2boFxSeG9WagoRNwrWuX7gkuhy/5RX4Et SjnpktEIri8NhcmaDLlAD9RZd9UzTEvBTsFpDVXjA/uoSyVwULIk+9qYDuop7HunmuWw=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1mdw7b-0006J1-E8; Fri, 22 Oct 2021 17:06:17 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> <8736gff81m.fsf@HIDDEN> <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> <jwv1r4d9sl5.fsf-monnier+emacs@HIDDEN> <878rylf93b.fsf@HIDDEN> <jwv4k99p0lu.fsf-monnier+emacs@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUjGxotJSZOR07/ //8trI8JAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UKFg4TLZsxAJ4AAAFASURBVCjPdZKxTsQwDIZt qVmYitQw8DSJRPYW5Y/E7Te0j8EjINrhZopUPyV22uO4gQxNvjr2/8cJ0W04Iv6Fhu6G7/8DdweZ z5iRdwKP0HENthRuxVsHtFXFNnsDOoCooz8Q9oztmkxNIjHRxwoDTZ86wcJNSyOIB1jYgYCUai1W UMHe9HxWSyxz9e3QG2zVJJtZPslqISDozyeRJZi/rOCKiE7o8mB1JpEYwahNAyR2MVQbWmha4JPf LbtSLjEomAhnbFr5hZAYkdy4DTCjVXoSpLhDVh9fIdEKFZ31swVPYmNRqU29jaov73OR76SFHxQ+ 1iKreeMKJ80zyWfdZlCgbeThdTki2XprK8CRHTmWwDj31ngmBP8WbZFblz3VO3UU+r23vZ6RnCYc 7yZZK8NxdU77fbwKZnNgwK219wferm6PhYYHpQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMC0y MlQxNDoxOTo0NSswMDowMJsQ0mcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTAtMjJUMTQ6MTk6 NDUrMDA6MDDqTWrbAAAAAElFTkSuQmCC X-Now-Playing: Helen Money's _Atomic_: "Many Arms" Date: Fri, 22 Oct 2021 17:06:09 +0200 In-Reply-To: <jwv4k99p0lu.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Fri, 22 Oct 2021 10:59:30 -0400") Message-ID: <87ilxpcd5q.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier <monnier@HIDDEN> writes: > 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? The use case is that you're ssh-ing in to an Emacs running on a machine, and you want to communicate with that Emacs (because it has all the information you absolutely need right now in *scratch*), bu [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 2520 Cc: Andreas Schwab <schwab@HIDDEN>, rfrancoise@HIDDEN, Stefan Kangas <stefan@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> writes: > 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? The use case is that you're ssh-ing in to an Emacs running on a machine, and you want to communicate with that Emacs (because it has all the information you absolutely need right now in *scratch*), but you haven't set up emacs-server on it yet. (Any similarity to something that's happened to me a dozen times is purely coincidental.) So if you could put (server-start) in ~/.emacs and send it SIGUSR, that'd be nice. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 22 Oct 2021 14:59:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 22 10:59:47 2021 Received: from localhost ([127.0.0.1]:33598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mdw1L-0001Pi-5B for submit <at> debbugs.gnu.org; Fri, 22 Oct 2021 10:59:47 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:64565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1mdw1D-0001PO-1m for 2520 <at> debbugs.gnu.org; Fri, 22 Oct 2021 10:59:42 -0400 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) 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== 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) From: Stefan Monnier <monnier@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP Message-ID: <jwv4k99p0lu.fsf-monnier+emacs@HIDDEN> References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> <8736gff81m.fsf@HIDDEN> <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> <jwv1r4d9sl5.fsf-monnier+emacs@HIDDEN> <878rylf93b.fsf@HIDDEN> Date: Fri, 22 Oct 2021 10:59:30 -0400 In-Reply-To: <878rylf93b.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Fri, 22 Oct 2021 16:05:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.034 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 2520 Cc: Andreas Schwab <schwab@HIDDEN>, rfrancoise@HIDDEN, Stefan Kangas <stefan@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Lars Ingebrigtsen [2021-10-22 16:05:44] wrote: > Stefan Monnier <monnier@HIDDEN> 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
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 22 Oct 2021 14:06:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 22 10:06:02 2021 Received: from localhost ([127.0.0.1]:33407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mdvBK-00060w-6F for submit <at> debbugs.gnu.org; Fri, 22 Oct 2021 10:06:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1mdvBF-00060L-Bg for 2520 <at> debbugs.gnu.org; Fri, 22 Oct 2021 10:06:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yQHqM+eEFHbv2QoTJvQrw0ouQjRYTTCsEgcoSRM1+Lw=; b=Alj5XDYAinmX4yjWBwhTIUfk8K IVEhmE5SblGDEEcMERCSkCsEKCWUCCNnetYsaDZ3ppigO3Os6BvjoQIbjOtBSfsQPOOgbQeYEgb15 m0rqudVIXRX9ITPCFHSoFHN/IJV7jEsBt/YkGb/qg/68seOKtV692SW3KweCs+CcL9rk=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1mdvB4-00047R-JS; Fri, 22 Oct 2021 16:05:48 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> <8736gff81m.fsf@HIDDEN> <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> <jwv1r4d9sl5.fsf-monnier+emacs@HIDDEN> X-Now-Playing: Nothing But Software's _Neo-Boulder is Wherever you Take Me_: "This Old House" Date: Fri, 22 Oct 2021 16:05:44 +0200 In-Reply-To: <jwv1r4d9sl5.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Fri, 22 Oct 2021 08:03:40 -0400") Message-ID: <878rylf93b.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier <monnier@HIDDEN> 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 2520 Cc: Andreas Schwab <schwab@HIDDEN>, rfrancoise@HIDDEN, Stefan Kangas <stefan@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> 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.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 22 Oct 2021 12:03:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 22 08:03:54 2021 Received: from localhost ([127.0.0.1]:59612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mdtH7-0001yl-Vr for submit <at> debbugs.gnu.org; Fri, 22 Oct 2021 08:03:54 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:27556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1mdtH3-0001yR-7F for 2520 <at> debbugs.gnu.org; Fri, 22 Oct 2021 08:03:52 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2AD8280784; Fri, 22 Oct 2021 08:03:43 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9C939803FC; Fri, 22 Oct 2021 08:03:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1634904221; bh=PqcDcWk/GzXp1FF9k0zktawLcwkw6rhyEpdwzBoz0OE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=olFK3af4EoK7I0eEnKrK3oL4ubrTAZN/ftjmWH7oiq1W25eygZ2SqylUGCZ3R12pp jjGY04u96VLN0SKu8eT+OQ11o7h6nGbBOlmMbJbeXBtZ2A94bNPyZP8/XP8vv4pL3C qlqseFG/984alKl541YG8E6dj2wi52MZIqZK0+mlaC8T3Y2oyVxNw0da1lX+mepHZm QMhq+n71ErPjhsGG1utCm1mJotFJv7S0kpy+KXC+WwMguum2pTpmOEgPMNP8FrBOXI ardvne7CO6UhNX1jV4L3YKLx2Pb/zLGo/QiDTh5Q4VSuzQGlIe2aRhB9yzGXdDByU4 pAPbj4FENrXLw== Received: from milanesa (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2C62612025D; Fri, 22 Oct 2021 08:03:41 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Stefan Kangas <stefan@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP Message-ID: <jwv1r4d9sl5.fsf-monnier+emacs@HIDDEN> References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> <8736gff81m.fsf@HIDDEN> <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> Date: Fri, 22 Oct 2021 08:03:40 -0400 In-Reply-To: <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> (Stefan Kangas's message of "Fri, 22 Oct 2021 02:19:21 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.064 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 2520 Cc: rfrancoise@HIDDEN, Lars Ingebrigtsen <larsi@HIDDEN>, Andreas Schwab <schwab@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Kangas [2021-10-22 02:19:21] wrote: > Lars Ingebrigtsen <larsi@HIDDEN> writes: >> Andreas Schwab <schwab@HIDDEN> writes: >>> On Sep 29 2019, Lars Ingebrigtsen <larsi@HIDDEN> wrote: >>>> It's definitely something I could have used a number of times... and >>>> re-reading init files on SIGHUP isn't an unusual thing to do. >>> But only for demons. Normally a process receives SIGHUP if its >>> controlling terminal goes away. >> Yeah, that's true. >> 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] <...>) -- Stefan
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 22 Oct 2021 09:19:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 22 05:19:31 2021 Received: from localhost ([127.0.0.1]:59469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mdqi2-00058V-VC for submit <at> debbugs.gnu.org; Fri, 22 Oct 2021 05:19:31 -0400 Received: from mail-pl1-f173.google.com ([209.85.214.173]:44619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1mdqhz-00057x-Tu for 2520 <at> debbugs.gnu.org; Fri, 22 Oct 2021 05:19:28 -0400 Received: by mail-pl1-f173.google.com with SMTP id t11so2265887plq.11 for <2520 <at> debbugs.gnu.org>; Fri, 22 Oct 2021 02:19:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=36ToYAk4gZ4JNa6INx1yDop6bNzW7U0chrP7Rpar6TQ=; b=12pfsO+kyoqUFhix5rJ+jxe7g6ayij4YKW2+HXQBkiWPYoDoC2vX74c8bGhL/SGSx3 ptWUq5+ft0NkL9JXlIDl8muktfYq43L9fJ9cLr/+cFmtoQQClNupLNnRcYEzyJW4aaMv 7ZQToNlYA2mbPw6mSl4mz+DD2fUXYjGgJ2spPLgSF/AKhIma/yiCIHdNgtINqFiiUVYS 6unHydpJ3n3nGY7Ac4ZFPWGKaypsGPEMR8u836WqKbHJSemaVY2SEXgt160je1aho6T8 LzhgSCg50SYxV/BxIWnUIr71kmMjauAFnCsMb7yEmPsWh8ozMPRa8Rzgc86EKG4ikcgM xevg== X-Gm-Message-State: AOAM532i4EptDR+J0AuFHvuuv8fkXilHOIPFlz5HgfYWdbZ77MOGQsU2 U1Gv8Gbfe4thij6qfH6AP3glfPYVBGXFXpMJhAoP37eU X-Google-Smtp-Source: ABdhPJzdq1TnxCHCWfItsJTntCbnS+WlLuckuwPYn6MEjnUpAxO/zEjC8lxj2Y7aKKozBkS6vAoPxMKgSvpBIE8Ig9w= X-Received: by 2002:a17:90a:c70d:: with SMTP id o13mr13135690pjt.143.1634894362353; Fri, 22 Oct 2021 02:19:22 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 22 Oct 2021 02:19:21 -0700 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <8736gff81m.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sun, 29 Sep 2019 17:15:17 +0200") References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> <8736gff81m.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Date: Fri, 22 Oct 2021 02:19:21 -0700 Message-ID: <CADwFkmm_5meOkU-7DgpcvBpKg_HhpuRbKNgnkByU4U-+fcDhFQ@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP To: Lars Ingebrigtsen <larsi@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 2520 Cc: rfrancoise@HIDDEN, Andreas Schwab <schwab@HIDDEN>, Stefan Monnier <monnier@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) Lars Ingebrigtsen <larsi@HIDDEN> writes: > Andreas Schwab <schwab@HIDDEN> writes: > >> On Sep 29 2019, Lars Ingebrigtsen <larsi@HIDDEN> wrote: >> >>> It's definitely something I could have used a number of times... and >>> re-reading init files on SIGHUP isn't an unusual thing to do. >> >> But only for demons. Normally a process receives SIGHUP if its >> controlling terminal goes away. > > Yeah, that's true. > > I guess SIGUSR1 and 2 are also taken... So do we actually want to do anything here? Simply re-reading the configuration comes with its own set of complications for us.
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 29 Sep 2019 15:15:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 29 11:15:25 2019 Received: from localhost ([127.0.0.1]:55524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iEauy-00063I-6A for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 11:15:25 -0400 Received: from quimby.gnus.org ([80.91.231.51]:57084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1iEaux-00061j-2k for 2520 <at> debbugs.gnu.org; Sun, 29 Sep 2019 11:15:23 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1iEaur-0002Kw-SR; Sun, 29 Sep 2019 17:15:21 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Andreas Schwab <schwab@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> <87lfu7nq1t.fsf@HIDDEN> Date: Sun, 29 Sep 2019 17:15:17 +0200 In-Reply-To: <87lfu7nq1t.fsf@HIDDEN> (Andreas Schwab's message of "Sun, 29 Sep 2019 16:19:10 +0200") Message-ID: <8736gff81m.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab <schwab@HIDDEN> writes: > On Sep 29 2019, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > >> It's definitely something I could have used a number of times... and >> re-reading init files on SIGHUP isn't an unusual thing to do. > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 2520 Cc: rfrancoise@HIDDEN, Stefan Monnier <monnier@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Andreas Schwab <schwab@HIDDEN> writes: > On Sep 29 2019, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > >> It's definitely something I could have used a number of times... and >> re-reading init files on SIGHUP isn't an unusual thing to do. > > But only for demons. Normally a process receives SIGHUP if its > controlling terminal goes away. Yeah, that's true. I guess SIGUSR1 and 2 are also taken... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 29 Sep 2019 14:19:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 29 10:19:16 2019 Received: from localhost ([127.0.0.1]:55355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iEa2d-0006S0-VS for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 10:19:16 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:51267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <whitebox@HIDDEN>) id 1iEa2c-0006Rq-6n for 2520 <at> debbugs.gnu.org; Sun, 29 Sep 2019 10:19:14 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46h7282pcbz1rMkT; Sun, 29 Sep 2019 16:19:12 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46h72810VKz1qqkH; Sun, 29 Sep 2019 16:19:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 7peAEfb_kmmP; Sun, 29 Sep 2019 16:19:11 +0200 (CEST) X-Auth-Info: BomPbDSNAzvHiA6lbxFQkoq4KlKE0ETX3ijDS1i0ta2o2OwxxzpFhZDissKthHO4 Received: from igel.home (ppp-46-244-165-209.dynamic.mnet-online.de [46.244.165.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 29 Sep 2019 16:19:11 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 9711A2C0203; Sun, 29 Sep 2019 16:19:10 +0200 (CEST) From: Andreas Schwab <schwab@HIDDEN> To: Lars Ingebrigtsen <larsi@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> <87muenjj9x.fsf@HIDDEN> X-Yow: Not SENSUOUS... only ``FROLICSOME''... and in need of DENTAL WORK... in PAIN!!! Date: Sun, 29 Sep 2019 16:19:10 +0200 In-Reply-To: <87muenjj9x.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sun, 29 Sep 2019 15:59:06 +0200") Message-ID: <87lfu7nq1t.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 2520 Cc: rfrancoise@HIDDEN, Stefan Monnier <monnier@HIDDEN>, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On Sep 29 2019, Lars Ingebrigtsen <larsi@HIDDEN> wrote: > It's definitely something I could have used a number of times... and > re-reading init files on SIGHUP isn't an unusual thing to do. But only for demons. Normally a process receives SIGHUP if its controlling terminal goes away. Andreas. -- Andreas Schwab, schwab@HIDDEN GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Received: (at 2520) by debbugs.gnu.org; 29 Sep 2019 13:59:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 29 09:59:12 2019 Received: from localhost ([127.0.0.1]:55315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iEZjE-0001pe-1j for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 09:59:12 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1iEZjC-0001pW-Af for 2520 <at> debbugs.gnu.org; Sun, 29 Sep 2019 09:59:10 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1iEZj8-0001Xt-Fb; Sun, 29 Sep 2019 15:59:08 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP References: <E1LdheD-00046c-No@HIDDEN> <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> Date: Sun, 29 Sep 2019 15:59:06 +0200 In-Reply-To: <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> (Stefan Monnier's message of "Sun, 01 Mar 2009 17:50:05 -0500") Message-ID: <87muenjj9x.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier <monnier@HIDDEN> writes: >> 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 2520 Cc: rfrancoise@HIDDEN, cmr.Pent@HIDDEN, 2520 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Monnier <monnier@HIDDEN> writes: >> 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". So the suggestion here is to make Emacs re-read ~/.emacs on SIGHUP. I think that sounds like a useful feature -- it would allow you to, for instance, ssh in to a machine, put (server-start) in ~/.emacs, and then SIGHUP the Emacs process you want to talk to. It's definitely something I could have used a number of times... and re-reading init files on SIGHUP isn't an unusual thing to do. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
bug-gnu-emacs@HIDDEN
:bug#2520
; Package emacs
.
Full text available.Stefan Monnier <monnier@HIDDEN>
to control@HIDDEN
.
Full text available.Received: (at 2520) by emacsbugs.donarmstrong.com; 1 Mar 2009 22:50:16 +0000 From monnier@HIDDEN Sun Mar 1 14:50:16 2009 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.5 required=4.0 tests=HAS_BUG_NUMBER, VALID_BTS_CONTROL,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n21Mo7Ik001056; Sun, 1 Mar 2009 14:50:08 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkQFAOefqklFxIQh/2dsb2JhbACBWdJrhBoGg3k X-IronPort-AV: E=Sophos;i="4.38,285,1233550800"; d="scan'208";a="34559445" Received: from 69-196-132-33.dsl.teksavvy.com (HELO ceviche.home) ([69.196.132.33]) by ironport2-out.teksavvy.com with ESMTP; 01 Mar 2009 17:50:01 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 3FC3AB419A; Sun, 1 Mar 2009 17:50:05 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> To: cmr.Pent@HIDDEN Cc: 2520 <at> debbugs.gnu.org, rfrancoise@HIDDEN Subject: Re: bug#2520: 23.0.91; Dies on SIGHUP Message-ID: <jwv8wnoq2tm.fsf-monnier+emacsbugreports@HIDDEN> References: <E1LdheD-00046c-No@HIDDEN> Date: Sun, 01 Mar 2009 17:50:05 -0500 In-Reply-To: <E1LdheD-00046c-No@HIDDEN> (pent@HIDDEN's message of "Sun, 01 Mar 2009 12:07:45 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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
Stefan Monnier <monnier@HIDDEN>
:Emacs Bugs <bug-gnu-emacs@HIDDEN>
.
Full text available.bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>
:bug#2520
; Package emacs
.
Full text available.Chong Yidong <cyd@HIDDEN>
to control@HIDDEN
.
Full text available.Received: (at submit) by emacsbugs.donarmstrong.com; 1 Mar 2009 09:08:00 +0000 From pent@HIDDEN Sun Mar 1 01:08:00 2009 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2197ufg019167 for <submit@HIDDEN>; Sun, 1 Mar 2009 01:07:57 -0800 Received: from mail.gnu.org ([199.232.76.166]:52516 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from <pent@HIDDEN>) id 1Ldhc6-0001PP-Hp for emacs-pretest-bug@HIDDEN; Sun, 01 Mar 2009 04:05:34 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from <pent@HIDDEN>) id 1LdheI-0006F2-GW for emacs-pretest-bug@HIDDEN; Sun, 01 Mar 2009 04:07:54 -0500 Received: from aparamon.static.corbina.ru ([89.179.245.94]:61757 helo=neo.paramonovs) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <pent@HIDDEN>) id 1LdheI-0006Em-5D for emacs-pretest-bug@HIDDEN; Sun, 01 Mar 2009 04:07:50 -0500 Received: from pent by neo.paramonovs with local (Exim 4.69) (envelope-from <pent@HIDDEN>) id 1LdheD-00046c-No; Sun, 01 Mar 2009 12:07:45 +0300 To: emacs-pretest-bug@HIDDEN CC: rfrancoise@HIDDEN Subject: 23.0.91; Dies on SIGHUP Reply-To: cmr.Pent@HIDDEN Message-Id: <E1LdheD-00046c-No@HIDDEN> From: pent <pent@HIDDEN> Date: Sun, 01 Mar 2009 12:07:45 +0300 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) To reproduce: 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. I'm pretty sure previous snapshot versions used to work that way. I'm ready to provide any additional info, Andrey In GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.12.12) of 2009-02-28 on elegiac, modified by Debian (emacs-snapshot package, version 1:20090228-1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.91/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.91/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ru_RU.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: delete-selection-mode: t show-paren-mode: t pc-selection-mode: t pretty-control-l-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent messages: Loading /etc/emacs/site-start.d/50w3m-el.el (source)...done Loading /etc/emacs/site-start.d/50w3m-el-snapshot.el (source)...done Loading /etc/emacs/site-start.d/51debian-el.el (source)...done Loading /etc/emacs/site-start.d/99pp-c-l.el (source)...done Loading gnus...done Loading pc-select...done Loading paren...done Starting Emacs daemon. When done with this frame, type C-x 5 0 Making completion list... [3 times]
cmr.Pent@HIDDEN
:Emacs Bugs <bug-gnu-emacs@HIDDEN>
.
Full text available.bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>
:bug#2520
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.