Advanced techniques for reducing Emacs startup time
1–10 of 83 posts
Re: Advanced techniques for reducing Emacs startup time
#2Re: Advanced techniques for reducing Emacs startup time
#3I stopped autoloading things, as i found it less bothersome to wait 30 seconds for Emacs to load than to get surprised by an autoload delay while working.
Re: Advanced techniques for reducing Emacs startup time
#4Quoted post unavailable.
Re: Advanced techniques for reducing Emacs startup time
#5Easiest thing is just not to quit! I stopped autoloading things, as i found it less bothersome to wait 30 seconds for Emacs to load than to get surprised by an autoload delay while working.
Use emacsclient if you want to use it as $EDITOR.
Re: Advanced techniques for reducing Emacs startup time
#6Re: Advanced techniques for reducing Emacs startup time
#7I would also point out that early-init exists these days and is the best place for some startup logic (especially bits that prevent UI ever being shown so you don’t get weird flashes of stuff during startup).
Re: Advanced techniques for reducing Emacs startup time
#8My Emacs takes ages to start but for a reason. It takes most of the time to automatically load every file I've ever edited into a buffer. Finding the right buffer is much faster for me than navigating the filesystem, and whenever I use bookmarks they're outdated too quickly or I can't remember them. I guess my habit is the equivalent of piling papers on a desk.
Opening all buffers you've ever edited sounds nuts to me. What if one of the files you edited was a 10 gb log file or whatever?
Re: Advanced techniques for reducing Emacs startup time
#9Apparently they are getting close: https://github.com/jwiegley/use-package/issues/282
Until then, I have this in my init.el to install it if necessary:
;; Install use-package because that installs everything else
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(require 'use-package)Re: Advanced techniques for reducing Emacs startup time
#10Quoted post unavailable.
Completely unproductive comment teasing an old pointless flame war.
Most of the other comments are correctly suggesting to just not exit emacs. Something opening slowly once at the beginning of a long workflow is hardly an issue. If you must open something quickly over and over again, being proficient in a secondary lightweight editor like vim wouldn't be a bad suggestion.