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#65267: 30.0.50; modifying debug-ignored-errors during startup with --debug-init is broken, bug#65267: 30.0.50; modifying debug-ignored-errors during startup with --debug-init is broken Date: Thu, 17 Aug 2023 19:05:55 +0300 Message-ID: <837cpt64d8.fsf@gnu.org> References: <20230813095429+0200.5928-stepnem@smrk.net> <20230813190826+0200.765169-stepnem@smrk.net> <83v8de581n.fsf@gnu.org> <83h6ox6bnk.fsf@gnu.org> <20230817161619+0200.191251-stepnem@smrk.net> <20230813095429+0200.5928-stepnem@smrk.net> <20230813095429+0200.5928-stepnem@smrk.net> <20230813190826+0200.765169-stepnem@smrk.net> <83v8de581n.fsf@gnu.org> <83h6ox6bnk.fsf@gnu.org> <20230817161619+0200.191251-stepnem@smrk.net> <83bkf568rf.fsf@gnu.org> <83bkf568rf.fsf@gnu.org> <20230817175259+0200.372333-stepnem@smrk.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25248"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65267@debbugs.gnu.org, monnier@iro.umontreal.ca, npostavs@users.sourceforge.net To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 17 18:07:05 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 1qWfWZ-0006Ob-Vq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Aug 2023 18:07:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWfVk-0005Qx-Vd; Thu, 17 Aug 2023 12:06:13 -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 1qWfVa-0005Lm-OY for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 12:06:03 -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 1qWfVa-0005NA-Ga for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 12:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWfVZ-0004uH-S9 for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2023 12:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2023 16:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65267 X-GNU-PR-Package: emacs Original-Received: via spool by 65267-submit@debbugs.gnu.org id=B65267.169228835718849 (code B ref 65267); Thu, 17 Aug 2023 16:06:01 +0000 Original-Received: (at 65267) by debbugs.gnu.org; 17 Aug 2023 16:05:57 +0000 Original-Received: from localhost ([127.0.0.1]:45399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWfVV-0004tx-AP for submit@debbugs.gnu.org; Thu, 17 Aug 2023 12:05:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWfVR-0004tb-PH for 65267@debbugs.gnu.org; Thu, 17 Aug 2023 12:05:56 -0400 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 1qWfVL-0005GE-Ie; Thu, 17 Aug 2023 12:05:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OcFvwjb2zMASrwfXeGbmlsk1yUKBh0sssnMr3HY+4xI=; b=d1FBM79Bpk5t9Sjz2+k8 7YpO2I6Lqq4SDPq1X5Vi48i9c1eSyf2mzUAM45qnxc1+lgB13s/rFLuplbysnaV8IRhp+BER3RzcA qosqr/p66t1oFHWXgHzCffp8qoSJgVuhdbDDVuy/hHNFqyemDfrxfI8DlSactIctreItDHjinygpr UT7u6D/Vk4azyhDAbAl/KhLhM1Vx8oddAVPPkA3EkqDYPCven93nrj68um/1X7b5OAANavt4nF1pC jf36SzJCiObCCH8WWePuoy9juYHQapbpDq7EZ+Qpt3MCGkBCd4BBsYB/+ZRInyyeXnG9czfDovNzp Of7ahI5WXerbtw==; In-Reply-To: <20230817175259+0200.372333-stepnem@smrk.net> (message from =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= on Thu, 17 Aug 2023 17:52:59 +0200) 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:267676 Archived-At: > From: Štěpán Němec > Cc: 65267@debbugs.gnu.org, monnier@iro.umontreal.ca, > npostavs@users.sourceforge.net > Date: Thu, 17 Aug 2023 17:52:59 +0200 > > As you said, debug-ignored-errors is a user variable. So some people > are likely to change it, and some (most?) of those people will do that > from their init file. I don't see how adding vs removing is any > different in that respect. I agree, I'm just saying that removing from the list, and using --debug-init at the same time is beyond obscure. > As for --debug-init, why would anyone (who knows about that option and > cares about their setup) routinely start Emacs *without* it? I would actually ask the opposite: why would someone run with that option except when they need to debug their init files? It's a debugging option. I'm quite sure that if you poll Emacs users, you will find that the vast majority doesn't routinely use that option. Exactly like most of the users don't routinely run Emacs under GDB. > >> Have you considered my humble suggestion of reverting to pre-bug#64163 > >> state and simply removing end-of-file from the default value of > >> debug-ignored-errors? > > > > Yes. This cannot fly, since we had end-of-file there for a long time > > (I see it in Emacs 20). > > I only wish someone would put forth an actual argument for having > end-of-file on debug-ignored-errors. It no longer matters, since that ship has sailed in Sep 1996, if not earlier. > I agree backward compatibility/preserving behavior is important, but I > hope you'll agree that some behavior changes are more > serious/visible/disruptive/whatever than others, and I'd argue that in > that sense, messing with user option modification during startup is a > worse change than removing end-of-file from debug-ignored-errors. If we "mess" with the options and restore them back to their user-defined value at the end of startup, the "mess" is not that awful a felony. During startup, Emacs "messes" with some options anyway, e.g., those that need to be re-evaluated more than once, to support the user changing the environment via init file settings. So it isn't like there's no precedent for "messing" with user options. And let me remind you that this bug report was triggered by "messing" with user options by a certain package. > So if we're again back to blessing the breakage, I suggest it at least > be documented. I don't think I have a clear idea of what aspects of this you think we need to document. Please elaborate.