From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67196: M-: uses a wrong value of debug-on-error when it is nil. Date: Sat, 25 Nov 2023 17:50:09 +0200 Message-ID: <83y1elbzny.fsf@gnu.org> References: <83ttpbdm2f.fsf@gnu.org> <83il5qe00e.fsf@gnu.org> <83edgecce4.fsf@gnu.org> <8334wuc7cn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31991"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67196@debbugs.gnu.org, monnier@iro.umontreal.ca To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 25 16:51:12 2023 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 1r6uw4-00086y-6T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Nov 2023 16:51:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6uvs-0003UR-E0; Sat, 25 Nov 2023 10:51:00 -0500 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 1r6uvq-0003UE-8l for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 10:50:58 -0500 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 1r6uvq-0004cc-0K for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 10:50:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6uvu-0003tc-Je for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 10:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Nov 2023 15:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67196 X-GNU-PR-Package: emacs Original-Received: via spool by 67196-submit@debbugs.gnu.org id=B67196.170092745314959 (code B ref 67196); Sat, 25 Nov 2023 15:51:02 +0000 Original-Received: (at 67196) by debbugs.gnu.org; 25 Nov 2023 15:50:53 +0000 Original-Received: from localhost ([127.0.0.1]:40052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6uvl-0003tD-6w for submit@debbugs.gnu.org; Sat, 25 Nov 2023 10:50:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6uvh-0003sv-GT for 67196@debbugs.gnu.org; Sat, 25 Nov 2023 10:50:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6uvT-0004Wc-Tm; Sat, 25 Nov 2023 10:50:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=f5aWEIsZ1S63+Mw8H2Eh5k6tSt2iUHarr2Ev48uzCL8=; b=CkYZc/ljyeqm 2D61aWSrF591X+ozKtHGr1U8HQkNqXbvn2vUkhPm9NyyETe/eNRYBmymSQMBAs2WERvF7fJ5ryHPK CH4lDaSKVne75TJ1ikegPPTSNcNzgnN6Ww4rejo/yp6+B+4OIQ7XGQhClh/U2eG/ILrvr+adO66/E J9otD3r36SVjU44TzfwyYxt5ySiXl2D1f6I31a1sYuu5C1oCMwvWrXg0T7FniKnPwlgvBvftIJq/m doVK2MVa44NOHrfKWi9s1CqVQ1TROPCaw4uc2VRe18TbPING8lwwtDsIukBhdeV29mFd/hm3cip+v v4syTm8ghFzQ46Zk1Qpf3A==; In-Reply-To: (message from Alan Mackenzie on Sat, 25 Nov 2023 14:14:59 +0000) 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:274993 Archived-At: > Date: Sat, 25 Nov 2023 14:14:59 +0000 > Cc: monnier@iro.umontreal.ca, 67196@debbugs.gnu.org, acm@muc.de > From: Alan Mackenzie > > > No, I meant with the current code debug-on-error is set to t whenever > > eval-expression-debug-on-error is non-nil, .... > > Yes. > > > .... and your change sets it to the same value as > > eval-expression-debug-on-error instead. > > That is not what is meant to happen. We are miscommunicating. > Instead, the new internal variable > debug-from--eval-expression gets set to e-e-debug-on-error. Exactly. And that value can be non-nil, but also not t. That is the change I see, and your doc string suggests that it is intentional. Thus, we have a behavior change wrt to the value that the body of eval-expression will see. And non-nil, non-t values have special meaning there.