unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* debug-on-error always t??
@ 2011-10-25  0:25 Oleksandr Gavenko
  2011-10-25  1:01 ` S Boucher
  2011-10-25  1:06 ` Glenn Morris
  0 siblings, 2 replies; 3+ messages in thread
From: Oleksandr Gavenko @ 2011-10-25  0:25 UTC (permalink / raw)
  To: help-gnu-emacs

   $ runemacs -Q
M-: debug-on-error RET
 >> t
M-: (setq debug-on-error nil) RET
 >> nil
M-: debug-on-error RET
 >> t
debug-on-error С-x C-e
 >> t
C-x v debug-on-error RET
 >> debug-on-error is a variable defined in `C source code'.
 >> Its value is nil

Same with Emacs 23.3/21.3 and 23.3 from Cygwin.

Why it stay for t when "M-:"??

Is this error?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: debug-on-error always t??
  2011-10-25  0:25 debug-on-error always t?? Oleksandr Gavenko
@ 2011-10-25  1:01 ` S Boucher
  2011-10-25  1:06 ` Glenn Morris
  1 sibling, 0 replies; 3+ messages in thread
From: S Boucher @ 2011-10-25  1:01 UTC (permalink / raw)
  To: Oleksandr Gavenko, help-gnu-emacs@gnu.org





----- Original Message -----

> Same with Emacs 23.3/21.3 and 23.3 from Cygwin.
> 
> Why it stay for t when "M-:"??
> 
> Is this error?

I don't think so.

Do:

 C-hfeval-expression<RET>

You'll see:
--snip--
If `eval-expression-debug-on-error' is non-nil, which is the default,
this command arranges for all errors to enter the debugger.
--snip--

i.e. when you do eval expression, debug-on-error is temporarily set to t unless eval-expression-debug-on-error is set to false.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: debug-on-error always t??
  2011-10-25  0:25 debug-on-error always t?? Oleksandr Gavenko
  2011-10-25  1:01 ` S Boucher
@ 2011-10-25  1:06 ` Glenn Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-10-25  1:06 UTC (permalink / raw)
  To: Oleksandr Gavenko; +Cc: help-gnu-emacs

Oleksandr Gavenko wrote:

> C-x v debug-on-error RET
>>> debug-on-error is a variable defined in `C source code'.
>>> Its value is nil
>
> Same with Emacs 23.3/21.3 and 23.3 from Cygwin.
>
> Why it stay for t when "M-:"??

Because of eval-expression-debug-on-error, as discussed eg in
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8964#26 and subsequent
messages.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-25  1:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-25  0:25 debug-on-error always t?? Oleksandr Gavenko
2011-10-25  1:01 ` S Boucher
2011-10-25  1:06 ` Glenn Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).