From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: get-buffer-window should prefer windows on selected frame Date: Mon, 05 Dec 2005 18:01:54 +0100 Message-ID: <43947282.9070600@student.lu.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133803555 32172 80.91.229.2 (5 Dec 2005 17:25:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2005 17:25:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 05 18:25:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EjK4U-0008A1-GZ for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2005 18:24:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjK4d-0005I6-6a for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2005 12:24:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EjJjP-0007Se-5z for emacs-devel@gnu.org; Mon, 05 Dec 2005 12:02:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EjJjN-0007Pj-Be for emacs-devel@gnu.org; Mon, 05 Dec 2005 12:02:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjJjM-0007PZ-Tv for emacs-devel@gnu.org; Mon, 05 Dec 2005 12:02:25 -0500 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EjJjt-0007CV-Gp for emacs-devel@gnu.org; Mon, 05 Dec 2005 12:02:57 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.060.1) id 43941F550002392E; Mon, 5 Dec 2005 18:01:55 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Stefan Monnier In-Reply-To: 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:47011 Archived-At: Stefan Monnier wrote: >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? > > Sounds good to me.