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 08:34:47 +0200 Message-ID: <87a6609qpk.fsf@gnus.org> References: <2A45406C-33B5-4A42-88F8-001D53C7351D@gmail.com> <87a661avtc.fsf@gnus.org> <875ygpavg0.fsf@gnus.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="20582"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58440@debbugs.gnu.org, Morten Welinder , Eli Zaretskii To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 08:46:56 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 1oirzb-000568-GG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 08:46:55 +0200 Original-Received: from localhost ([::1]:33412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oirza-0001Ns-9x for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 02:46:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiro6-0001v3-NH for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 02:35:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiro5-0003t2-W5 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 02:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiro5-00015I-P5 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 02:35: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 06:35: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.16656429004158 (code B ref 58440); Thu, 13 Oct 2022 06:35:01 +0000 Original-Received: (at 58440) by debbugs.gnu.org; 13 Oct 2022 06:35:00 +0000 Original-Received: from localhost ([127.0.0.1]:59087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiro3-00014z-Sk for submit@debbugs.gnu.org; Thu, 13 Oct 2022 02:35:00 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:59466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiro2-00014m-Cp for 58440@debbugs.gnu.org; Thu, 13 Oct 2022 02:34:58 -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=/XFiRDxF+FXkY4bUudydEtWveLvdEa3Y9WSAzZOdnOo=; b=kfZK/kwmQdklr7xKhgsziDj5ml zvduhSjLlh5yAa/BOmOLdyQKrZdDrrzyyhJIJvf9Vp3TaEy+BtahX5pNqHl/7LZgUkzXngAspfAmT J2wlvwg7vFo3rZ00PVIzzNL+3nwQ0x46z+5SauN344s3YlYCFgP2WpAJRaDFJD5Y0GIk=; 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 1oirnt-0005K0-QU; Thu, 13 Oct 2022 08:34:51 +0200 In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Wed, 12 Oct 2022 19:39:11 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXR0MuAf31OTU3/ //8fmzB2AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YKDQYbFANy8RYAAAFVSURBVCjPTdKxTsMwEAbg /6I4opmCRJHSHUTzFI7UdmDy0A7NxACoyVOABBJjQChSmTokqL6nxGfTKh5sf7J9PucCIGdpWwPX 1LPMbdMKGv4Rdd9uTtz5bYMgsZB5Pz86pEcS6HTrMDtEsoBkL3gtuCoNonfB/Ywz0qCVgLUFuahf HswboNp8SjR3O+uIl4LE3cdtxGbwGUhk4t6G3Kqhp21W+6z3arN2460AH77HzRiFlv5ijEnAfIw7 jFd8n46RAOv4DI06B+oTCvfRbECLqQt7PEFaH+AHCkgtcW0uw7ZZRU8GV/9IJat1uGebaGVol3tM qVet2k10gCUXUnnExEtzfSCPRc7d4KrokdXc7bnUmYetpFovfoW44sHiIeTGK4vHM0ouWxx0QMu/ Gv4hk4j7hkFvEq1I5G9BtCApSRlKH2clqCnrxr1SKRhQRU3tDsfKZH96SXyAqR/HgQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0xMC0xM1QwNjoyNzoyMCswMDowMLG1kZ0AAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMTAtMTNUMDY6Mjc6MjArMDA6MDDA6CkhAAAAAElFTkSuQmCC X-Now-Playing: Rival Consoles's _Kid Velo_: "Kid Velo" 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:245267 Archived-At: Mattias Engdeg=C3=A5rd writes: > 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. That's true. Perhaps it'd be instructive to check what other GUI programs return on SIGINT? Let's see... gimp returned non-zero. So did xterm. And so did xeyes. 100% non-zero. =F0=9F=98=81