GNU bug report logs - #31792
27.0.50; Regression in #'labels, recent versions

Previous Next

Package: emacs;

Reported by: Aidan Kehoe <kehoea <at> parhasard.net>

Date: Mon, 11 Jun 2018 23:12:01 UTC

Severity: normal

Tags: fixed, patch

Found in versions 27.0.50, 25.3

Fixed in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: Aidan Kehoe <kehoea <at> parhasard.net>, 31792 <at> debbugs.gnu.org,
 Alan Mackenzie <acm <at> muc.de>
Subject: Re: bug#31792: 27.0.50; Regression in #'labels, recent versions
Date: Thu, 14 Jun 2018 00:13:50 -0400
[Message part 1 (text/plain, inline)]
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

>> +Bind the function cells of symbols within FORM.
>
> I think this is wrong: it makes it sound like it does `fset`, which
> is what CL's `flet` did, but not what `cl-flet` does.
> If you look at the implementation, you'll see that it doesn't touch any
> "function cell".

Hmm, the manual page says something similar:

 -- Macro: cl-flet (bindings...) forms...
     This form establishes `let'-style bindings on the function cells
     of symbols rather than on the value cells.

It also wrongly claims that (quote FUNC) would work:

     A "reference" to a function name is either a call to that
     function, or a use of its name quoted by `quote' or `function' to
                                              ^^^^^^^
     be passed on to, say, `mapcar'.

Perhaps both of those are leftovers from the original `flet'
description.  How about this:

[v3-0001-Fix-fun-handling-inside-labels-Bug-31792.patch (text/plain, attachment)]

This bug report was last modified 7 years and 29 days ago.

Previous Next


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