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#9463: 24.0.50; Errors should not be continuable Date: Thu, 08 Sep 2011 22:23:09 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315535051 7984 80.91.229.12 (9 Sep 2011 02:24:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2011 02:24:11 +0000 (UTC) Cc: 9463@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 09 04:24:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R1qlA-0003wh-Me for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Sep 2011 04:24:04 +0200 Original-Received: from localhost ([::1]:54008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1qlA-00084e-1I for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2011 22:24:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1ql7-00084Z-AZ for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 22:24:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1ql6-00010p-CN for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 22:24:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1ql6-00010k-9g for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 22:24:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R1qoz-0004Kq-J1; Thu, 08 Sep 2011 22:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Sep 2011 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9463-submit@debbugs.gnu.org id=B9463.131553523416614 (code B ref 9463); Fri, 09 Sep 2011 02:28:01 +0000 Original-Received: (at 9463) by debbugs.gnu.org; 9 Sep 2011 02:27:14 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R1qoD-0004Ju-Dj for submit@debbugs.gnu.org; Thu, 08 Sep 2011 22:27:13 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R1qoB-0004Jo-R3 for 9463@debbugs.gnu.org; Thu, 08 Sep 2011 22:27:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAHJ3aU64rwMJ/2dsb2JhbABDqAN5gUYBAQQBViMFCws0EhQYDSSICLhNhm0EoCSEQA X-IronPort-AV: E=Sophos;i="4.68,353,1312171200"; d="scan'208";a="135261104" Original-Received: from 184-175-3-9.dsl.teksavvy.com (HELO ceviche.home) ([184.175.3.9]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 08 Sep 2011 22:23:09 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 6A489660B6; Thu, 8 Sep 2011 22:23:09 -0400 (EDT) In-Reply-To: (Helmut Eller's message of "Thu, 08 Sep 2011 20:13:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 08 Sep 2011 22:28:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50729 Archived-At: >>> emacs -Q -eval '(let ((debug-on-error t)) (error "foo"))' >>> enters the debugger. Pressing c somehow manages to continue. That make >>> no sense to me. The debugger should instead not continue and say >>> that errors are not continuable. >> >> "c" in errors now "continues" in the sense of "do what would have >> happened if the debugger had not been called". I.e. it will actually >> signal the error which can then be caught by condition-cases further up >> the stack, .... I.e. it's very similar to what happens with "q", but is >> often cleaner. > I think the "do what would have happened if the debugger had not been > called" thing should be a different command, like resignal or abort. Why? When the debugger is called in a non-error case, the "c" does just that "do whatever would have happened if the debug call had no taken place". > c should only continue from truly continuable situations, like > breakpoints. Again: why? Stefan PS: The change you seem to dislike is a bug-fix in my opinion, and it has fixed a few real problems (e.g. when you enter the debugger from within a minibuffer, you can now continue your minibuffer operation, whereas earlier you could only abort back to the top-level).