[Top][All Lists]

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

Re: [PATCH] Fix display-buffer-use-some-window to honor reusable-frames

From: martin rudalics
Subject: Re: [PATCH] Fix display-buffer-use-some-window to honor reusable-frames
Date: Wed, 1 Feb 2023 11:45:06 +0100

> In general, I had in mind all the issues you listed in
>    https://lists.gnu.org/archive/html/emacs-devel/2023-01/msg00542.html
> including the one with window-bump-use-time.

There's worse as I just noticed.  'display-buffer-avoid-small-windows':

- Invariably affects, once set, 'get-lru-window' which can be used
  anywhere outside the scope of 'display-buffer'.  So it's not only a
  misnomer but a typical example of a collateral effect.

- Is described in section 29.15.4 of the Elisp manual which talks about
  "older options" some of them candidates for obsoletion.

- Ignores that an action alist entry of that type already existed.  It's
  called 'window-min-height' and could have been easily used here.

Just that any such option should never be used in 'get-lru-window' but
exclusively in functions that pertain to 'display-buffer'.


reply via email to

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