Ludovic Courtès (2016-01-01 18:22 +0300) wrote: >> then we should definitely add code in a similar way to instruct emacs >> to look in the right places (".../guix.d") for our emacs packages out >> of the box. As Dmitry rightfully points out, having emacs packages >> which do not work out of the box is just a bug. > > Yeah. Alex, any idea how to add the guix.d subdirectories to the search > path without duplicating all of guix.el in the ‘emacs’ package?
Yeah, no need to duplicate all of the guix elisp files. Only "guix-emacs.el" (and its dependencies: "guix-profiles.el" and "guix-config.el") is needed. And instead of (require 'guix-init) the following code should be used to "activate" our .guix.d directories: (when (require 'guix-emacs nil t) (guix-emacs-load-autoloads)) -- Alex