emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 25.1 RC1: incipient insanity, or can't set debug-on-error.


From: Sven Joachim
Subject: Re: Emacs 25.1 RC1: incipient insanity, or can't set debug-on-error.
Date: Tue, 26 Jul 2016 23:08:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

On 2016-07-26 20:34 +0000, Alan Mackenzie wrote:

> Hello, Emacs.
>
> Start RC1 with emacs -Q.
>
> M-: debug-on-error returns t.
> C-h v debug-on-error states that the variable has value nil.  How can
>   this be?
>
> M-: (setq debug-on-error nil) ; in buffer *scratch*, still.
> M-: debug-on-error returns t.  How can this be?

See the documentation for debug-on-error:

,----
| debug-on-error is a variable defined in ‘C source code’.
| Its value is nil
| 
| Documentation:
| [...]
| When you evaluate an expression interactively, this variable
| is temporarily non-nil if ‘eval-expression-debug-on-error’ is non-nil.
`----

> Why does this variable behave so strangely?  Or am I going mad?  Or,
> even both?  Should I submit a bug report for this?

Everything works as designed, AFAICS (by default,
eval-expression-debug-on-error is t).

Cheers,
       Sven



reply via email to

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