From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8549: 23.3; Undocumented setting of eval-expression-debug-on-error Date: Fri, 15 Jul 2011 15:18:15 +0200 Message-ID: References: <83tydmbh1y.fsf@cs.bham.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310735981 17675 80.91.229.12 (15 Jul 2011 13:19:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 13:19:41 +0000 (UTC) Cc: 8549@debbugs.gnu.org To: Uday S Reddy Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 15:19:35 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhiIl-0005nk-OZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 15:19:31 +0200 Original-Received: from localhost ([::1]:34997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhiIl-0001FI-0L for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 09:19:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhiIO-0001EH-J6 for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 09:19:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhiIJ-0001FT-JE for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 09:19:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhiIJ-0001FN-8p for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 09:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhiII-0004wY-Tf; Fri, 15 Jul 2011 09:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2011 13:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8549 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8549-submit@debbugs.gnu.org id=B8549.131073593018978 (code B ref 8549); Fri, 15 Jul 2011 13:19:02 +0000 Original-Received: (at 8549) by debbugs.gnu.org; 15 Jul 2011 13:18:50 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhiI2-0004vx-3f for submit@debbugs.gnu.org; Fri, 15 Jul 2011 09:18:50 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhiHq-0004vO-Al for 8549@debbugs.gnu.org; Fri, 15 Jul 2011 09:18:39 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhiHd-0001VG-TW; Fri, 15 Jul 2011 15:18:21 +0200 In-Reply-To: <83tydmbh1y.fsf@cs.bham.ac.uk> (Uday S. Reddy's message of "Mon, 25 Apr 2011 14:23:53 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joni Mitchell's _Ladies of the Canyon_: "Willy" X-Hashcash: 1:23:110715:u.s.reddy@cs.bham.ac.uk::rzZ86l/lR/1jA6Ka:00000000000000000000000000000000000000PmsD X-Hashcash: 1:23:110715:8549@debbugs.gnu.org::WFt4ZfGbv8OMjJYw:000000000000000000000000000000000000000014n9y X-MailScanner-ID: 1QhiHd-0001VG-TW MailScanner-NULL-Check: 1311340702.27564@Wus7aY2MtiNIPWXsDWFp6w X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Jul 2011 09:19:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49126 Archived-At: Uday S Reddy 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/