开发者

How can I start Emacs with one process in the top window and another in the lower window of a frame?

开发者 https://www.devze.com 2022-12-31 11:52 出处:网络
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 fr开发者_如何学Goom the command line to run emacs with run-proc1 running in

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 fr开发者_如何学Goom the command line to run emacs with run-proc1 running in the upper window and run-proc2 running in the lower window.

Thanks!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消