bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses select


From: martin rudalics
Subject: bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window
Date: Fri, 24 Oct 2008 16:45:53 +0200
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

> I found that when you set `window-configuration-change-hook' to
> nil in *scratch* before `switch-to-buffer-other-window', it chooses the
> right buffer.

Does it change anything when you remove the `walk-windows' from your
function?  Then we would know that `walk-windows' is responsible for
triggering it.  Maybe run_window_configuration_change_hook messes it up
after `walk-windows'.

> I do not yet know if/where use_time changes.

Could you try to run this with GDB, set a breakpoint in select_window at
the

      XSETFASTINT (w->use_time, window_select_count);

line, and get a backtrace when(ever) this is hit for the lower window?

martin






reply via email to

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