有许多在线指南可以安装emacs。它们都是相同的(就像我链接的那个一样)。
sudo apt-get install emacs
emacs testfile (SUPPOSED to runs the GUI)
emacs -nw testile (-nw runs emacs in the terminal)
我刚安装了Ubuntu 14.04并安装了emacs。当我运行
emacs testfile
时,它只是在终端窗口内运行emacs。我已经在网上和man emacs
中搜索过,但我没有看到任何关于强制emacs使用GUI的信息。有没有人知道是否有秘密设置或命令行选项可以切换默认使用GUI还是终端模式?