unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error
@ 2011-04-25 13:23 Uday S Reddy
  2011-07-15 13:18 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Uday S Reddy @ 2011-04-25 13:23 UTC (permalink / raw)
  To: 8549; +Cc: U.S.Reddy

There is a tricky variable called `eval-expression-debug-on-error' which
I didn't notice till recently.

It is getting set automatically in lisp-interaction-mode and in the Lisp
debugger.  The manual doesn't say anywhere that this is being done.

I would prefer that it doesn't get set automatically, given that it has a
tricky behavior.  In the light of my previous bug report #8548 that the
debugger can't exit recursive editing levels, making any kind of typing
mistake while working with the debugger puts it in a recursive editing level
where it gets stuck.

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8548

If you don't want to change the lisp-interaction-mode and the debugger-mode,
can you at least document it in the manual that the variable gets set in
these modes so that the users can unset it in the mode-hooks?  I have
suffered for several years needlessly.

(By the way, edebug doesn't seem to set the variable.)

Cheers,
Uday




In GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600)
 of 2011-03-10 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Buffer Menu

Minor modes in effect:
  savehist-mode: t
  which-function-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<return> C-x C-b C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n <return> C-a C-x y C-x C-g M-x r e p o r t 
- e m a c s - b u SPC <return>

Recent messages:
d:/Home/udr/.authinf: 0% (0/231)
d:/Home/udr/.authinf: 100% (231/231)
Sending...
Sending via mail...
d:/Home/udr/.authinf: 0% (0/231)
d:/Home/udr/.authinf: 100% (231/231)
d:/Home/udr/.authinf: 0% (0/231)
d:/Home/udr/.authinf: 100% (231/231)
Sending...done
Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help.
Quit

Load-path shadows:
d:/Home/udr/share/emacs/sml-mode hides d:/gnu/emacs-23.3/../site-lisp/sml-mode
d:/Home/udr/share/emacs/savehist-20+ hides d:/gnu/emacs-23.3/../site-lisp/savehist-20+
d:/gnu/emacs-23.3/../site-lisp/longlines hides d:/gnu/emacs-23.3/lisp/longlines
d:/gnu/vm/trunk/lisp/cus-load hides d:/gnu/emacs-23.3/lisp/cus-load
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org hides d:/gnu/emacs-23.3/lisp/org/org
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-xoxo hides d:/gnu/emacs-23.3/lisp/org/org-xoxo
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-wl hides d:/gnu/emacs-23.3/lisp/org/org-wl
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-w3m hides d:/gnu/emacs-23.3/lisp/org/org-w3m
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-vm hides d:/gnu/emacs-23.3/lisp/org/org-vm
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-timer hides d:/gnu/emacs-23.3/lisp/org/org-timer
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-table hides d:/gnu/emacs-23.3/lisp/org/org-table
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-src hides d:/gnu/emacs-23.3/lisp/org/org-src
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-rmail hides d:/gnu/emacs-23.3/lisp/org/org-rmail
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-remember hides d:/gnu/emacs-23.3/lisp/org/org-remember
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-publish hides d:/gnu/emacs-23.3/lisp/org/org-publish
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-protocol hides d:/gnu/emacs-23.3/lisp/org/org-protocol
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-plot hides d:/gnu/emacs-23.3/lisp/org/org-plot
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mouse hides d:/gnu/emacs-23.3/lisp/org/org-mouse
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mobile hides d:/gnu/emacs-23.3/lisp/org/org-mobile
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mhe hides d:/gnu/emacs-23.3/lisp/org/org-mhe
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mew hides d:/gnu/emacs-23.3/lisp/org/org-mew
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-macs hides d:/gnu/emacs-23.3/lisp/org/org-macs
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mac-message hides d:/gnu/emacs-23.3/lisp/org/org-mac-message
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-list hides d:/gnu/emacs-23.3/lisp/org/org-list
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-latex hides d:/gnu/emacs-23.3/lisp/org/org-latex
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-jsinfo hides d:/gnu/emacs-23.3/lisp/org/org-jsinfo
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-irc hides d:/gnu/emacs-23.3/lisp/org/org-irc
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-install hides d:/gnu/emacs-23.3/lisp/org/org-install
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-inlinetask hides d:/gnu/emacs-23.3/lisp/org/org-inlinetask
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-info hides d:/gnu/emacs-23.3/lisp/org/org-info
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-indent hides d:/gnu/emacs-23.3/lisp/org/org-indent
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-id hides d:/gnu/emacs-23.3/lisp/org/org-id
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-icalendar hides d:/gnu/emacs-23.3/lisp/org/org-icalendar
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-html hides d:/gnu/emacs-23.3/lisp/org/org-html
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-habit hides d:/gnu/emacs-23.3/lisp/org/org-habit
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-gnus hides d:/gnu/emacs-23.3/lisp/org/org-gnus
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-freemind hides d:/gnu/emacs-23.3/lisp/org/org-freemind
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-footnote hides d:/gnu/emacs-23.3/lisp/org/org-footnote
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-feed hides d:/gnu/emacs-23.3/lisp/org/org-feed
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-faces hides d:/gnu/emacs-23.3/lisp/org/org-faces
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-exp hides d:/gnu/emacs-23.3/lisp/org/org-exp
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-exp-blocks hides d:/gnu/emacs-23.3/lisp/org/org-exp-blocks
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-docbook hides d:/gnu/emacs-23.3/lisp/org/org-docbook
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-datetree hides d:/gnu/emacs-23.3/lisp/org/org-datetree
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-crypt hides d:/gnu/emacs-23.3/lisp/org/org-crypt
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-compat hides d:/gnu/emacs-23.3/lisp/org/org-compat
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-colview hides d:/gnu/emacs-23.3/lisp/org/org-colview
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-clock hides d:/gnu/emacs-23.3/lisp/org/org-clock
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-bibtex hides d:/gnu/emacs-23.3/lisp/org/org-bibtex
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-bbdb hides d:/gnu/emacs-23.3/lisp/org/org-bbdb
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-attach hides d:/gnu/emacs-23.3/lisp/org/org-attach
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-ascii hides d:/gnu/emacs-23.3/lisp/org/org-ascii
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-archive hides d:/gnu/emacs-23.3/lisp/org/org-archive
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-agenda hides d:/gnu/emacs-23.3/lisp/org/org-agenda
d:/Home/udr/share/emacs/rnews hides d:/gnu/emacs-23.3/lisp/obsolete/rnews

Features:
(mule-util smtpmail gnus-msg gnus-art mm-uu mml2015 mm-view smime dig
gnus-sum nnoo gnus-group gnus-undo nnmail mail-source format-spec gnus-start
gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems vm-crypto vm-imap
newcomment shadow sort message ecomplete mml mml-sec password-cache
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp
ietf-drums nnheader mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
hashcash emacsbug mail-utils mailalias vm-reply u-vm-color my-vm vc-bzr sha1
hex-util etags ps-print ps-def lpr vm-save vm-ps-print vm-rfaddons vm-menu
vm-window vm-toolbar vm-folder vm-mime vm-undo vm-virtual vm-summary-faces
vm-mouse vm-page vm-minibuf vm-message vm-misc vm-macro bbdb-vm vm-summary
vm-motion vm-autoload bbdb-snarf mail-extr rfc822 bbdb-com mailabbrev vm
debug cus-start cus-load pp multi-isearch help-mode view info easymenu
warnings server w3m-load bbdb-autoloads bbdb timezone vm-autoloads
vm-version vm-vars org-install autopair advice help-fns advice-preload
easy-mmode cl cl-19 savehist tex-site tex-mik telnet movement natural-space
NatSpeak sendmail auth-source gnus-util netrc time-date epa-file epa epg
epg-config ange-ftp regexp-opt comint ring echistory chistory ehelp electric
derived which-func imenu edmacro kmacro jka-compr tooltip ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook
help simple abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process multi-tty emacs)

-- 





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

* bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error
  2011-04-25 13:23 bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error Uday S Reddy
@ 2011-07-15 13:18 ` Lars Magne Ingebrigtsen
  2011-07-15 15:53   ` Uday S Reddy
  2011-07-15 16:12   ` Uday S Reddy
  0 siblings, 2 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-15 13:18 UTC (permalink / raw)
  To: Uday S Reddy; +Cc: 8549

