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


Message #75 received at 1237 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 1237 <at> debbugs.gnu.org
Subject: Re: bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window
Date: Sat, 01 Nov 2008 22:16:47 -0400
> I've been looking into this and found out that in order to fix problems
> in this area we need an optional "norecord" argument for `select-frame'
> and `set-frame-selected-window'.  Both of these may (indirectly) call
> `select-window' and thus mess with the order of recently selected
> windows (and probably also the buffer list).

> As a rule, the norecord argument would be set by `with-selected-window'
> and `with-selected-frame' in addition to `walk-windows'.  Personally,
> I'd set it in `save-selected-window' too, but this might break
> applications that rely on the implicit selection provided by the current
> mechanism.

> The changes are trivial and not very interesting to post.  So please
> tell me whether you want them installed.

That sounds good, please install them.


        Stefan






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.