GNU bug report logs - #59559
28.1; `minibuffer-with-setup-hook' with :append

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 25 Nov 2022 02:57:01 UTC

Severity: normal

Found in version 28.1

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: "59559 <at> debbugs.gnu.org" <59559 <at> debbugs.gnu.org>
Subject: bug#59559: 28.1; `minibuffer-with-setup-hook' with :append
Date: Tue, 10 Jan 2023 20:56:59 +0000
> > AFAIU FUN is either a function expression or an (unquoted) list
> > (:append FUN) where FUN is a function expression.
>                                ^^^^^^^^^^^^^^^^^^^
> 
> Correction: AFAIR we use that term for "lambda expression or function
> name".  Here any expression is allowed as long as it returns a function,
> so I would just say "expression".

It's maybe not obvious whether, when we use
"expression" we're suggesting that that gets
_evaluated_.

What needs to be made clear here, I think, is
that in (:append F) F is evaluated, and its
value should be a function.  And that function
is invoked (funcalled) with no args. 





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

Previous Next


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