emacs-devel
[Top][All Lists]
Advanced

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

Re: pop-to-buffer and friends new behavior or bug?


From: martin rudalics
Subject: Re: pop-to-buffer and friends new behavior or bug?
Date: Tue, 21 Jun 2011 16:41:46 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> I have fixed my problem in anything.el using this:
>
> --8<---------------cut here---------------start------------->8---
> [...]
>     (when (boundp 'display-buffer-alist)
>       (setq not-this-window '((reuse-window same other nil)
>                               (pop-up-window (other)))))
>     (display-buffer buf not-this-window)))
> --8<---------------cut here---------------end--------------->8---
>
> It is working fine like this, but i would like to know if that is
> correct.

I suppose it's reusing another window now because the reuse-window
specifier is correct - try the selected window if it shows another
buffer.  The pop-up-window specifier wants a list of window . side
conses like (pop-up-window (largest . below) (selected .right)) to split
the largest window with the new window below or the selected window with
the new window on the right.

But please don't fix this before I found the cause of the bug.  Having a
sample where it tries to use the minibuffer window is important for me.
(Unfortunately, I haven't git installed so I first have to get this from
somewhere else.  Or you send me the files exposing the bug via private
mail?)

Thanks, martin



reply via email to

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