* Re: Frame split toggle
2019-12-12 15:29 ` Frame split toggle Ergus
@ 2019-12-12 15:37 ` Doug Davis
2019-12-12 19:11 ` J. David Boyd
` (3 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Doug Davis @ 2019-12-12 15:37 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I don't think there is a builtin function; there's an EmacsWiki page
with some useful information here:
https://www.emacswiki.org/emacs/ToggleWindowSplit
cheers,
Doug
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Frame split toggle
2019-12-12 15:29 ` Frame split toggle Ergus
2019-12-12 15:37 ` Doug Davis
@ 2019-12-12 19:11 ` J. David Boyd
2019-12-13 2:00 ` Emanuel Berg via Users list for the GNU Emacs text editor
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: J. David Boyd @ 2019-12-12 19:11 UTC (permalink / raw)
To: help-gnu-emacs
Ergus <spacibba@aol.com> writes:
> Hi:
>
> Simple question, does emacs has any function to change the window split
> from horizontal to vertical. For example?
>
> Thanks in advance
> Ergus
Think you have to do it the hard way, and work it out one step at a time.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Frame split toggle
2019-12-12 15:29 ` Frame split toggle Ergus
2019-12-12 15:37 ` Doug Davis
2019-12-12 19:11 ` J. David Boyd
@ 2019-12-13 2:00 ` Emanuel Berg via Users list for the GNU Emacs text editor
2019-12-13 5:22 ` VanL
2019-12-13 7:56 ` Vegard Vesterheim
2020-04-03 2:22 ` Bruno Félix Rezende Ribeiro
4 siblings, 1 reply; 10+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2019-12-13 2:00 UTC (permalink / raw)
To: help-gnu-emacs
Ergus wrote:
> Simple question, does emacs has any function
> to change the window split from horizontal
> to vertical.
`split-window-vertically' will split the window
vertically ... yes, it's the truth! ... if
that's what you mean?
If you want to change some default behavior
when splitting windows please tell what
function it is you use to do that.
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Frame split toggle
2019-12-12 15:29 ` Frame split toggle Ergus
` (2 preceding siblings ...)
2019-12-13 2:00 ` Emanuel Berg via Users list for the GNU Emacs text editor
@ 2019-12-13 7:56 ` Vegard Vesterheim
2020-04-03 2:22 ` Bruno Félix Rezende Ribeiro
4 siblings, 0 replies; 10+ messages in thread
From: Vegard Vesterheim @ 2019-12-13 7:56 UTC (permalink / raw)
To: Ergus; +Cc: Emacs mailing list
On Thu, 12 Dec 2019 16:29:20 +0100 Ergus <spacibba@aol.com> wrote:
> Hi:
>
> Simple question, does emacs has any function to change the window split
> from horizontal to vertical. For example?
https://www.emacswiki.org/emacs/ToggleWindowSplit
--
Vennlig hilsen/Best regards
Vegard Vesterheim
Senior Software engineer
+47 48 11 98 98
vegard.vesterheim@uninett.no
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Frame split toggle
2019-12-12 15:29 ` Frame split toggle Ergus
` (3 preceding siblings ...)
2019-12-13 7:56 ` Vegard Vesterheim
@ 2020-04-03 2:22 ` Bruno Félix Rezende Ribeiro
2020-04-03 16:05 ` Stefan Monnier
4 siblings, 1 reply; 10+ messages in thread
From: Bruno Félix Rezende Ribeiro @ 2020-04-03 2:22 UTC (permalink / raw)
To: Ergus; +Cc: Emacs mailing list
[-- Attachment #1: Type: text/plain, Size: 3940 bytes --]
Hi Ergus,
Ergus <spacibba@aol.com> writes:
> [...] does emacs has any function to change the window split from
> horizontal to vertical.
In MELPA there is ‘transpose-frame’; a very useful package I wish was
part of core Emacs. Quoting from its commentary section:
#+BEGIN_SRC elisp
;; This program provides some interactive functions which allows users
;; to transpose windows arrangement in currently selected frame:
;;
;; `transpose-frame' ... Swap x-direction and y-direction
;;
;; +------------+------------+ +----------------+--------+
;; | | B | | A | |
;; | A +------------+ | | |
;; | | C | => +--------+-------+ D |
;; +------------+------------+ | B | C | |
;; | D | | | | |
;; +-------------------------+ +--------+-------+--------+
;;
;; `flip-frame' ... Flip vertically
;;
;; +------------+------------+ +------------+------------+
;; | | B | | D |
;; | A +------------+ +------------+------------+
;; | | C | => | | C |
;; +------------+------------+ | A +------------+
;; | D | | | B |
;; +-------------------------+ +------------+------------+
;;
;; `flop-frame' ... Flop horizontally
;;
;; +------------+------------+ +------------+------------+
;; | | B | | B | |
;; | A +------------+ +------------+ A |
;; | | C | => | C | |
;; +------------+------------+ +------------+------------+
;; | D | | D |
;; +-------------------------+ +-------------------------+
;;
;; `rotate-frame' ... Rotate 180 degrees
;;
;; +------------+------------+ +-------------------------+
;; | | B | | D |
;; | A +------------+ +------------+------------+
;; | | C | => | C | |
;; +------------+------------+ +------------+ A |
;; | D | | B | |
;; +-------------------------+ +------------+------------+
;;
;; `rotate-frame-clockwise' ... Rotate 90 degrees clockwise
;;
;; +------------+------------+ +-------+-----------------+
;; | | B | | | A |
;; | A +------------+ | | |
;; | | C | => | D +--------+--------+
;; +------------+------------+ | | B | C |
;; | D | | | | |
;; +-------------------------+ +-------+--------+--------+
;;
;; `rotate-frame-anticlockwise' ... Rotate 90 degrees anti-clockwise
;;
;; +------------+------------+ +--------+--------+-------+
;; | | B | | B | C | |
;; | A +------------+ | | | |
;; | | C | => +--------+--------+ D |
;; +------------+------------+ | A | |
;; | D | | | |
;; +-------------------------+ +-----------------+-------+
#+END_SRC
--
Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
<http://oitofelix.freeshell.org/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread