--- Begin Message ---
Subject: |
23.0.60; `switch-to-buffer-other-window' sometimes uses selected window |
Date: |
Fri, 24 Oct 2008 12:27:30 +0200 (CEST) |
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.
In GNU Emacs 23.0.60.11 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
of 2008-10-14 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window |
Date: |
Sun, 02 Nov 2008 12:14:05 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
Fixed as
2008-11-02 Martin Rudalics <rudalics@gmx.at>
* window.el (save-selected-window-norecord): New macro
(walk-windows): Use save-selected-window-norecord and call
select-window with NORECORD set. (Bug#1237)
Thanks for the report, martin
--- End Message ---