GNU bug report logs - #74215
(when 1) evaluates to 1 on latest master

Previous Next

Package: emacs;

Reported by: "Brennan Vincent" <brennan <at> umanwizard.com>

Date: Tue, 5 Nov 2024 18:01:01 UTC

Severity: normal

Done: Mattias Engdegård <mattias.engdegard <at> gmail.com>

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: Mattias Engdegård <mattias.engdegard <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#74215: closed ((when 1) evaluates to 1 on latest master)
Date: Wed, 06 Nov 2024 12:51:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 6 Nov 2024 13:49:12 +0100
with message-id <0069DE86-3702-4BAB-8630-15E38DC8F77A <at> gmail.com>
and subject line Re: bug#74215: (when 1) evaluates to 1 on latest master
has caused the debbugs.gnu.org bug report #74215,
regarding (when 1) evaluates to 1 on latest master
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
74215: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74215
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Brennan Vincent" <brennan <at> umanwizard.com>
To: bug-gnu-emacs <at> gnu.org
Subject: (when 1) evaluates to 1 on latest master
Date: Tue, 05 Nov 2024 12:59:43 -0500
(when 1) evaluates to 1, rather than nil, on latest master. This is
contrary to the documentation, which reads:

When COND yields non-nil, eval BODY forms sequentially and return
value of last one, or nil if there are none.

According to some discussion on IRC (thanks thuna`), this seems to have
been introduced here:

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7c63b632e4e



[Message part 3 (message/rfc822, inline)]
From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Brennan Vincent <brennan <at> umanwizard.com>, 74215-done <at> debbugs.gnu.org
Subject: Re: bug#74215: (when 1) evaluates to 1 on latest master
Date: Wed, 6 Nov 2024 13:49:12 +0100
>> (when 1) evaluates to 1, rather than nil

Very sorry about that; now fixed. Thank you for reporting it!

(I haven't had much Emacs time lately and am clearly building up a backlog but this was clearly my fault and quickly remedied.)



This bug report was last modified 192 days ago.

Previous Next


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