From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#67862: 30.0.50; Handler-bind and ert-test-error-debug Date: Fri, 02 Feb 2024 18:44:35 -0500 Message-ID: References: <87o7czkegk.fsf@neverwas.me> <87ttmqh2er.fsf@neverwas.me> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1421"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 67862@debbugs.gnu.org, Christian Ohler To: "J.P." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 03 00:45:12 2024 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 1rW3Db-00009Q-GK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Feb 2024 00:45:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rW3DI-0003Y4-OF; Fri, 02 Feb 2024 18:44:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rW3DH-0003Xw-9E for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 18:44:51 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rW3DH-0006jk-16 for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 18:44:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rW3DR-0000B1-OE for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 18:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Feb 2024 23:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67862 X-GNU-PR-Package: emacs Original-Received: via spool by 67862-submit@debbugs.gnu.org id=B67862.1706917498653 (code B ref 67862); Fri, 02 Feb 2024 23:45:01 +0000 Original-Received: (at 67862) by debbugs.gnu.org; 2 Feb 2024 23:44:58 +0000 Original-Received: from localhost ([127.0.0.1]:45673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rW3DO-0000AS-1r for submit@debbugs.gnu.org; Fri, 02 Feb 2024 18:44:58 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:1310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rW3DL-0000AB-Q8 for 67862@debbugs.gnu.org; Fri, 02 Feb 2024 18:44:56 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A77FC1003E3; Fri, 2 Feb 2024 18:44:37 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1706917476; bh=qzsAqMGQbdDOgMZ/2haoQZQCDHkBqcBKRRV3FBvEfDw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ZmExp7HSnJ7IuhL30fRWMSjXCzE3cpfhFGZaMMCGJqCn6Oznf1zGy/M5mCExbKzaV jyNUOsKNy9rjedWc16/muriwZ6W/jfU2hLOny7VBiQMjQ9xfMhp2EsQxKILqQGlL5l HdptUjzQhxgGqEmQ5MfsKNa/zMbi96CYjJ/xzu/GNJPpwUXNKQ3+CtfZDti59+xKwv AXYU3Oe6JWy+eCHL5ZWjUKmjm/5T7sLDKJujnnxVq5Hk4UIEF9yspWh21Jof0souDq 1quE5P1jrifwBGpUObZJmftzYPqagaC4LnF6SK8MwRTq3XLStp13/h2jO5A4mciq41 U2xEVNMpvj+Xw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 9AF451003BC; Fri, 2 Feb 2024 18:44:36 -0500 (EST) Original-Received: from pastel (69-165-153-17.dsl.teksavvy.com [69.165.153.17]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7253C120387; Fri, 2 Feb 2024 18:44:36 -0500 (EST) In-Reply-To: <87ttmqh2er.fsf@neverwas.me> (J. P.'s message of "Fri, 02 Feb 2024 15:28:12 -0800") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279356 Archived-At: >> For `my-timer`, on the other hand, hmm... > > For this one, enabling `debug-on-error' at least seems to restore the > original behavior in terms of exiting nonzero, which should free users > from having to grep for "Error running timer" in the output of passing > tests. Not getting a backtrace, or ERT not noticing that there was an error is "normal": which errors are detected and which aren't is subtly different and it's hard to argue that the old way was better (it has upsides and downsides). But inf-looping definitely counts as a bug in my book (since the `with-timeout` should rule it out) and I don't have an explanation for it. Any help debugging it would be welcome. Stefan