[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: Tom Gillespie
Subject: Re: [PATCH] Fix display-buffer-use-some-window to honor reusable-frames
Date: Mon, 30 Jan 2023 12:43:57 -0500

> is probably not what you really want.

You're right. I missed the case where we first want
to reuse an existing window if the buffer is already
displayed in it. Working on a patch to add that back.

> What speaks against
> ...
> (display-buffer-use-some-window buffer alist)
> ...
> or something the like?

The main reason not to take that approach is that it
requires changes to display-buffer-use-some-window
like the ones I made in my first patch so that it will
honor reusable-frames (though without the incorrect
call to display-buffer-pop-up-window). It seems
like it will be easier to reason about the impact of
the changes for the patch if we only need to assess
changes to display-buffer-use-least-recent-window.

reply via email to

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