From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Re: Emacs in multiple profiles Date: Fri, 23 Mar 2018 08:57:08 +0100 Message-ID: References: <9c395fd0-9458-7894-af8b-9294d212c60b@fastmail.net> <878tajzu03.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ezHZa-0003NF-CZ for help-guix@gnu.org; Fri, 23 Mar 2018 03:57:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ezHZV-00074g-Hz for help-guix@gnu.org; Fri, 23 Mar 2018 03:57:14 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:59619) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ezHZV-00074O-BC for help-guix@gnu.org; Fri, 23 Mar 2018 03:57:09 -0400 In-Reply-To: <878tajzu03.fsf@gmail.com> 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: Alex Kost , help-guix@gnu.org Hi Alex, Alex Kost writes: >> 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 Right, but that's not very different from -Q: I get no start-site at all and thus none of the Guix-installed packages. What I am looking for is a way to get the packages that I put into the profile from which I started Emacs. I suspect that this could only be done via some environment variable, analogous $PATH and others. Emacs doesn't consult any such variable, and it seems that Guix didn't introduce one either. At least I didn't find any. Is this a decision made for a good reason, or just something "to be done"? I could image guix-emacs.el consult a Guix-specific "Emacs path" for constructing the internal load-path. Konrad.