GNU bug report logs - #31718
26.1; Strange behavior of `cond'

Previous Next

Package: emacs;

Reported by: Ikumi Keita <ikumi <at> ikumi.que.jp>

Date: Tue, 5 Jun 2018 06:27:02 UTC

Severity: normal

Tags: patch

Merged with 28806, 31734

Found in version 26.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Robert Cochran <robert-emacs <at> cochranmail.com>
Cc: Ikumi Keita <ikumi <at> ikumi.que.jp>,
 Pierre Téchoueyres <pierre.techoueyres <at> free.fr>,
 Noam Postavsky <npostavs <at> gmail.com>, 31718 <at> debbugs.gnu.org,
 "Basil L. Contovounesios" <contovob <at> tcd.ie>, Jay Kamat <jaygkamat <at> gmail.com>,
 Vibhav Pant <vibhavp <at> gmail.com>, Andreas Schwab <schwab <at> suse.de>,
 Eli Zaretskii <eliz <at> gnu.org>,
 Héctor Enríquez Ramón <hector.e.r <at> gmail.com>
Subject: Re: bug#31718: 26.1; Strange behavior of `cond'
Date: Sat, 16 Jun 2018 08:10:02 -0700
[Message part 1 (text/plain, inline)]
Robert, thanks for your June 6 patch in Bug#31718#14. A small problem: gensym 
does not guarantee that the resulting symbol is unique, so the generated symbol 
could in theory appear in the input which would trigger the bug. Instead, let's 
use a guaranteed-unique object (cons nil nil). Also, I wrote a test case for 
this bug.

I installed the attached patch into the master branch. Given the practical 
consequences of this bug I expect the bug fix should be backported into the 
emacs-26 branch too.
[0001-Fix-byte-compilation-of-eq-foo-default.txt (text/plain, attachment)]

This bug report was last modified 6 years and 342 days ago.

Previous Next


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