joc*_*cap 8 emacs elisp loading
昨天,我:q想让Vim尝试Emacs一段时间.我使用的elisp(比Vimscript中的一百倍)开始,但即使当我第一次安装了它(通过yum),并改变了什么,花了大约30秒开始,仍然没有(GUI和-nw).
我查了一下*Messages*缓冲区:
Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)...done
Run Code Online (Sandbox Code Playgroud)
这些文件似乎特定于我安装的RPM包.我试着改变他们的名字,但没有区别.它仍然需要30秒.
我已经永远退出Emacs的(我只将其挂起),并试图在它做的一切部分解决了这个问题,但它会是不错偶尔打开两个的Emacs的,尤其是因为我用我的终端仿真器的分裂功能,而不是趋势类似的东西tmux.
我意识到Emacs的加载速度比Vim慢,但这对于全新安装来说似乎很荒谬.有谁知道发生了什么事?
谢谢!
Ste*_*fan 12
Emacs的PROBLEM文件说:
*** Emacs startup on GNU/Linux systems (and possibly other systems) is slow.
This can happen if the system is misconfigured and Emacs can't get the
full qualified domain name, FQDN. You should have your FQDN in the
/etc/hosts file, something like this:
127.0.0.1 localhost
129.187.137.82 nuc04.t30.physik.tu-muenchen.de nuc04
The way to set this up may vary on non-GNU systems.
Run Code Online (Sandbox Code Playgroud)
这种"慢启动"通常来自超时,30秒听起来是正确的.
作为旁注:在几乎所有机器都具有静态IP地址的日子里,导致这种减速的DNS查找被认为是重要/有用的.如今以这种方式收集的信息并不能证明这一努力是正确的,因此从Emacs-25开始,Emacs不会执行此DNS查找,因此这个问题应该不再存在.
| 归档时间: |
|
| 查看次数: |
5547 次 |
| 最近记录: |