[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4748: 23.1; least recently used window - is it?
From: |
Stefan Monnier |
Subject: |
bug#4748: 23.1; least recently used window - is it? |
Date: |
Mon, 19 Oct 2009 09:57:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>> 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.
> You didn't respond to the question, which was how to replace
> `switch-to-buffer', to both (a) keep the same-window and `quit-window'
> behavior that people are used to (and presumably want) and (b) respect
> `special-display-*' and `pop-up-frames'. Those vars would take
> precedence, but if their values don't require using another frame,
> then the behavior should be to do what `switch-to-buffer' does now
> (use the same window).
There is currently no way to do that (and changing get-lru-window won't
help in this respect).
That's part of the motivation for the idea of extending the
`other-window' argument to pop-to-buffer so it can specify things like
`same-window'.
Stefan