From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be Date: Thu, 13 Oct 2022 21:03:19 +0200 Message-ID: <87czav7dhk.fsf@gnus.org> References: <2A45406C-33B5-4A42-88F8-001D53C7351D@gmail.com> <87a661avtc.fsf@gnus.org> <875ygpavg0.fsf@gnus.org> <87a6609qpk.fsf@gnus.org> <62256137-3560-472D-93BF-D353A44D1D56@gmail.com> <87bkqg87n0.fsf@gnus.org> <83v8oo9frg.fsf@gnu.org> <87y1tk6jtz.fsf@gnus.org> <57149AFB-4F02-4561-9B19-1AB39C1FAE5E@gmail.com> <83k053afhn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="939"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , mwelinder@gmail.com, 58440@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 21:27:22 2022 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 1oj3rV-000AbX-PT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 21:27:21 +0200 Original-Received: from localhost ([::1]:50578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj3rU-0007s1-KU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 15:27:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj3V5-0002ov-4J for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 15:04:22 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj3Uw-00051k-41 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 15:04:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oj3Uv-0002Ox-MR for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 15:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 19:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58440 X-GNU-PR-Package: emacs Original-Received: via spool by 58440-submit@debbugs.gnu.org id=B58440.16656878179197 (code B ref 58440); Thu, 13 Oct 2022 19:04:01 +0000 Original-Received: (at 58440) by debbugs.gnu.org; 13 Oct 2022 19:03:37 +0000 Original-Received: from localhost ([127.0.0.1]:34963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj3UX-0002OG-Hl for submit@debbugs.gnu.org; Thu, 13 Oct 2022 15:03:37 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:37836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj3UT-0002O1-KO for 58440@debbugs.gnu.org; Thu, 13 Oct 2022 15:03:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=ZdIrdesga/YQo/tPvuUcY4KpDmHsxymWUqkUnW+cL48=; b=ciRf4X4PHsWcaj1Juy0yd5JIrK +c0QQ0WrD/XzXBTtUFcndi1D5clojXQtIhT8GuNDOfgrweIa1aQK54xAaBPO0UqTBVgmYaRftsLxK 3+/ccgUo07CsWB4AsSt+bFrKmpNS8MeGy1uFrPE4xjpda7md0FBHZzq8GqEYs5skuy+4=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oj3UJ-0006ik-EN; Thu, 13 Oct 2022 21:03:26 +0200 In-Reply-To: <83k053afhn.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 13 Oct 2022 18:51:48 +0300") X-Now-Playing: Arovane's _Atol Scrap_: "norvum (2021 Remaster)" 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:245343 Archived-At: Eli Zaretskii writes: >> > I'm proposing that we exit on a non-zero value if and when we decide to >> > exit after a SIGKILL. >>=20 >> Done! > > That was AFAIU a proposal for discussion, not a request to make the > change right there and then. I think that was a joke. =F0=9F=98=80 Eli Zaretskii writes: > How do you see that we exit with zero status now? I mean, not by > looking what the shell says, but by tracing the code which handles > SIGINT? I'd like to see what code we are talking about before making > up my mind about the change you propose. I haven't been able to follow the interrupt handling logic (after looking at it for a couple minutes), so I don't know.