all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 4748@emacsbugs.donarmstrong.com
Subject: bug#4748: 23.1; least recently used window - is it?
Date: Sun, 18 Oct 2009 21:58:11 -0400	[thread overview]
Message-ID: <jwvvdicywr3.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <361C5607E07445959296A72FA999D368@us.oracle.com> (Drew Adams's message of "Sun, 18 Oct 2009 09:30:06 -0700")

> 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





  parent reply	other threads:[~2009-10-19  1:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-18  8:41 bug#4748: 23.1; least recently used window - is it? Drew Adams
2009-10-18 10:24 ` martin rudalics
2009-10-18 16:30   ` Drew Adams
2009-10-18 17:36     ` martin rudalics
2009-10-18 18:48       ` Drew Adams
2009-10-19  7:36         ` martin rudalics
2009-10-19  1:58     ` Stefan Monnier [this message]
2009-10-19  6:28       ` Drew Adams
2009-10-19 13:57         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvvdicywr3.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=4748@emacsbugs.donarmstrong.com \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.