GNU bug report logs - #36680
27.0.50; undo-tree visualizer flickering with display-buffer-reuse-frames -> t

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 15 Jul 2019 22:24:02 UTC

Severity: normal

Found in version 27.0.50

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 36680 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 36680 <at> debbugs.gnu.org
Subject: Re: bug#36680: 27.0.50; undo-tree visualizer flickering with
 display-buffer-reuse-frames -> t
Date: Thu, 18 Jul 2019 09:49:47 +0200
[Message part 1 (text/plain, inline)]
>> As said, this is not the problem.

You probably should have used an 'inhibit-switch-frame' ALIST entry
then.

> BTW, the call tree looks like
>
> undo-tree-visualize > switch-to-buffer-other-window
>                      > pop-to-buffer with t ACTION
>                      > display-buffer with t ACTION
>                      > display-buffer-reuse-window
>
> and the last blindly uses the first window in
>
>    (get-buffer-window-list buffer 'nomini frames)
>
> which can be a window of a different frame even if there is a suitable
> window in the selected frame.  That's not good IMHO.

OK.  Then please, try the attached patch.  Note that when there's no
suitable window on the selected frame you will still get the annoying
behavior.

Thanks, martin
[display-buffer-reuse-window.diff (text/plain, attachment)]

This bug report was last modified 5 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.