[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70949: display-buffer-choose-some-window
From: |
Juri Linkov |
Subject: |
bug#70949: display-buffer-choose-some-window |
Date: |
Tue, 21 May 2024 20:18:56 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> +The above describes the behavior when @code{some-window} @var{alist}
> +entry is @code{lru} or @code{nil} which is the default. But when,
> +for example, @code{display-buffer-base-action} is customized to
> +@w{@code{(nil . ((some-window . mru)))}}, then the value @code{mru}
> +means that this function will prefer the most recently used window
> +that is useful to display several buffers in the same window
> +in a layout with more than two windows.
>
> This is ambiguous - we should emphasize that these buffers are not
> displayed at the same time. I'd write something like the following:
>
> The default behavior might become irritating when 'display-buffer' is
> used to display a number of related buffers in a row.
>
> Consider a configuration of two or more windows where a user wants to
> consult, in a non-selected window, one after the other, the results of a
> query spread among several buffers. With the 'lru' strategy, Emacs
> might continuously choose another window because the least recently used
> window changes with every call of 'display-buffer-use-some-window'.
> With the 'mru' strategy, the window chosen would always remain the same,
> resulting in a less confusing user experience.
>
> If I got it right ...
Not quite right. It's not about a less confusing user experience.
Here is what the OP wrote for this request:
I'd rather have file results remain in just one window so that I can use
other buffers while still viewing search results.
Probably here would be better to say not "other buffers", but "other windows".
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/14
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/15
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/15
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/16
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/17
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/18
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/20
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/20
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/20
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/21
- bug#70949: display-buffer-choose-some-window,
Juri Linkov <=
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/22
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/23
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/23
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/23
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/24
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/24
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/26
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/27
- bug#70949: display-buffer-choose-some-window, martin rudalics, 2024/05/28
- bug#70949: display-buffer-choose-some-window, Juri Linkov, 2024/05/28