[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 14:28:04 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
> When you do:
>
> $ emacs -Q -f linum-mode
>
> and then:
>
> C-x 2
>
> you obtain one frame with two windows, the one on top being selected.
>
> When you then do:
>
> M-: (switch-to-buffer-other-window "test") RET
>
> the selected window is unexpectedly reused to display the new buffer.
FWIW, the problem seems that `linum-mode' indirectly changes the value
of windows' use_time so the value returned by `get-lru-window' is messy.
use_time is updated by `select-window', hence a potential culprit is
`walk-windows' which is used by `linum-mode'. Could you try to find out
whether my guess is correct and/or where and how use_time is set when
`linum-mode' is active?
Thanks, martin
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, Markus Triska, 2008/10/24
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window,
martin rudalics <=
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, Markus Triska, 2008/10/24
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, martin rudalics, 2008/10/24
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, Markus Triska, 2008/10/24
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, martin rudalics, 2008/10/24
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, martin rudalics, 2008/10/25
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, Markus Triska, 2008/10/25
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, martin rudalics, 2008/10/25
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, Stefan Monnier, 2008/10/25
- Message not available
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, Markus Triska, 2008/10/29
- bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window, Lennart Borgman, 2008/10/29