help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: bs-show breaks and get confused about the minibuffer


From: Nikolaj Schumacher
Subject: Re: bs-show breaks and get confused about the minibuffer
Date: Fri, 29 Aug 2008 15:49:38 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin)

martin rudalics <rudalics@gmx.at> 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




reply via email to

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