Uday S Reddy <u.s.reddy@cs.bham.ac.uk> writes:

> There is a tricky variable called `eval-expression-debug-on-error' which
> I didn't notice till recently.
>
> It is getting set automatically in lisp-interaction-mode and in the Lisp
> debugger.  The manual doesn't say anywhere that this is being done.
>
> I would prefer that it doesn't get set automatically, given that it has a
> tricky behavior.  In the light of my previous bug report #8548 that the
> debugger can't exit recursive editing levels, making any kind of typing
> mistake while working with the debugger puts it in a recursive editing level
> where it gets stuck.
>
>   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8548
>
> If you don't want to change the lisp-interaction-mode and the debugger-mode,
> can you at least document it in the manual that the variable gets set in
> these modes so that the users can unset it in the mode-hooks?  I have
> suffered for several years needlessly.

I've now mentioned this in the manual, but I've been trying to grep
through the code and see why/where this is done, and I'm coming up
empty.

Does anybody know?  And is this a feature or a bug?
`eval-expression-debug-on-error' doesn't sound like something that
should affect `M-x debug', and the other `eval-expression-' variables
are not heeded by doing `M-x debug'.  So it seems inconsistent and
somewhat confusing.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

* bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error
  2011-07-15 13:18 ` Lars Magne Ingebrigtsen
