From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be Date: Wed, 12 Oct 2022 19:39:11 +0200 Message-ID: References: <2A45406C-33B5-4A42-88F8-001D53C7351D@gmail.com> <87a661avtc.fsf@gnus.org> <875ygpavg0.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58440@debbugs.gnu.org, Morten Welinder , Eli Zaretskii To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 19:40:27 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 1oifiV-0002Ib-AX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 19:40:27 +0200 Original-Received: from localhost ([::1]:41120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oifiT-00021q-PU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 13:40:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oifi8-00020Q-EA for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 13:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oifi6-0003ed-QZ for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 13:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oifi6-0004BA-H2 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 13:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2022 17:40:02 +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.166559636116010 (code B ref 58440); Wed, 12 Oct 2022 17:40:02 +0000 Original-Received: (at 58440) by debbugs.gnu.org; 12 Oct 2022 17:39:21 +0000 Original-Received: from localhost ([127.0.0.1]:58379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oifhQ-0004AA-Nz for submit@debbugs.gnu.org; Wed, 12 Oct 2022 13:39:21 -0400 Original-Received: from mail-lf1-f44.google.com ([209.85.167.44]:44800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oifhP-00049y-A6 for 58440@debbugs.gnu.org; Wed, 12 Oct 2022 13:39:19 -0400 Original-Received: by mail-lf1-f44.google.com with SMTP id s20so26793624lfi.11 for <58440@debbugs.gnu.org>; Wed, 12 Oct 2022 10:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=lfudbVp/q3MYB9uoBnX11By0KTXniqc0Cx1sdZcN3a0=; b=Vd5WIY0SMD+4kOIaoNE0x/B03jVpog4uesAwj1cviLQvqp55TBHRw07ybm2Zvjcox4 IbW3S1A3MOVfvml6CItV1zOPbK/TL6qqxSFmnL4nXRfIDZ00H6bj3x0/NLD1byx2FxJo a79lupUL0VJG69rs8SVMAmF5nOe8rZhoip1RlsU9E0Ay5EiiuZcKdRU2cbCrPU1KWjH5 sKFbz44P1OqcqpxTTqoZOEuSWTmFaQAG3X9DRw8yXFgtBctC4/voyjl3bhKEVb/6fOo3 aMcoTfhQqkzbIQWJHD2rAcpOI7aeAtS5DnSjk3W7ahJ/hdzlP446tLk1cGxUCdtkQZwp n5xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lfudbVp/q3MYB9uoBnX11By0KTXniqc0Cx1sdZcN3a0=; b=ziFgowWYLd1efNLLt/0JW3dPUP8F7pIIgQ48548Ei3ZE1sbWi1Db9foa7okLAzvv2h L5BMmBOGsNqoeZ7GtUnxPwazX+rFiVXCdMD81VOkA5B/i15y3RrFAyAbu8ZMKuxrRfFH 7XwlvUoAYGuNGlsGe3z6YM0+6Sq4l9UPGwlzI56fHPgA/a2d+u1AkhBRcc3EX+mwy33c oxqCai/sAOcni4UqnETNG1gpwZ89R5f7ujDxymZ1tPVFBRRdx+260tbZVY+r56OhCrBO Dd4CyDlQ9oatTAxbqLDvb0+0m8UACSs0jKGMj0ls/QbNoxqXu93b4ZJbptX3HFEkKKfG jSQw== X-Gm-Message-State: ACrzQf0oxWDVjoeqlNBxpWeL+N01ljntPDOyqQThEJYRIPcpQF4isds0 XVfFhb9HaNtag9HM5rXGsCc= X-Google-Smtp-Source: AMsMyM7AghizxK1aVEdyoCDx906jPrsW9d3Lcpo6Qibfla3cN3ZOd2W9BVSdBoXpZqkYeIyhQ3a6dw== X-Received: by 2002:a05:6512:3503:b0:496:517:5802 with SMTP id h3-20020a056512350300b0049605175802mr10596292lfs.83.1665596353145; Wed, 12 Oct 2022 10:39:13 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se. [188.150.171.209]) by smtp.gmail.com with ESMTPSA id v27-20020ac2561b000000b0049f54c5f2a4sm35614lfd.229.2022.10.12.10.39.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Oct 2022 10:39:12 -0700 (PDT) In-Reply-To: <875ygpavg0.fsf@gnus.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) 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:245239 Archived-At: 12 okt. 2022 kl. 17.54 skrev Lars Ingebrigtsen : > And anyway -- we do exit like we're supposed to, just not with the > correct value. So I'm not sure this is an explanation for this > behaviour? What the correct value is a matter of debate. For instance, it could be = argued that SIGINT to a GUI-only Emacs is to be interpreted as a 'please = terminate normally' message, in which the exit code 0 may be = appropriate. I have no strong opinion on what it should be (and am not defending = status quo); it doesn't seem very important but the original reporter = may disagree.