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: Fri, 24 Nov 2023 20:48:40 +0200 Message-ID: <83ttpbdm2f.fsf@gnu.org> References: <83a5rfq6i2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38353"; 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 Fri Nov 24 19:49:17 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 1r6bEp-0009dz-BL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Nov 2023 19:49:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6bEd-0000mx-Bd; Fri, 24 Nov 2023 13:49:03 -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 1r6bEY-0000hz-6i for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2023 13:48: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 1r6bEX-0007A5-HG for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2023 13:48:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6bEc-0007SG-2P for bug-gnu-emacs@gnu.org; Fri, 24 Nov 2023 13:49: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: Fri, 24 Nov 2023 18:49: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.170085173728639 (code B ref 67196); Fri, 24 Nov 2023 18:49:02 +0000 Original-Received: (at 67196) by debbugs.gnu.org; 24 Nov 2023 18:48:57 +0000 Original-Received: from localhost ([127.0.0.1]:37261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6bEX-0007Rq-0G for submit@debbugs.gnu.org; Fri, 24 Nov 2023 13:48:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6bEV-0007RM-6w for 67196@debbugs.gnu.org; Fri, 24 Nov 2023 13:48:55 -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 1r6bEJ-00078A-U8; Fri, 24 Nov 2023 13:48:44 -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=GYfqObDH7EPhSFpkVjuBEb4QMRaw31OPJPeTi4sla/0=; b=DBLU/pfrxPlf kg2H7NPYuIKHD7Zoo/K5b7nGsYq4Mn2f5oxuWfnRFraZmXgUZLCi/X9YRS16I9OaqeXgwvBRryOPR fZQ0wBCURwuLKHbwPjHImM+xS4nsV9ZxiKLvg61zP0vhZRyospyuAuf1SgjLz+/l82HdS7d1wgB4/ 1VpW/e/TPyD9ivyCNV3lRdqeAMsJ/wHA79MWS5S7vg/3n39r30Jd09VyCGABlMLPs47EoHp6DXUkZ 9PGNjAjAwLwrc/1s9Mj4N2pCD2BEcChwNt4FZ1ELqCHQgyoeKll7+oIkV+lXTnRo0wKuYwDQTqQFd FbElKlLKGipx1t6KxKgDew==; In-Reply-To: (message from Alan Mackenzie on Fri, 24 Nov 2023 17:10:47 +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:274880 Archived-At: > Date: Fri, 24 Nov 2023 17:10:47 +0000 > Cc: Eli Zaretskii , 67196@debbugs.gnu.org > From: Alan Mackenzie > > Firstly, though, there is a bug in the doc string of > eval-expression-debug-on-error: rather than stating what the meaning of > the variable is, what it's for, it states the low level details of how > it achieves the desired effect. This is needlessly restrictive. I > propose changing that doc string from: > > If non-nil set `debug-on-error' to t in `eval-expression'. > If nil, don't change the value of `debug-on-error'. > > to something like: > > Non-nil means enter debugger on an error in a call from `eval-expression'. > Does not apply to errors handled by `condition-case' or those > matched by `debug-ignored-errors'. > A nil value for this variable will not prevent an entry to > the debugger caused by other variables such as `debug-on-error'. First, the last two sentences above should be transposed, as the second one is not related to the 1st one, but the 3rd one is. And second, please try to reword so that the text is less complicated and easier to understand. Thanks.