Re: bs-show breaks and get confused about the minibuffer
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: bs-show breaks and get confused about the minibuffer         


Author: Nikolaj Schumacher
Date: Aug 29, 2008 06:49

martin rudalics wrote:
> err = no_switch_window (selected_window);
> if (err)
> /* If can't display in current window, let pop-to-buffer
> try some other window. */
> return call3 (intern ("pop-to-buffer"), buffer, Qnil, norecord);
>
> so Emacs should ignore this but God knows what really happens.

Hmm. Doesn't `pop-to-buffer' use `display-buffer'? Maybe the error is
caused in there. My `display-buffer' starts like this:

(defun my-display-buffer (buffer &optional not-this-window)
(if (minibufferp)
(with-selected-window (minibuffer-selected-window)
(my-display-buffer buffer nil))
...))

So it's conceivable I've worked around the same error, once.

regards,
Nikolaj Schumacher
no comments