bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9463: 24.0.50; Errors should not be continuable


From: Helmut Eller
Subject: bug#9463: 24.0.50; Errors should not be continuable
Date: Thu, 08 Sep 2011 20:13:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

* Stefan Monnier [2011-09-08 13:31] writes:

>> 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.

c should only continue from truly continuable situations, like
breakpoints.

Helmut






reply via email to

[Prev in Thread] Current Thread [Next in Thread]