emacs-devel
[Top][All Lists]
Advanced

[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: Eli Zaretskii
Subject: Re: [PATCH] Fix display-buffer-use-some-window to honor reusable-frames
Date: Sun, 29 Jan 2023 20:48:23 +0200

> From: Juri Linkov <juri@linkov.net>
> Cc: Eli Zaretskii <eliz@gnu.org>,  Tom Gillespie <tgbugs@gmail.com>,
>   emacs-devel@gnu.org,  larsi@gnus.org
> Date: Sun, 29 Jan 2023 19:48:35 +0200
> 
> > One thing we could do is to add a new action alist entry say
> > 'bump-use-time'.  People could use this to indicate that they want to
> > display several buffers in a row.  'window--display-buffer' would then
> > bump the use time of the window it uses when ALIST contains that entry.
> > I have no idea how this would work in practice.
> 
> I think this is a nice idea.  Another action alist entry could
> also define whether to use 'lru' or 'mru', thus obsoleting
> display-buffer-use-least-recent-window and avoiding
> other code duplication.

Rather than obsoleting it, I prefer to remove it.  The problems
pointed out by Martin quite clearly mean that no one uses it
seriously.

But I still hope we could change the implementation to avoid the
problems and keep the name, so solutions which do that are better IMO.



reply via email to

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