[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: switch-to-buffer: for interactive use only
From: |
martin rudalics |
Subject: |
Re: switch-to-buffer: for interactive use only |
Date: |
Sat, 09 Jul 2011 10:45:26 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
> Fair enough. So, I propose the following:
>
> - Make switch-to-buffer basically do
> (pop-to-buffer buffer-or-name 'same-window norecord label)
Stefan wants the "basically" used function reuse weakly dedicated
windows so you need a reuse-dedicated non-t specifier here.
> - Make pop-to-buffer-same-window an alias for switch-to-buffer.
> (This means to add an optional LABEL arg to switch-to-buffer, for
> consistency with pop-to-buffer-same-window.)
Only if you do not change the code of `pop-to-buffer-same-window'. I'll
need that elsewhere as is.
> - Remove the "interactive use only" flag from switch-to-buffer.
Good.
> - For those places that intend the "act on the selected window"
> behavior---which is the minority---change the code to call
> (set-window-buffer (selected-window) buffer), instead of
> switch-to-buffer.
Only if we make minibuffer windows dedicated ;-)
martin
- Re: switch-to-buffer: for interactive use only, (continued)
- Re: switch-to-buffer: for interactive use only, Stefan Monnier, 2011/07/10
- Re: switch-to-buffer: for interactive use only, Chong Yidong, 2011/07/11
- Re: switch-to-buffer: for interactive use only, Stefan Monnier, 2011/07/12
- Re: switch-to-buffer: for interactive use only, martin rudalics, 2011/07/12
- Re: switch-to-buffer: for interactive use only, Chong Yidong, 2011/07/13
- Re: switch-to-buffer: for interactive use only, martin rudalics, 2011/07/13
- Re: switch-to-buffer: for interactive use only, Chong Yidong, 2011/07/13
- Re: switch-to-buffer: for interactive use only,
martin rudalics <=
Re: switch-to-buffer: for interactive use only, grischka, 2011/07/13