GNU bug report logs - #60758
29.0.60; while-let uses if-let* convention in contradiction to the docstring

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Thu, 12 Jan 2023 19:23:01 UTC

Severity: normal

Found in version 29.0.60

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: 60758-done <at> debbugs.gnu.org, 60758 <at> debbugs.gnu.org,
 Sean Whitton <spwhitton <at> spwhitton.name>
Subject: Re: bug#60758: 29.0.60; while-let uses if-let* convention in
 contradiction to the docstring
Date: Sat, 14 Jan 2023 16:31:03 +0100
Daniel Mendler <mail <at> daniel-mendler.de> writes:

> On 1/13/23 01:37, Sean Whitton wrote:
> > I agree that if-let is right, for these reasons.  Now fixed, thank
> > you.

The special case of a SPEC of the form (SYMBOL SOMETHING) is supported
only for backward compatibility by `if-let'.  We wanted to get rid of
this special syntax anomaly.

So it makes no sense to add this syntax to newly introduced macros.  We
should fix the docstring of `while-let' instead - unless the goal of
getting rid of this syntax has changed.  But then we should have a
discussion first.  Instead it seems you just reverted a change by Lars
that was the result of a discussion in emacs-dev.

Michael.




This bug report was last modified 2 years and 128 days ago.

Previous Next


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