emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#5149: marked as done (23.1; doc string of `minib


From: Emacs bug Tracking System
Subject: [Emacs-bug-tracker] bug#5149: marked as done (23.1; doc string of `minibuffer-with-setup-hook')
Date: Fri, 01 Jan 2010 21:29:02 +0000

Your message dated Fri, 01 Jan 2010 15:04:56 -0500
with message-id <address@hidden>
and subject line Re: 23.1; doc string of `minibuffer-with-setup-hook'
has caused the Emacs bug report #5149,
regarding 23.1; doc string of `minibuffer-with-setup-hook'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact address@hidden
immediately.)


-- 
5149: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5149
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.1; doc string of `minibuffer-with-setup-hook' Date: Mon, 7 Dec 2009 10:24:49 -0800
Doc string:
 
"Add FUN to `minibuffer-setup-hook' while executing BODY.
BODY should use the minibuffer at most once.
Recursive uses of the minibuffer will not be affected."
 
Please state explicitly that FUN is removed from
`minibuffer-setup-hook' when the minibuffer is exited.
 
The use of "while executing BODY" suggests that somewhat, but it is
not clear enough. It says it is _added_ while executing, but it
doesn't say that it is removed.
 
In fact, FUN is not really added to hook `minibuffer-setup-hook'.
Someone or some code looking for FUN on the hook will never find it
there.
 
Instead, a proxy function that invokes FUN is added to the hook. So it
would be more accurate to say that FUN is added, "in effect", or
something like that.
 

In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 




--- End Message ---
--- Begin Message --- Subject: Re: 23.1; doc string of `minibuffer-with-setup-hook' Date: Fri, 01 Jan 2010 15:04:56 -0500
> Please state explicitly that FUN is removed from `minibuffer-setup-hook'
> when the minibuffer is exited.  The use of "while executing BODY"
> suggests that somewhat, but it is not clear enough. It says it is
> _added_ while executing, but it doesn't say that it is removed.

> In fact, FUN is not really added to hook `minibuffer-setup-hook'.
> Someone or some code looking for FUN on the hook will never find it
> there.  Instead, a proxy function that invokes FUN is added to the
> hook. So it would be more accurate to say that FUN is added, "in
> effect", or something like that.

Fixed, thanks.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]