From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Emacs in multiple profiles Date: Tue, 27 Mar 2018 18:38:38 +0300 Message-ID: <87zi2t4jgh.fsf@gmail.com> References: <9c395fd0-9458-7894-af8b-9294d212c60b@fastmail.net> <878tajzu03.fsf@gmail.com> <87a7uyd7qy.fsf@gmail.com> <874ll51mq3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0qgR-0000Ye-3W for help-guix@gnu.org; Tue, 27 Mar 2018 11:38:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0qgM-0003pO-Th for help-guix@gnu.org; Tue, 27 Mar 2018 11:38:47 -0400 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:43991) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0qgM-0003mz-L2 for help-guix@gnu.org; Tue, 27 Mar 2018 11:38:42 -0400 Received: by mail-lf0-x22e.google.com with SMTP id v207-v6so33966614lfa.10 for ; Tue, 27 Mar 2018 08:38:42 -0700 (PDT) In-Reply-To: (Konrad Hinsen's message of "Mon, 26 Mar 2018 10:24:15 +0200") 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: Konrad Hinsen Cc: help-guix@gnu.org Konrad Hinsen (2018-03-26 10:24 +0200) wrote: > Alex Kost writes: > >> But what your "current profile" is? How can emacs know about it? It >> "knows" only about the default (system and user) profiles. So if you > > I'd say Emacs knows nothing at all about profiles. It's Guix that > manages profiles for everyone else, be it bash, Python, or Emacs. To get > the behavior that I expected, Guix would have to define and manage an > environment variable, let's call it EMACS_PATH, which would be used in > site-start.el. > > What I cannot judge is how much effort it would be to implement such a > feature, and if it could have undesirable side-effects. As for me, I think the current behaviour (looking for packages only in the user and the system profiles) is the right one. If you want to auto-load emacs packages from some non-standard profiles, you can easily do this on your own (as I showed in the previous message). Anyway, if you think that some feature is missing, I would recommend to send a message to about it. Perhaps other people will agree with your point. -- Alex