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: Wed, 15 May 2024 10:06:39 +0200
User-agent: Mozilla Thunderbird

> +(defcustom display-buffer-choose-some-window 'lru
> +  "How to choose an existing window.
> +This defines a strategy of choosing some window
> +by `display-buffer-use-some-window'.
> +
> +The possible choices are `lru' (the default) to select the least recently
> +used window on that frame, and `mru' to select the most recently used
> +window on that frame.  When a function, it takes two arguments: a buffer
> +and an alist, and should return the window where to display the buffer."

I'd call the option 'display-buffer-use-some-window-method' so it's more
clear that it pertains to 'display-buffer-use-some-window'.  As for the
first line of the doc-string I'd write

"Which window `display-buffer-use-some-window' should choose."

Also, we should mention the constraints used for 'lru' and that 'mru'
avoids the selected window here.

martin





reply via email to

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