On Jul 15, 2023 14:16, martin rudalics <rudalics@gmx.at> wrote:

> Yes, this is about making windows dedicated, not making them not
> dedicated.  I implemented it as a toggle only because that seems nicer
> to a user who might otherwise make a window dedicated on accident and
> not know how to undo it.

But how would our user know which of his windows are dedicated?
'display-buffer' won't tell because it silently ignores them.

martin

Oh, maybe, separate from this bug, we should show whether a window is dedicated in the modeline. I think that would quite useful, since otherwise usage of dedicated windows even outside this patch can be confusing to users by changing display-buffer behavior.