@ 2011-07-15 15:53   ` Uday S Reddy
  2011-07-15 16:12   ` Uday S Reddy
  1 sibling, 0 replies; 5+ messages in thread
From: Uday S Reddy @ 2011-07-15 15:53 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: Uday S Reddy, 8549

Dear Lars, thanks for your help with Emacs bugs!  In response to my other
related bug report, #8548, Stefan said that "this part of the C code was
changed recently".  I haven't checked the development version yet.  I will
do so now.

Cheers,
Uday





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

* bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error
  2011-07-15 13:18 ` Lars Magne Ingebrigtsen
  2011-07-15 15:53   ` Uday S Reddy
@ 2011-07-15 16:12   ` Uday S Reddy
  2016-07-11  3:29     ` npostavs
  1 sibling, 1 reply; 5+ messages in thread
From: Uday S Reddy @ 2011-07-15 16:12 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: Uday S Reddy, 8549

Ok, Checked the development branch as of 2011-06-13.  The variable
`eval-expression-debug-on-error' continues to get set.

On the other hand, exit-recursive-edit is working from the recursive
debugger entry.  So the bug report #8548 can be closed.

Cheers,
Uday





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

* bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error
  2011-07-15 16:12   ` Uday S Reddy
@ 2016-07-11  3:29     ` npostavs
  0 siblings, 0 replies; 5+ messages in thread
From: npostavs @ 2016-07-11  3:29 UTC (permalink / raw)
  To: Uday S Reddy; +Cc: Lars Magne Ingebrigtsen, 8549

tags 8549 fixed
close 8549
quit

Uday S Reddy <u.s.reddy@cs.bham.ac.uk> writes:

> Ok, Checked the development branch as of 2011-06-13.  The variable
> `eval-expression-debug-on-error' continues to get set.

I don't understand what is meant by the variable getting "set".  Its
default value is t, and has been since it was first introduced in
b49df39d (1999-09-14 "(eval-expression-print-level): New variable....").

It was added to the manual in 66249842 (2011-07-15 "(Using Debugger):
Mention @code{eval-expression-debug-on-error}") which says it fixes this
bug, so I'm closing it now.





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

end of thread, other threads:[~2016-07-11  3:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-25 13:23 bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error Uday S Reddy
2011-07-15 13:18 ` Lars Magne Ingebrigtsen
2011-07-15 15:53   ` Uday S Reddy
2011-07-15 16:12   ` Uday S Reddy
2016-07-11  3:29     ` npostavs

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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