简体   繁体   English

绝对纯emacs初始化

[英]absolutely pure emacs initialization

I'd like to run emacs without any installed plugins. 我想在没有任何已安装插件的情况下运行emacs。 Emacs manual says that you may use -q option to skip init file. Emacs手册说您可以使用-q选项跳过初始化文件。 I've tried emacs -q and discovered that plugins from /usr/share/emacs/site-lisp (ubuntu installs plugins here) are still loaded. 我尝试了emacs -q ,发现仍然从/ usr / share / emacs / site-lisp(这里是ubuntu安装插件)加载插件。

I've searched google about emacs's initialization routine and found nothing usefull. 我在google上搜索了有关emacs的初始化例程的信息,但没有发现有用的信息。 I'm curios what emacs do step by step while initializing and what variables, options, evironment, etc. may change default behaviour. 我想知道emacs在初始化时会逐步执行哪些操作,哪些变量,选项,环境等可能会更改默认行为。

Try emacs -Q 试试emacs -Q

From the manpage: 从联机帮助页:

-Q, --quick -Q,-快速
Similar to "-q --no-site-file --no-splash". 类似于“ -q --no-site-file --no-splash”。 Also, avoid processing X resources. 另外,避免处理X资源。


If you only want to avoid loading site lisp code, you might want to run 如果只希望避免加载站点Lisp代码,则可能需要运行

emacs -q --no-site-file

Emacs == self-documenting. Emacs ==自我记录。

Ch i g (emacs) Emacs Invocation RET CH 1 (emacs) Emacs Invocation RET

If you really want to get into the details, you can peruse startup.el with 如果您真的想深入了解细节,可以阅读startup.el与

Mx find-library RET startup RET MX find-library RET startup RET

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM