Emacs 从零开始写配置

Revision as of 15:33, 17 March 2026 by Mwroot (talk | contribs)

据 ChatGPT 所说,Emacs 启动顺序为:

1 启动 C 核心
2 初始化 load-path
3 加载 site-start.el(系统级配置)
4 加载 early-init.el(用户早期配置)
5 初始化 package.el
6 加载 init.el 或 .emacs(用户配置)
7 Emacs 完全启动

平台

load-path

好的 load-path 方式为,自动扫描插件目录,在插件出问题时可以全删干净,不影响早期有效配置。