7

Suppose my Emacs frame looks like this:

.-------------.
|a     |b     |
|      |      |
|      |      |
|      |------|
|      |c     |
|      |      |
|      |      |
'-------------'

Is is possible now to open another window below all other windows to get the frame that looks like the one below?

.-------------.
|a     |b     |
|      |      |
|      |------|
|      |c     |
|      |      |
|-------------|
|d            |
'-------------'
Drew
  • 75,699
  • 9
  • 109
  • 225

1 Answers1

6

Yes, it is.

(split-window (frame-root-window) (truncate (* (window-total-height (frame-root-window)) 0.75)) 'below)

The crucial part is (frame-root-window) which returns a window spanning the whole frame.

wasamasa
  • 21,803
  • 1
  • 65
  • 97