From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1237: 23.0.60; `switch-to-buffer-other-window' sometimes uses selected window Date: Sat, 01 Nov 2008 22:16:47 -0400 Message-ID: References: <20081024102730.972E2B43B34@mt-computer.local> <4901BF54.6020908@gmx.at> <4901DFA1.2010503@gmx.at> <490C9A90.40407@gmx.at> Reply-To: Stefan Monnier , 1237@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225593032 19684 80.91.229.12 (2 Nov 2008 02:30:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2008 02:30:32 +0000 (UTC) Cc: 1237@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 02 03:31:34 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KwSkX-0005aN-Sj for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Nov 2008 03:31:34 +0100 Original-Received: from localhost ([127.0.0.1]:51622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwSjR-0005e6-5c for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 22:30:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwSjD-0005Xd-Al for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2008 22:30:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwSjC-0005X2-7w for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2008 22:30:10 -0400 Original-Received: from [199.232.76.173] (port=36570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwSjC-0005Wp-1z for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2008 22:30:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50493) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KwSjB-0003jB-IM for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2008 22:30:10 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA22U4es007430; Sat, 1 Nov 2008 19:30:05 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mA22P5rE006123; Sat, 1 Nov 2008 19:25:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 02 Nov 2008 02:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1237 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1237-submit@emacsbugs.donarmstrong.com id=B1237.12255922194403 (code B ref 1237); Sun, 02 Nov 2008 02:25:04 +0000 Original-Received: (at 1237) by emacsbugs.donarmstrong.com; 2 Nov 2008 02:16:59 +0000 Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA22GtPG004390 for <1237@emacsbugs.donarmstrong.com>; Sat, 1 Nov 2008 19:16:56 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArgEALeqDElMCqyo/2dsb2JhbACBdscfg1KBDw X-IronPort-AV: E=Sophos;i="4.33,528,1220241600"; d="scan'208";a="29214967" Original-Received: from 76-10-172-168.dsl.teksavvy.com (HELO pastel.home) ([76.10.172.168]) by ironport2-out.teksavvy.com with ESMTP; 01 Nov 2008 22:16:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8CF7A804B; Sat, 1 Nov 2008 22:16:47 -0400 (EDT) In-Reply-To: <490C9A90.40407@gmx.at> (martin rudalics's message of "Sat, 01 Nov 2008 19:06:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 01 Nov 2008 22:30:10 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22089 Archived-At: > 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