From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.1 RC1: incipient insanity, or can't set debug-on-error. Date: Tue, 26 Jul 2016 21:47:35 +0000 Message-ID: <20160726214735.GB10926@acm.fritz.box> References: <20160726203450.GA10926@acm.fritz.box> <87k2g89kfy.fsf@turtle.gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1469569780 30629 80.91.229.3 (26 Jul 2016 21:49:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2016 21:49:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sven Joachim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 26 23:49:32 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bSAEE-0001zK-QG for ged-emacs-devel@m.gmane.org; Tue, 26 Jul 2016 23:49:30 +0200 Original-Received: from localhost ([::1]:42467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSAEE-000056-5O for ged-emacs-devel@m.gmane.org; Tue, 26 Jul 2016 17:49:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSADB-0007kQ-Bm for emacs-devel@gnu.org; Tue, 26 Jul 2016 17:48:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSAD7-0000Pj-3L for emacs-devel@gnu.org; Tue, 26 Jul 2016 17:48:24 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:45931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSAD6-0000OD-Pn for emacs-devel@gnu.org; Tue, 26 Jul 2016 17:48:21 -0400 Original-Received: (qmail 88468 invoked by uid 3782); 26 Jul 2016 21:48:17 -0000 Original-Received: from acm.muc.de (p548C77EC.dip0.t-ipconnect.de [84.140.119.236]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 26 Jul 2016 23:48:15 +0200 Original-Received: (qmail 11655 invoked by uid 1000); 26 Jul 2016 21:47:35 -0000 Content-Disposition: inline In-Reply-To: <87k2g89kfy.fsf@turtle.gmx.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206166 Archived-At: Hello, Sven. On Tue, Jul 26, 2016 at 11:08:17PM +0200, Sven Joachim wrote: > 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). Ah. I see this now. Thanks for clearing it up! > Cheers, > Sven -- Alan Mackenzie (Nuremberg, Germany).