On Wed, Dec 30, 2015 at 7:55 PM, Alex Kost <alez...@gmail.com> wrote: >> A useful approach would be to fix the problem such that if a user >> installs emacs with guix the above steps happen automatically without >> any user intervention. > > Yeah, it would probably be a good default, but only if this default can > be changed. I mean if I didn't install emacs packages with guix, I would > like to avoid loading an additional code for that. In GuixSD I can do > it with "export EMACSLOADPATH=", so if our Emacs package will somehow > "automagically" look at "~/.guix-profile/share/emacs/site-lisp/guix.d/…" > directories, I want to have a way to disable this feature.
I would mimic the emacs package system: The packages are loaded after loading the init file. To disable automatic package loading, you can change the variable ‘package-enable-at-startup’ to ‘nil’. Regards, Fede