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

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

bug#70949: display-buffer-choose-some-window


From: martin rudalics
Subject: bug#70949: display-buffer-choose-some-window
Date: Thu, 23 May 2024 09:22:07 +0200
User-agent: Mozilla Thunderbird

> With 'mru' the window used by 'display-buffer-use-some-window'
> is the last one.  Here is the use case of the OP:
>
>      When cycling through, say, a rgrep result buffer with n
>      (next-error-no-select) and p (previous-error-no-select), file results
>      are displayed in every open window, with the exception of the window
>      containing the rgrep results themselves.

That's the problem I tried to address in my first proposal: Displaying a
file in "every open window" can be confusing so we want to use always
the same non-selected window ...

>      I'd rather have file results remain in just one window
>      so that I can use other buffers while still viewing search results.

... but if, as you said earlier, the OP means "other windows" here, the
resulting behavior becomes unpredictable again because the 'mru' window
will change to the last "other" window of the user.

>> I think the OP should use a side window to show "file results" which
>> would support the "remain in just one window" paradigm out of the box.
>
> Unfortunately, a side window is not a solution since after finishing
> navigating the search results, the window should remain normal.

Then maybe a separate category for rgrep buffers could help here.

martin





reply via email to

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