From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#67196: M-: uses a wrong value of debug-on-error when it is nil. Date: Thu, 24 Oct 2024 21:33:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27393"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de To: 67196-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 24 23:34:59 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t45Tu-0006yq-QY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Oct 2024 23:34:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t45TW-0002Z2-4i; Thu, 24 Oct 2024 17:34:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t45TT-0002YT-SQ for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2024 17:34:31 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t45TT-0005ii-KA for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2024 17:34:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:In-Reply-To:MIME-Version:References:Date:To:Subject; bh=ViM3/F0ttRM8sil1pdhmaZ+HQo9R02dClZCIAKJ1yBA=; b=ZGtYNiKuWpU9wx38fIEpNvGwuo6t9gmoGTkpEA/XZmF9SIkLVJnP4DTjKLvQxaorMz/Us5ligDNRBTvSr437w7DA0TxFrfKl+TiuQ3eQu1Rv8jJXrsYgj/fsE/JLVqlbOnu5452+pX9gK1yO+B6zanpsltuG+J8XUccRyDw34AjCM+XwzTVfV/0wOT1+pSuMg9Mfeu2ACZK7H4z1O29937XXd1kQulhlOljn3jXLO8jsz73nWxdEYotv0q+/5R6qj6JTeNwXhTnCOfqz67+4I7m9dOfqGisWDo/5IuZQZWf8VccFevGeXA1Ir2TiZ/FSsfxSE/iJ0kIhT4JM888dXg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t45Ty-0001pH-Mj for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2024 17:35:02 -0400 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2024 21:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 67196 X-GNU-PR-Package: emacs Mail-Followup-To: 67196@debbugs.gnu.org, acm@muc.de, acm@muc.de Original-Received: via spool by 67196-done@debbugs.gnu.org id=D67196.17298056666947 (code D ref 67196); Thu, 24 Oct 2024 21:35:02 +0000 Original-Received: (at 67196-done) by debbugs.gnu.org; 24 Oct 2024 21:34:26 +0000 Original-Received: from localhost ([127.0.0.1]:36392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t45TN-0001ny-LS for submit@debbugs.gnu.org; Thu, 24 Oct 2024 17:34:25 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:15680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t45TK-0001nh-F5 for 67196-done@debbugs.gnu.org; Thu, 24 Oct 2024 17:34:23 -0400 Original-Received: (qmail 78839 invoked by uid 3782); 24 Oct 2024 23:33:42 +0200 Original-Received: from muc.de (pd953a0e2.dip0.t-ipconnect.de [217.83.160.226]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 24 Oct 2024 23:33:42 +0200 Original-Received: (qmail 1805 invoked by uid 1000); 24 Oct 2024 21:33:41 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294206 Archived-At: On Wed, Nov 15, 2023 at 13:48:40 +0000, Alan Mackenzie wrote: > Hello, Emacs. > On the master branch (and probably any recent Emacs): > (i) emacs -Q > (ii) C-h v debug-on-error RET > (iii) M-: debug-on-error RET > From (ii) it will be seen that debug-on-error's value is nil. > (iii) wrongly reports that its value is t. This is a bug. > ######################################################################### > What is happening here is that eval-expression binds debug-on-error to > an uninterned symbol called "t", so that d-o-e will be set to non-nil > for the evaluation of the coming form. > This has the unwanted side effect of ignoring the actual value of d-o-e > in forms which use it. For example, if the variable is set to a list of > error symbols, this value gets ignored on evaluating a form with M-:. This bug was fixed by the following commit: commit 7959a63ce258c90eb3c7947ab3318c5531eb37d9 Author: Stefan Monnier Date: Mon Dec 18 23:47:56 2023 -0500 (eval-expression): Fix bug#67196 by using the newly written handler-bind. -- Alan Mackenzie (Nuremberg, Germany).