emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: switch-to-buffer: for interactive use only


From: Chong Yidong
Subject: Re: switch-to-buffer: for interactive use only
Date: Fri, 08 Jul 2011 16:12:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> Then tell my what you expect a function like `pop-to-buffer-same-window'
>> do differently from `switch-to-buffer'.
>
> One of the two needs to display the buffer, "no matter what", whereas
> the other needs to only affect the selected window.

Why does `switch-to-buffer' need to only affect the selected window?
What's wrong with using a different window, instead of signaling a
error, if the selected window can't be used?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]