News for hackers. Stuff that matters.
Re:Making Emacs Work for Me by agumonkey on Sunday November 30, 2014 @02:57PM (#8677855)
Have you heard of req-package ? a wrapper around use-package that gives helps organizing requirements, configuration and initialization of any given package.

see one instance https://github.com/rejeep/emacs/blob/master/init.el

Re:Making Emacs Work for Me by berdario on Sunday November 30, 2014 @07:09PM (#8678818)
Uh, just the other day I did a change to my init.el, which is apparently similar to what I'd have done with req-package

https://github.com/berdario/dotfiles/compare/8e98d5569a4caaf...

req-compare is cleaner, but otoh I have a different use case: the rationale for my change was to avoid errors when package installation fails (due to lack of network, for example... it might happen if I synced the init.el changes earlier without opening Emacs), while still executing all the other packages configuration/initialization steps

Re:Making Emacs Work for Me by codemac on Sunday November 30, 2014 @04:06PM (#8678090)
I've never even used use-package..

Is this just to eliminate dependency ordering? With things like package-initialize, most every package in my system is autoloaded before any of my init.el really runs.

It's a nice visual structure to look at, though, that's for sure.

Re:Making Emacs Work for Me by sjm on Sunday November 30, 2014 @08:50PM (#8679113)
That is one part of it, but it has a lot of other benefits too. I recently switched to using use-package to do all my package installation and configuration, and my emacs-init-time improved dramatically because use-package can set up smart deferring of loading based on commands or bindings. It's worth having a read through the repo readme: https://github.com/jwiegley/use-package

As an example here's my package init using use-package: https://github.com/stafu/.emacs.d/blob/master/init/init-pack...

Re:Making Emacs Work for Me by agumonkey on Sunday November 30, 2014 @04:44PM (#8678245)
I think it also ensure installation on first require so you don't have to pre-install then configure. req-package adds some runtime dependency yeah, I don't use it as for now though.