Fast emacs implementation with dump-emacs?

I came across this article about speeding up emacs startup.

I wanted to try, but I have segfault. Has anyone been able to do this for the latest versions of emacs?

Here is the makefile I am using:

emacs=/usr/local/bin/emacs fast-emacs: /usr/local/bin/emacs ~/.emacs $(emacs) -Q --batch -l "~/.emacs" \ --execute "(dump-emacs \"fast-emacs\" \"$(emacs)\")" 
+4
source share
2 answers

This trick stops working after emacs21, and dump-emacs now only works with bootstrap temacs to turn it into full-screen emacs. When emacs has been reset once, it cannot be reset again.

The site-init.el that the wiki refers to can do the trick, but I suspect you will encounter serious stability issues after you start including a bunch of packages in the image. All in all, it's not really worth it.

+3
source

Another solution was published in Reddit if the linked page above does not work or does not work, and the proposed solution should be faster (launch time: 0.00 seconds).

http://www.reddit.com/r/emacs/comments/2rietp/dumpemacs_truly_speeds_up_emacs_startup/

0
source

Source: https://habr.com/ru/post/1492248/


All Articles