Konrad Hinsen (2018-03-22 17:47 +0100) wrote: > Dear Guixers, > > Is anyone aware of a way to have different Emacs configurations > (i.e. different add-on packages) in distinct profiles? > > I tried to set up a new profile with just "emacs" in it, but when I run > that Emacs it load all the Emacs Lisp packages from my main profile. I > traced this down to site-start.el loading guix-emacs.el, which has the > main profile hard-coded and therefore loads all the packages from there: > > (defvar guix-user-profile (expand-file-name "~/.guix-profile")) > > Since nothing runs before site-start.el, I don't see how I could > override this definition. My only choice is to use the -Q option on the > Emacs command line to bypass site-start.el altogether. But then I don't > get the packages from my new profile either.
It's not the only choice. You can also use "--no-site-file". It is also mentioned at: https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#Emacs-Packages -- Alex