GNU bug report logs - #75593
31.0.50; Faulty macro kills Emacs

Previous Next

Package: emacs;

Reported by: Alexander Prähauser <ahprae <at> protonmail.com>

Date: Wed, 15 Jan 2025 19:01:01 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #32 received at 75593 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: ahprae <at> protonmail.com, mattiase <at> acm.org, monnier <at> iro.umontreal.ca,
 75593 <at> debbugs.gnu.org
Subject: Re: bug#75593: 31.0.50; Faulty macro kills Emacs
Date: Thu, 16 Jan 2025 14:47:54 +0200
> Date: Thu, 16 Jan 2025 12:08:37 +0000
> From: Pip Cet <pipcet <at> protonmail.com>
> Cc: monnier <at> iro.umontreal.ca, mattiase <at> acm.org, ahprae <at> protonmail.com, 75593 <at> debbugs.gnu.org
> 
> >> (Also, this is not primarily about circular lists, it's about non-lists
> >> in general).
> >
> > That should be easy to detect up front, no?  I thought the issue was
> > about a cons cell vs a proper list.
> 
> Sorry, but I don't see a way of checking that we're looking at a proper
> list that's cheaper that list_length: we need to find the last cons
> cell, so we need to walk the list, and counting cells while we're doing
> so should not affect performance.

No, I meant to detect objects that are not CONSP, but something else:
a number, a symbol, a string, etc.  I thought this was what you meant
by "non-lists".




This bug report was last modified 155 days ago.

Previous Next


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