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: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 59559 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: bug#59559: 28.1; `minibuffer-with-setup-hook' with :append
Date: Sat, 21 Jan 2023 20:43:46 +0200
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: drew.adams <at> oracle.com,  59559 <at> debbugs.gnu.org
> Date: Sat, 21 Jan 2023 17:07:18 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > How about just adding the obvious to the first sentence:
> >
> >   Temporarily add function FUN to `minibuffer-setup-hook' while
> > executing BODY.
> >
> > All the rest sounds clear to me, and I find the original text less
> > confusing than your proposed change ("expression that should evaluate
> > to a function"?).
> 
> The (valid, IMO) request was about the (:append FUN1) part: is this the
> s-expr to specify, or should the FUN arg evaluate to such a list?  Not
> clear from the original docstring.

I don't see why.  We say stuff like "argument of the form (FOO BAR)"
in gazillion places, and I see no reason why this one place should be
singled out.

> I'm happy if you or Drew want to suggest a better wording.

I already did.




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.