Closed atomsi closed 2 years ago
使用163源: emacs-init-time: 78s
5d8728e0 donot install dictionary which is built in package since emacs28 (Chen Bin)
重启了不下10次,刚才启动 emacs-init-time: 96.1078b, messages: 1 Importing package-keyring.gpg...done 2 Contacting host: mirrors.163.com:443 3 Opening TLS connection to ‘mirrors.163.com’... 4 Opening TLS connection with ‘gnutls-cli --x509cafile /etc/pki/tls/certs/ca-bundle.crt -p 443 mirrors.163.com’...done 5 Opening TLS connection to ‘mirrors.163.com’...done 6 Contacting host: mirrors.163.com:443 [5 times] 7 Package refresh done 8 ‘dictionary’ is already installed 9 Loading /home/tom/.emacs.d/.session...done 10 Loading /home/tom/.emacs.d/company-statistics-cache.el (source)...done 11 Saving file /home/tom/.emacs.d/custom-set-variables.el... 12 Wrote /home/tom/.emacs.d/custom-set-variables.el 13 For information about GNU Emacs and the GNU system, type C-h C-a. 14 Package tls is deprecated 15 96.107851 seconds
或者这样问一下, emacs启动时为什么要多次建立TLS连接?这个可能就是我这里耗时的主要原因。 如果用Emacs -q emacs-init-time: 0.00094 多谢!
更新到最新配置就行了. emacs就是这么设计的, 每个包都要重新连接服务器
it works! thanks for your update
version: