GNU bug report logs - #1237
23.0.60; `switch-to-buffer-other-window' sometimes uses selected window

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Fri, 24 Oct 2008 10:35:03 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: martin rudalics <rudalics <at> gmx.at>
Subject: bug#1237: marked as done (23.0.60; `switch-to-buffer-other-window'
 sometimes uses selected window)
[Message part 1 (text/plain, inline)]
Your message dated Sun, 02 Nov 2008 12:14:05 +0100
with message-id <490D8B7D.3020008 <at> gmx.at>
and subject line Re: bug#1237: 23.0.60;	`switch-to-buffer-other-window' sometimes uses selected window
has caused the Emacs bug report #1237,
regarding 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
1237: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1237
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Markus Triska <markus.triska <at> gmx.at>
To: emacs-pretest-bug <at> gnu.org
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



[Message part 3 (message/rfc822, inline)]
From: martin rudalics <rudalics <at> gmx.at>
To: 1237-done <at> debbugs.gnu.org
Cc: Markus Triska <markus.triska <at> gmx.at>
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
Fixed as

2008-11-02  Martin Rudalics  <rudalics <at> 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


This bug report was last modified 16 years and 207 days ago.

Previous Next


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