开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