Subject: bug#56767: New commands to split frame

From: Visuwesh <[email-masked]>
Date: Tue, 26 Jul 2022 18:21:24 +0530

[செவ்வாய் ஜூலை 26, 2022] Lars Ingebrigtsen wrote:

> I don't think I understand what this is supposed to do.  When testing
> it, it just splits the topmost window (no matter what window is
> selected), and I don't undertand why anybody would want that in
> particular.

If the window configuration is like the following,

+-----------------------------------------------------------------+
|                                                                 |
|                          A                                      |
|                                                                 |
|                                                                 |
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+
|                                                                 |
|                                                                 |
|                           B                                     |
|                                                                 |
|                                                                 |
|                                                                 |
+-----------------------------------------------------------------+

and you say M-x split-frame-horizontally, then you get

+--------------------------------+--------------------------------+
|                                |                                |
|                                |                                |
|                A               |                                |
|                                |                                |
|                                |                                |
+--------------------------------+                                |
|                                |               C                |
|                                |                                |
|                                |                                |
|                B               |                                |
|                                |                                |
|                                |                                |
|                                |                                |
+--------------------------------+--------------------------------+