GNU bug report logs -
#8358
24.0.50; `minibuffer-scroll-window' with active minibuffer: always *Completions*?
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sun, 27 Mar 2011 22:04:02 UTC
Severity: normal
Found in version 24.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 8358 <at> debbugs.gnu.org (full text, mbox):
> I looked at the code in minibuffer.el and window.c to try to understand
> where `minibuffer-scroll-window' is getting reset (to *Completions*),
> but I haven't understood, so far.
`with-output-to-temp-buffer' which displays the *Completions* buffer
sets `minibuffer-scroll-window' to the window showing *Completions*.
This happens _after_ running `completion-setup-hook' so your "foo"
doesn't really do what you expected.
> Help appreciated. Is this a bug? Shouldn't you be able to set the
> window to be scrolled (using `scroll-other-window') during minibuffer
> input to be some window other than *Completions*? How can I do that?
> Just where is `minibuffer-scroll-window' getting set and reset? Thx.
Try doing
(add-hook 'temp-buffer-show-hook 'foo 'append)
instead. Or write your own `temp-buffer-show-function'.
martin
This bug report was last modified 3 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.