[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pop-to-buffer / switch-to-buffer-other-window
From: |
Eli Zaretskii |
Subject: |
Re: pop-to-buffer / switch-to-buffer-other-window |
Date: |
Sun, 07 Jun 2020 09:18:48 +0300 |
User-agent: |
K-9 Mail for Android |
On June 7, 2020 5:55:52 AM GMT+03:00, Jean-Christophe Helary
<jean.christophe.helary@traduction-libre.org> wrote:
> When I have just one window open, switch-to-buffer-other-window
> sometimes splits vertically and sometimes horizontally to display the
> other window.
>
> In the documentation, there are plenty of references to "some window"
> but little if anything about how that window is chosen/created.
>
> What is the rationale behind this lack of consistency ? Or is there
> some consistency, for ex based on the mode ?
Please see "Splitting Windows" in the ELisp manual, it describes how Emacs
decides whether to split vertically or horizontally.