help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs in multiple profiles


From: Alex Kost
Subject: Re: Emacs in multiple profiles
Date: Fri, 23 Mar 2018 00:21:32 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]