GNU bug report logs -
#19212
24.3; Signaled error doesn't show `error-message'
Previous Next
Reported by: dfsr <at> riseup.net (Diogo F. S. Ramos)
Date: Fri, 28 Nov 2014 19:55:02 UTC
Severity: minor
Tags: notabug
Found in version 24.3
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19212 in the body.
You can then email your comments to 19212 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19212
; Package
emacs
.
(Fri, 28 Nov 2014 19:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
dfsr <at> riseup.net (Diogo F. S. Ramos)
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 28 Nov 2014 19:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
According to (info "(elisp) Error Symbols"), the following sequence of
forms should signal an error with the string "A new error: x, y":
(put 'new-error
'error-conditions
'(error my-own-errors new-error))
(put 'new-error 'error-message "A new error")
(signal 'new-error '(x y))
Instead, I got the following in the debugger:
Debugger entered--Lisp error: (new-error x y)
signal(new-error (x y))
eval((signal (quote new-error) (quote (x y))) nil)
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
I evaluated each form inside `*scratch*' using C-x C-e.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19212
; Package
emacs
.
(Fri, 08 Dec 2017 01:33:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 19212 <at> debbugs.gnu.org (full text, mbox):
tags 19212 notabug
close 19212
quit
dfsr <at> riseup.net (Diogo F. S. Ramos) writes:
> According to (info "(elisp) Error Symbols"), the following sequence of
> forms should signal an error with the string "A new error: x, y":
>
> (put 'new-error
> 'error-conditions
> '(error my-own-errors new-error))
> (put 'new-error 'error-message "A new error")
> (signal 'new-error '(x y))
>
> Instead, I got the following in the debugger:
>
> Debugger entered--Lisp error: (new-error x y)
> signal(new-error (x y))
> eval((signal (quote new-error) (quote (x y))) nil)
> eval-last-sexp-1(nil)
> eval-last-sexp(nil)
> call-interactively(eval-last-sexp nil nil)
>
> I evaluated each form inside `*scratch*' using C-x C-e.
C-x C-e runs the command eval-last-sexp (found in global-map), [...]
If ‘eval-expression-debug-on-error’ is non-nil, which is the default,
this command arranges for all errors to enter the debugger.
If you use M-x eval-region instead, then your message will show up. Or
hit 'c' to continue after the debugger pops up, the message will be
there.
Added tag(s) notabug.
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Fri, 08 Dec 2017 01:33:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
19212 <at> debbugs.gnu.org and dfsr <at> riseup.net (Diogo F. S. Ramos)
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Fri, 08 Dec 2017 01:33:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 05 Jan 2018 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 172 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.