From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: get-buffer-window should prefer windows on selected frame Date: Mon, 12 Dec 2005 00:24:00 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1134365358 1061 80.91.229.2 (12 Dec 2005 05:29:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2005 05:29:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 12 06:29:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ElgE7-0000Ud-Fc for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2005 06:27:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElgEa-0006uV-Iu for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2005 00:28:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ElgBr-0004mR-O9 for emacs-devel@gnu.org; Mon, 12 Dec 2005 00:25:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ElgBr-0004kN-1E for emacs-devel@gnu.org; Mon, 12 Dec 2005 00:25:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElgBq-0004jn-BQ for emacs-devel@gnu.org; Mon, 12 Dec 2005 00:25:34 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ElgDV-0005Xo-Q4 for emacs-devel@gnu.org; Mon, 12 Dec 2005 00:27:17 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1ElgAK-00040n-Pe; Mon, 12 Dec 2005 00:24:01 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Mon, 05 Dec 2005 11:11:44 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47515 Archived-At: get-buffer-window currently favors returning the selected-window (if it shows the requested buffer, of course) over other windows. I think this should be extended so that if the selected-window doesn't show the buffer, but some other window on the selected frame does show it, that window should be picked in preference to other windows on other frames. Any objection to the patch below? It may be a good idea, but since it isn't a bug fix and isn't crucial, please save it for after the release.