From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: BUG: which-func-mode Date: Fri, 14 Mar 2003 18:46:19 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303142346.h2ENkKWm025313@rum.cs.yale.edu> References: <200303101828.h2AISIrs027316@rum.cs.yale.edu> <200303111907.h2BJ7ZHv012258@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047685594 8766 80.91.224.249 (14 Mar 2003 23:46:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2003 23:46:34 +0000 (UTC) Cc: Stefan Monnier Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Mar 15 00:46:33 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18tysj-0002HG-00 for ; Sat, 15 Mar 2003 00:46:33 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18tzH9-0004tl-00 for ; Sat, 15 Mar 2003 01:11:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18tyt7-0007Dh-01 for emacs-devel@quimby.gnus.org; Fri, 14 Mar 2003 18:46:57 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18tysb-00078v-00 for emacs-devel@gnu.org; Fri, 14 Mar 2003 18:46:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18tysY-00072A-00 for emacs-devel@gnu.org; Fri, 14 Mar 2003 18:46:24 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18tysX-0006zB-00; Fri, 14 Mar 2003 18:46:21 -0500 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h2ENkKPe025315; Fri, 14 Mar 2003 18:46:20 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h2ENkKWm025313; Fri, 14 Mar 2003 18:46:20 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman Original-cc: lewang@yahoo.com Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12372 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12372 > I see two choices: either document that select-window can change the > buffer list order and that save-selected-window does not protect > against that, or else change save-selected-window to save and restore > the buffer list order. I think the former is better. I don't necessarily like the latter, but the former doesn't solve the problem of "how do I temporarily select another window while preventing buffer-list from being changed?". I think that it would be better if select-window did not change the buffer-list. Why does it do it in the first place ? It seems it should be the job of things like switch-to-buffer and other-window. Stefan