How can I start Emacs with one process in the top window and another in the lower window of a frame?
Question
I have some processes that run from functions, i.e.: M-x run-proc1 M-x run-proc2
I would like to know what command to issue from the command line to run emacs with run-proc1
running in the upper window and run-proc2
running in the lower window.
Thanks!
Solution
You might get better answers later, but appending this to your ~/.emacs.d/init.el might work.
(split-window-vertically)
(run-proc1)
(other-window)
(run-proc2)
(other-window)
Alternatively (for another approach), see this link.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow