ergoemacs-package & ergoemacs-autoload vs. use-package?

35 views
Skip to first unread message

tinakell...@gmail.com

unread,
Feb 9, 2018, 12:53:42 AM2/9/18
to ErgoEmacs
I’m pretty new to Emacs, so I used https://github.com/ergoemacs/ergoemacs-config to help me build my configuration. Now, some of it uses ergoemacs-package and some uses ergoemacs-autoload, the difference between which is explained in the functions’ documentation (though I’m nervous to say I didn’t really understand it).

However! In my init.el I generally use “use-package.” So now that I’ve manually copied package stuff from ergoemacs-config into my init.el, my init.el uses a combination of use-package, ergoemacs-package, and ergoemacs-autoload statements.

…I also need to iron out the kinks in my init.el in general (I’m getting a lot of weird bugs and segfaults lately). So here’s my first question. What is the functional difference between use-package and ergoemacs-package/ergoemacs-autoload? (Bonus points if you can explain the difference between ergoemacs-package and ergoemacs-autoload, i.e. when I would want to use each.) Thank you very much!

Matthew Fidler

unread,
Feb 9, 2018, 5:39:23 PM2/9/18
to ergo...@googlegroups.com
I think that most people use the use-package interface.

ergoemacs-package loads a package upon loading, and all the settings  upon loading.

ergoemacs-autoload loads the package and settings when thap package is loaded.

--
You received this message because you are subscribed to the Google Groups "ErgoEmacs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ergoemacs+...@googlegroups.com.
To post to this group, send email to ergo...@googlegroups.com.
Visit this group at https://groups.google.com/group/ergoemacs.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages