[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: list-buffers behavior customization
From: |
Carlos Konstanski |
Subject: |
Re: list-buffers behavior customization |
Date: |
Fri, 6 May 2016 07:03:03 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
Am 05.05.2016 um 16:46 schrieb Michael Heerdegen:
> Carlos Konstanski <ckonstanski@pippiandcarlos.com> writes:
>
>> I quite often have 3 or 4 emacs frames open. Whenever I do a
>> list-buffers, it opens in whatever frame it appeared last. This is
>> usually not what I want. I want it to open in the frame that is
>> currently in focus.
>>
>> [...]
>> The sexp (get-buffer-create "*Buffer List*") is where this behavior is
>> coming from.
>
> `get-buffer-create' may return an existing buffer of that name, but
> nothing more: it doesn't decide where to display it etc. That is done
> by `display-buffer'. So I think you just want to customize
> `display-buffer-alist'?
>
>
> Regards,
>
> Michael.
Thanks! This solution works:
'(display-buffer-alist
(quote
(("*Buffer*" display-buffer-same-window
(allow-no-window . t)))))
Carlos
Re: list-buffers behavior customization, Bernardo, 2016/05/06