From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Emacs in multiple profiles Date: Thu, 22 Mar 2018 17:47:25 +0100 Message-ID: <9c395fd0-9458-7894-af8b-9294d212c60b@fastmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ez3NF-0006Jb-2F for help-guix@gnu.org; Thu, 22 Mar 2018 12:47:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ez3NB-0003fC-6H for help-guix@gnu.org; Thu, 22 Mar 2018 12:47:33 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:41175) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ez3NA-0003eY-Vm for help-guix@gnu.org; Thu, 22 Mar 2018 12:47:29 -0400 Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org 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. Konrad.