From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Guix and Emacs Integration for Polyglot Development Date: Fri, 26 Oct 2018 20:04:49 +0300 Message-ID: <87ftwsprke.fsf@gmail.com> References: <87wos9rp5y.fsf@gnu.org> <87wos5cma6.fsf@gnu.org> <87tvn9s14w.fsf@gnu.org> <87k1o5b05d.fsf@gnu.org> <875zz9gm8w.fsf@gnu.org> <875zz7epb6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG5Xk-0000YC-1b for help-guix@gnu.org; Fri, 26 Oct 2018 13:05:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG5Xf-0004bj-2q for help-guix@gnu.org; Fri, 26 Oct 2018 13:05:03 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:51434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG5Xe-0004Se-Qn for help-guix@gnu.org; Fri, 26 Oct 2018 13:04:58 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 143-v6so2165225wmf.1 for ; Fri, 26 Oct 2018 10:04:51 -0700 (PDT) In-Reply-To: (George Clemmer's message of "Fri, 26 Oct 2018 00:59:34 -0400") 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: George Clemmer Cc: help-guix@gnu.org George Clemmer (2018-10-26 00:59 -0400) wrote: > Hi Alex, Hello George! > I have been using code like ... > > (with-eval-after-load (quote guix-ui-profile) > (setq guix-profiles > (append (quote("/home/glc/gom/.guix-profile")) guix-profiles))) > (setq guix-current-profile "/home/glc/gom/.guix-profile") > > ... to add a "project" profile to *Guix Profile* and make it > current. This has my desired effect: "making" emacs-guix package-related > commands operate on a "project" profile instead of the "default user > profile". Using your commit ... > > 4ce2b6a * master origin/master Add new 'guix' command and rename the old > one to 'guix-command' Hint: since you are on this commit, you may check the new "M-x guix" - you will be the first person who will try it (maybe you will like it this time) ;-) > ... I tried "guix-set-emacs-environment" expecting it to be another way > to do the same thing. I was surprised when it didn't add the "new" > profile to *Guix Profiles*. Shouldn't it do this, or am I missing > something? In fact, it doesn't seem to be doing anything :-( "M-x guix-set-emacs-environment" sets environment variables for Emacs itself! For example, you may check "M-x getenv PATH" or other variables. They should be augmented for the profile you selected. -- Alex