From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58440: 27.2; Exit Code on SIGINT is Zero, But shouldn't Be Date: Thu, 13 Oct 2022 13:31:15 +0300 Message-ID: <83v8oo9frg.fsf@gnu.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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18446"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattias.engdegard@gmail.com, mwelinder@gmail.com, 58440@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 12:33:47 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 1oivX8-0004eX-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 12:33:46 +0200 Original-Received: from localhost ([::1]:43474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oivX7-0000RP-Ku for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 06:33:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oivVT-0008Bf-IA for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 06:32:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oivVS-0007xf-Hf for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 06:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oivVS-0006FH-C0 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 06:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 10:32: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.166565707223933 (code B ref 58440); Thu, 13 Oct 2022 10:32:02 +0000 Original-Received: (at 58440) by debbugs.gnu.org; 13 Oct 2022 10:31:12 +0000 Original-Received: from localhost ([127.0.0.1]:59669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oivUe-0006Dx-0Y for submit@debbugs.gnu.org; Thu, 13 Oct 2022 06:31:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oivUb-0006Dg-Sm for 58440@debbugs.gnu.org; Thu, 13 Oct 2022 06:31:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oivUW-0007mF-KH; Thu, 13 Oct 2022 06:31:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=gz+SecIQ1JUe9T3sW+XHzp45+9FK9GGZGCfgJ6otceI=; b=rphKXfDMxWXZV5Py6yYG d96LUWA8yftgoeHUuzjsMtlb5CrpZ6oliGrximefmCzxgHzzRgveLwHpTuFzvgTTVFYs8glLzNTPs S4vbZYY2h/v7M/u3104e9aZMCxoXBZLCI5FqquLz5sbztv1BM3nWdRnAUJJRRyaeA4JTz6/urAaHv uJlYrTXAAc04vtM3HDzLUxN/upPP8Xei6ZZ1S/NBpuX/HIWxbQxdZPTNeP6a8oSTRmAeQY2wobZVf FZ/TTs+o73N6N09/iGWNNELcF4VmOhdosD43Ndypnof88sAMuKzpDiOLqvb/2MwJw8rb9EXLf6Ve5 C9CGDEIyxf2fAg==; Original-Received: from [87.69.77.57] (port=2946 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oivUT-0002f5-CB; Thu, 13 Oct 2022 06:31:04 -0400 In-Reply-To: <87bkqg87n0.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 13 Oct 2022 10:12:03 +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:245288 Archived-At: > From: Lars Ingebrigtsen > Cc: 58440@debbugs.gnu.org, Eli Zaretskii , Morten Welinder > > Date: Thu, 13 Oct 2022 10:12:03 +0200 > > Mattias EngdegÄrd writes: > > > Yes, it's the natural outcome in any normal GUI application that > > doesn't have Emacs's complicated relation to SIGINT. > > > > I certainly don't mind if you change Emacs in this respect. > > I think it'd make sense to change the exit code here -- it seems more > logical, and I think the potential for breakage is small. (I mean, > there may be people that have scripts that rely on Emacs having a zero > exit code on SIGINT, but it seems rather unlikely.) > > Anybody have any objections to making this change? What change did you have in mind? C-g should still raise SIGINT on TTY frames, so if that's the change you propose, I'm against it.