GNU bug report logs - #65267
30.0.50; modifying debug-ignored-errors during startup with --debug-init is broken

Previous Next

Package: emacs;

Reported by: Štěpán Němec <stepnem <at> smrk.net>

Date: Sun, 13 Aug 2023 09:35:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Štěpán Němec <stepnem <at> smrk.net>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: 65267 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, monnier <at> iro.umontreal.ca, npostavs <at> users.sourceforge.net
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 20:36:23 +0200
On Thu, 17 Aug 2023 18:31:34 +0000
Gregory Heytings wrote:

>>> (delq 'end-of-file debug-ignored-errors)
>>
>> Maybe you know something about `delq' I do not, but I always use 
>> something like
>>
>> (setq debug-ignored-errors (delq 'end-of-file debug-ignored-errors))
>>
>> instead.  (See the documentation of `delq'.)
>>
>
> Indeed it's safer to write it that way, but the setq is in fact
> necessary only when the element you want to remove is the first
> element of the list, which isn't the case here.

I didn't know that, thank you.  (I can't imagine a situation where I
would consider relying on that implementation detail a good idea,
though.)

-- 
Štěpán




This bug report was last modified 1 year and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.