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#44942: 28.0.50; Emacs should print a backtrace on uncaught errors in batch mode Date: Mon, 07 Dec 2020 12:42:14 +0200 Message-ID: <1DC46C7A-D0A8-4B92-84FE-3ABA2F6A6624@gnu.org> References: <83lfeaan04.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="26562"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: 44942@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 07 11:43:37 2020 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 1kmDzU-0006pZ-U6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 11:43:36 +0100 Original-Received: from localhost ([::1]:36120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmDzS-0003Xz-Uu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 05:43:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmDyw-0003XH-HW for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 05:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmDyw-00017M-AS for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 05:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmDyw-0000ID-9B for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 05:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Dec 2020 10:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44942 X-GNU-PR-Package: emacs Original-Received: via spool by 44942-submit@debbugs.gnu.org id=B44942.16073377481059 (code B ref 44942); Mon, 07 Dec 2020 10:43:02 +0000 Original-Received: (at 44942) by debbugs.gnu.org; 7 Dec 2020 10:42:28 +0000 Original-Received: from localhost ([127.0.0.1]:52544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmDyO-0000H1-AT for submit@debbugs.gnu.org; Mon, 07 Dec 2020 05:42:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmDyL-0000Go-Vd for 44942@debbugs.gnu.org; Mon, 07 Dec 2020 05:42:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51955) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmDyG-0000rh-Md; Mon, 07 Dec 2020 05:42:20 -0500 Original-Received: from [2a02:14f:1fe:9a65::bee7:aea5] (port=35950) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kmDyE-0003q0-DA; Mon, 07 Dec 2020 05:42:19 -0500 In-Reply-To: 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:195217 Archived-At: On December 7, 2020 12:29:16 PM GMT+02:00, Philipp Stephani wrote: > Am So=2E, 6=2E Dez=2E 2020 um 18:00 Uhr schrieb Eli Zaretskii > : > > > > > From: Philipp Stephani > > > Date: Sun, 6 Dec 2020 17:50:17 +0100 > > > > > > Am So=2E, 29=2E Nov=2E 2020 um 16:27 Uhr schrieb Philipp Stephani > > > : > > > > > > > Pushed to master as commit 40e11743ca=2E > > > > This is an incompatible change=2E >=20 > Is it? In other words, do we guarantee that no stack trace is being > printed if debug-on-error is nil? I'd say that parsing error messages > is brittle anyway, and we're not obliged to provide stable output The behavior did change=2E Since Emacs doesn't have a formal spec its lo= ng-time behavior is a de-facto standard we should strive hard not to break= =2E As Stefan just pointed out, this change already broke 2 tests if we n= eed any proof=2E > > Is there a way to get back previous > > behavior? If so, please mention that in NEWS; if not, let's please > > provide a way to get back the old behavior=2E >=20 > I'd be OK adding a variable for this, but on the other hand I'm not > really convinced that this is really a breaking change (see above)=2E Yes, we do need to be able to get back the old bdhavior=2E