From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11218: with-demoted-errors use of condition-case-unless-debug; ert Date: Sun, 06 May 2012 21:12:10 -0400 Message-ID: References: <4F8DE112.5010106@gnu.org> <4F90D369.7070005@gnu.org> <4F91CEEF.20305@gnu.org> <4FA6C6B3.7010403@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336353194 4017 80.91.229.3 (7 May 2012 01:13:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 May 2012 01:13:14 +0000 (UTC) Cc: 11218@debbugs.gnu.org To: Christian Ohler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 07 03:13:11 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SRCVi-0006tw-4d for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 May 2012 03:13:10 +0200 Original-Received: from localhost ([::1]:50484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRCVh-0006oF-7b for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 May 2012 21:13:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRCVe-0006nC-Hu for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 21:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRCVc-0003WI-R6 for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 21:13:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRCVc-0003WD-Nl for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 21:13:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SRCXW-0008PV-5y for bug-gnu-emacs@gnu.org; Sun, 06 May 2012 21:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 May 2012 01:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11218 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11218-submit@debbugs.gnu.org id=B11218.133635325632259 (code B ref 11218); Mon, 07 May 2012 01:15:02 +0000 Original-Received: (at 11218) by debbugs.gnu.org; 7 May 2012 01:14:16 +0000 Original-Received: from localhost ([127.0.0.1]:38972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SRCWm-0008OG-Gy for submit@debbugs.gnu.org; Sun, 06 May 2012 21:14:16 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:42016) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SRCWl-0008O2-5L for 11218@debbugs.gnu.org; Sun, 06 May 2012 21:14:15 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApYIACxOgk9FxLCA/2dsb2JhbABDuCMDgQyBCIIJAQEEAVYjBQsLNBIUGA0kLoduBbYyi2GEeQSkRYFdgwM X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="178657775" Original-Received: from 69-196-176-128.dsl.teksavvy.com (HELO pastel.home) ([69.196.176.128]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 May 2012 21:12:10 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B22685916D; Sun, 6 May 2012 21:12:10 -0400 (EDT) In-Reply-To: <4FA6C6B3.7010403@gnu.org> (Christian Ohler's message of "Sun, 06 May 2012 11:45:07 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59828 Archived-At: > Collecting additional information about why the test failed is useful > to virtually everyone who bothers running the test; there should be no > reason not to. I disagree here. I think it's just as well if the "check" and the "debug" are done in 2 different steps. > The proper solution is to decouple the behaviors, perhaps by splitting > the variable, perhaps by some other means. No, the proper solution is to make with-demoted-error (when run with debug-on-error) continue execution (after hitting `c' in the debugger) as if debug-on-error were nil. Stefan