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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Héctor Enríquez Ramón <hector.e.r <at> gmail.com>
Subject: bug#31734: closed (Re: bug#31718: 26.1; Strange behavior of `cond')
Date: Sat, 16 Jun 2018 16:46:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#31718: 26.1; byte-compile differs with cond eq 'default

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 31734 <at> debbugs.gnu.org.

-- 
31718: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31718
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: robert-emacs <at> cochranmail.com, 31718-done <at> debbugs.gnu.org, schwab <at> suse.de,
 pierre.techoueyres <at> free.fr, npostavs <at> gmail.com, vibhavp <at> gmail.com,
 contovob <at> tcd.ie, jaygkamat <at> gmail.com, ikumi <at> ikumi.que.jp, hector.e.r <at> gmail.com
Subject: Re: bug#31718: 26.1; Strange behavior of `cond'
Date: Sat, 16 Jun 2018 09:45:47 -0700
Eli Zaretskii wrote:
> If it's a regression, then let's backport, indeed.

OK, done, and closing the bug report.

[Message part 3 (message/rfc822, inline)]
From: Héctor Enríquez Ramón <hector.e.r <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; byte-compile differs with cond eq 'default
Date: Wed, 6 Jun 2018 12:38:51 +0200
[Message part 4 (text/plain, inline)]
Hi.

The code below shows opposite behavior byte-compiled:

(setq variable 0)
(cond
 ((eq variable 'default)
  (message "equal"))
 (t
  (message "not equal")))

Not byte-compiled output: not equal
Byte-compiled output: equal

Thank you very much.

Best regards. Hector
[Message part 5 (text/html, inline)]

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.