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#4748: 23.1; least recently used window - is it? Date: Sun, 18 Oct 2009 21:58:11 -0400 Message-ID: References: <4D3E3BC7322D4F79988F82996F46CE28@us.oracle.com> <4ADAECF8.7020200@gmx.at> <361C5607E07445959296A72FA999D368@us.oracle.com> Reply-To: Stefan Monnier , 4748@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 1255918058 9673 80.91.229.12 (19 Oct 2009 02:07:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 02:07:38 +0000 (UTC) Cc: 4748@emacsbugs.donarmstrong.com To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 04:07:28 2009 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 1Mzheh-0006yK-2O for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 04:07:27 +0200 Original-Received: from localhost ([127.0.0.1]:34056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mzhef-0002fB-Qi for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Oct 2009 22:07:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mzheb-0002dV-Af for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 22:07:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MzheW-0002Zm-I1 for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 22:07:20 -0400 Original-Received: from [199.232.76.173] (port=45075 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzheW-0002Zj-GD for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 22:07:16 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38650) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MzheW-0003XS-10 for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 22:07:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9J27CdE004788; Sun, 18 Oct 2009 19:07:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9J255qB003816; Sun, 18 Oct 2009 19:05:05 -0700 Resent-Date: Sun, 18 Oct 2009 19:05:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 19 Oct 2009 02:05:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4748 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4748-submit@emacsbugs.donarmstrong.com id=B4748.12559175002729 (code B ref 4748); Mon, 19 Oct 2009 02:05:05 +0000 Original-Received: (at 4748) by emacsbugs.donarmstrong.com; 19 Oct 2009 01:58:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9J1wIZ8002724 for <4748@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 18:58:19 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsYEAEpk20pLd/m0/2dsb2JhbACBUtdrhDEEiAU X-IronPort-AV: E=Sophos;i="4.44,582,1249272000"; d="scan'208";a="47776354" Original-Received: from 75-119-249-180.dsl.teksavvy.com (HELO ceviche.home) ([75.119.249.180]) by ironport2-out.pppoe.ca with ESMTP; 18 Oct 2009 21:58:12 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 06014B408B; Sun, 18 Oct 2009 21:58:11 -0400 (EDT) In-Reply-To: <361C5607E07445959296A72FA999D368@us.oracle.com> (Drew Adams's message of "Sun, 18 Oct 2009 09:30:06 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 18 Oct 2009 22:07:20 -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:32082 Archived-At: > But the main question is posed above. Given the aim of, in effect, > making `pop-to-buffer' use a particular window, I tried to somehow set > a window to be the lru. But that doesn't work because of the > full-width criterion. IIUC you tried to control which window pop-to-buffer was going to use, by selecting windows, hoping to control what get-lru-window returns? If you need that kind of control, you should either not use pop-to-buffer and change pop-to-buffer to do what you want. > I was hoping that simply making a window be the least recently used > one would cause `pop-to-buffer' to use that window. The window used by pop-to-buffer depends on so many different factors that it's illusory to think you can control it from the outside. Stefan