From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Howto run guix.el correctly? Date: Sat, 22 Nov 2014 21:49:00 +0300 Message-ID: <87d28fgjfn.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsFk3-00015v-Qn for guix-devel@gnu.org; Sat, 22 Nov 2014 13:49:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XsFjy-0000dR-C2 for guix-devel@gnu.org; Sat, 22 Nov 2014 13:49:07 -0500 Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:48489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XsFjy-0000dL-44 for guix-devel@gnu.org; Sat, 22 Nov 2014 13:49:02 -0500 Received: by mail-lb0-f179.google.com with SMTP id z11so901671lbi.38 for ; Sat, 22 Nov 2014 10:49:01 -0800 (PST) In-Reply-To: (Adam Pribyl's message of "Fri, 21 Nov 2014 23:28:36 +0100 (CET)") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Adam Pribyl Cc: guix-devel@gnu.org Adam Pribyl (2014-11-22 01:28 +0300) wrote: > I have folloed the instruction in > http://www.gnu.org/software/guix/manual/guix.html#Emacs-Interface > to get the emacs interface for guix, but there is something missing > probably. > > Installation of emacs and geiser was OK, I changed the path to guix.el > (there is no /usr/share/ in my guix installation, I had to find guix.el > in the /gnu/store), after that I can start emacs and "M-x guix-..." but > every action says "Cannot open load file: no such file or directory > geiser-mode". If you mean you did (add-to-list 'load-path "/gnu/store/..."), then it's definitely not right. > There should probably be also the geiser path in the emacs init file or > something? I assume you use a Guix (or GNU or whatever it should be called) system. I must admit I have not tried it yet, and all I know about setting "guix.el" there I learnt from a chat with davexunit on #guix today. So I think the following should be added to your emacs config: - Add dirs with "guix.el" and "geiser" to load-path (I'm absolutely not sure about the correctness of the paths, so double check please): (add-to-list 'load-path "/run/current-system/profile/share/emacs/site-lisp/") (add-to-list 'load-path "~/.guix-profile/share/emacs/site-lisp") - Initial setup of geiser: (require 'geiser-install) - Initial setup of guix: (require 'guix-init) -- Alex