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: Mon, 20 May 2024 10:01:13 +0200
User-agent: Mozilla Thunderbird

> +    `display-buffer-use-some-window' should choose.  The possible choices
> +    are `lru' or nil (the default) to select the least recently used window,
> +    and `mru' to select the most recently used window .  When a function, it

I'd say "It can also be a function that takes two arguments ..."

> +    takes two arguments: a buffer and an alist, and should return the window
> +    where to display the buffer.  When the value is `lru', it avoids
> +    selecting windows that are not full-width and windows on another frame.
> +    When the value is `mru', it avoids selecting an already selected window
> +    and windows on another frame.

I'd say "..., it does not consider the selected window and windows on
any frame but the selected one."

But the more important thing is to tell users how this can help to fix
problems like the one that triggered this thread.  A short description
in the doc-string and a more elaborated one with an example in the Elisp
manual in the description of 'display-buffer-use-some-window' and in the
"Action Alists for Buffer Display" section.

martin





reply via email to

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