all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Uday S Reddy <u.s.reddy@cs.bham.ac.uk>
Cc: 8549@debbugs.gnu.org
Subject: bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error
Date: Fri, 15 Jul 2011 15:18:15 +0200	[thread overview]
Message-ID: <m3k4bjbs2w.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <83tydmbh1y.fsf@cs.bham.ac.uk> (Uday S. Reddy's message of "Mon,  25 Apr 2011 14:23:53 +0100")

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/





  reply	other threads:[~2011-07-15 13:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2011-07-15 15:53   ` Uday S Reddy
2011-07-15 16:12   ` Uday S Reddy
2016-07-11  3:29     ` npostavs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3k4bjbs2w.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=8549@debbugs.gnu.org \
    --cc=u.s.reddy@cs.bham.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.