[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56767: New commands to split frame
From: |
Juri Linkov |
Subject: |
bug#56767: New commands to split frame |
Date: |
Wed, 27 Jul 2022 10:42:37 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> Since we already have the commands to split the current window,
>> shouldn't we also have the commands to split the current frame:
>
> and may be you would like to add aliases, just like
>
> split-window-horizontally -> split-window-right,
> split-window-vertically -> split-window-below
The word "below" is not quite correct because
display-buffer-below-selected uses positioning
relative to the current window. Whereas the
corresponding function the uses the absolute
positioning contains the word "bottom" in its name:
display-buffer-at-bottom.
So the right alias would be split-frame-at-bottom.
Also display-buffer-in-direction supports the word
"rightmost", so its counterpart alias would be
split-frame-at-rightmost.
Then why not add also split-frame-at-leftmost
and split-frame-at-top?