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 18:54:08 +0100 Message-ID: References: <87wonmasn6.fsf@ambrevar.xyz> <87pntdc2er.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gf7CJ-000800-64 for help-guix@gnu.org; Thu, 03 Jan 2019 12:54:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gf7CH-0008Vs-Ux for help-guix@gnu.org; Thu, 03 Jan 2019 12:54:23 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:40368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gf7CH-0008Ug-Ov for help-guix@gnu.org; Thu, 03 Jan 2019 12:54:21 -0500 Received: by mail-wr1-x430.google.com with SMTP id p4so34360747wrt.7 for ; Thu, 03 Jan 2019 09:54:21 -0800 (PST) In-Reply-To: <87pntdc2er.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, > > If I install the non-elisp requirements with Guix then emacs-guix from > > MELPA, it should work the same, isn't it? > > No, because the MELPA version and the Guix version are not the same and the > requirements might be different. Ok, I naively assumed that they were synced. My bad. A quick check proves me that they are not. :-) Well, it does not solve the issue. The emacs-guix popup installed with Guix does not work, neither. clean ~/.emacs.d clean ~/.cache guix package -i emacs-guix emacs # version 26.1 M-x guix Then there is issue with the menu. For example the letter p is binded to processes and also to package. But it is another story. :-) > Emacs package management is rather simple while Guix gives you much more power, > including reproducibility. If you install everything from Guix, it gives you a > fairly strong guarantee that things will work out of the box. Yes for sure. :-) But when I install ELisp packages with MELPA, then I can easily modify on-the-fly the code of some function, e.g., change the docstring or add message or whatever. Easily because I am just doing `M-x find-function foo' then I edit `foo' as I want. When installed with Guix, it is not "so easy" because the ELisp package lives in the store and it is not a good idea to modify it. So I need to extract the function, etc. That's why I prefer MELPA for emacs packages than Guix (or Debian or whatever) package management. :-) Thank you for your explanations. All the best, simon