选择打开方式为Emacs (Client)即可。 给命令行和GUI设置不同的theme (可选) 最后还要处理一个比较细节的问题,终端和GUI版本使用同一套主题可能会有问题。然而遗憾的是,emacs的主题是全局的,无法给frame单独设置,因此只能采取一些取巧的方法。 解决方法1: 第一种方法是当创建一个新frame时,根据frame的类型,手动调整...
Emacs有很多强大的插件,但是插件安装多了会导致启动速度很慢。为了解决这个问题,一个方法是使用emacs提供的server模式。 1|0基本用法[1] 启动emacs server: $ emacs --daemon 编辑文件 $ emacsclient file $ emacsclient -t file # 字符界面 $ emacsclient -c file # GUI界面 2|0添加命令行别名 为了...
您可以在shell中使用type找到emacsclient的适当路径(假设emacsclient -c在所述shell中工作):...
9 (defun gui-mode() (set-face-attribute 'default nil :font"Monospace-8") (require 'theme-wombat) (set-frame-size-according-to-resolution)) (add-hook 'server-visit-hook 'gui-mode) (when window-system (gui-mode)) 使用-e选项启动emacsclient,并使用它告诉它加载您的配置: 1 emacsclient -c...
git-gui(1) git-hash-object(1) git-help(1) git-http-backend(1) git-http-fetch(1) git-http-push(1) git-imap-send(1) git-index-pack(1) git-init-db(1) git-init(1) git-instaweb(1) git-log(1) git-lost-found(1) git-ls-files(1) git-ls-remote(1) git-ls-tree(1) git-ma...
Usecurrent-killinstead ofgui-get-selection. (#44. Thanks toAaron Zeng.) Parse queries withpeglibrary. Fixes Fontification of columns. (#36,#40. Thanks toOmar Antolín Camarenafor reporting, and toAaron Zengfor fixing.) Allow searching for tags containing spaces. (#43. Thanks toAlfonso Monter...
Usecurrent-killinstead ofgui-get-selection. (#44. Thanks toAaron Zeng.) Parse queries withpeglibrary. Fixes Fontification of columns. (#36,#40. Thanks toOmar Antolín Camarenafor reporting, and toAaron Zengfor fixing.) Allow searching for tags containing spaces. (#43. Thanks toAlfonso Monter...