From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Emacs-guix: variable is void: guix-current-profile Date: Thu, 3 Jan 2019 13:22:21 +0100 Message-ID: References: <87wonmasn6.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gf21D-0004oU-4p for help-guix@gnu.org; Thu, 03 Jan 2019 07:22:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gf21C-0003cF-1F for help-guix@gnu.org; Thu, 03 Jan 2019 07:22:35 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:35864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gf21B-0003ar-QH for help-guix@gnu.org; Thu, 03 Jan 2019 07:22:33 -0500 Received: by mail-wm1-x332.google.com with SMTP id p6so30110872wmc.1 for ; Thu, 03 Jan 2019 04:22:33 -0800 (PST) In-Reply-To: <87wonmasn6.fsf@ambrevar.xyz> 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: Pierre Neidhardt Cc: help-guix@gnu.org Dear Pierre, Thank you for your answer. > I strongly recommend that you install emacs-guix from Guix only, and not = from > MELPA. The thing is that Emacs-Guix relies on a scheme cache which goes = out of > sync if you switch from MELPA to Guix to install the package, or vice ver= sa. Hum? ok even if I am not sure to understand. >From my understanding, emacs-guix just eases the install of the non-elisp packages, e.g., guile. If I install the non-elisp requirements with Guix then emacs-guix from MELPA, it should work the same, isn't it? The ELisp code of emacs-guix installed with Guix lives in /gnu/store and the one of emacs-guix from MELPA lives in your personnal site-package. However, it is a bad idea to mix ELisp from Guix and from MELPA. I agree. > > Last, 'guix package -s gmsh' returns the package that I am looking for. > > However, `M-x guix p n gmsh' does not. > > For me, there is no "n" in `M-x guix p`. Anyways, you are probably bette= r off > using `M-x guix-packages-by-name`. The command `M-x guix-package-by-name` works; with the two ways of installa= tion. However, the popup interface does not; with the error "guix-popup-format-profile: Symbol=E2=80=99s value as variable is void: guix-current-profile" With this popup interface, the sequence `M-x guix p n' is roughly speaking a shortcut for `M-x guix-packages-by-name'. https://emacs-guix.gitlab.io/website/manual/latest/emacs-guix.html#Popup-In= terface Thank you in adavance for any tips. All the best, simon