emacsorphanage / req-package

dependency management system on top of use-package
GNU General Public License v3.0
152 stars 14 forks source link

Feature request: reloading packages #27

Closed ebpa closed 8 years ago

ebpa commented 9 years ago

I often make changes to package configuration after emacs and those packages have loaded. I've noticed that re-evaluating the req-package form for that package doesn't re-load the package and calling req-package-finish doesn't trigger it the re-load. After some digging I discovered that I could call req-package-eval to reload my package, but it would be nice to have a DWIM behavior.

It would be nice to trigger a reload when req-package forms are evaluated for loaded packages. I suppose these could either be queued pending another req-package-finish or immediately triggered. The behavior could be controlled by a config.

It's possible I'm misusing the package. If that's the case I would appreciate someone's correction. Otherwise I'll leave this as a NFR and maybe get around to writing a patch when I've got time.

edvorg commented 9 years ago

Hi, thank you for your request. I've been thinking about this feature. I will add it lately.

ebpa commented 9 years ago

Great! Kudos on the wonderful package. It makes life so much nicer :-)

edvorg commented 8 years ago

@ebpa Fixed, you could just evaluate req-package form and your configuration forms will be evaluated immediately.