【问题标题】:How can I start different mode with Emacs in command line?如何在命令行中使用 Emacs 启动不同的模式?
【发布时间】:2011-06-20 05:52:49
【问题描述】:

有没有办法使用命令行启动不同的 emacs 模式?例如,是否可以按如下方式运行 emacs?

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

之后我可以只运行 emacs 来输入“M-x org-mode”,但我想知道我是否可以启动不同的模式。

【问题讨论】:

    标签: emacs mode


    【解决方案1】:

    您可以使用 -f 参数调用函数,因此要启动 org-mode 使用:

    emacs -f org-mode
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-27
      • 2014-02-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-01
      • 1970-01-01
      • 2013-04-07
      相关资源
      最近更新 更多