开发者

How can I start different mode with Emacs in command line?

开发者 https://www.devze.com 2023-02-08 09:04 出处:网络
Is there a way to sta开发者_如何学Pythonrt different emacs mode using command line? For example, is it possible to run emacs as follows?

Is there a way to sta开发者_如何学Pythonrt different emacs mode using command line? For example, is it possible to run emacs as follows?

   emacs --org-mode # to start orgmode
   emacs --python-mode # to start python mode

I can just run emacs to input 'M-x org-mode' thereafter, but I wonder if I can start different modes.


You can call functions with the -f argument, so to start org-mode use:

emacs -f org-mode
0

精彩评论

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