macos版本: catalina 10.15.1docker
emacs版本: emacs 26.3shell
源码编译安装macos
* with_ns在macos中是默认开启的app
* gnutls找不到的缘由是没有安装pkgconfig包code
* 提示的邮件客户端问题能够用 --with-mailutils --with-pop 解决ip
* 编译输出的路径是固定的, 在./configure时用--prefix=<INSTALL_PATH>来配置无效源码
* 输出路径就在源码目录的nextstep目录中, 检查其中的Emacs.app目录, 能够拷贝到/Applications 或 /Users/<user>/Applications中, 完成安装emacs
* 在mac中添加daemon 和client的应用程序图标:it
** 经过script editor 创建脚本文件, 并保存为Application类型, 脚本以下:io
do shell script "/Applications/Emacs.app/Contents/MacOS/Emacs --daemon"
do shell script "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c"
** 换图标: 路径: /Applications/Emacs.app/Contents/Resources/Emacs.icns
** daemon不要在docker中显示图标:/Applications/Emacs.app/Contents/info.plist
增长此字段:
<key>LSUIElement</key>
<true/>
** 创建binary快捷方式
相似创建图标的命令