From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: Emacs load path Date: Fri, 1 Jan 2016 17:53:08 +0100 Message-ID: References: <87io3frjcd.fsf@gnu.org> <87ziwpjpd9.fsf@gnu.org> <87oad51cxj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aF2ww-0001pW-Gc for guix-devel@gnu.org; Fri, 01 Jan 2016 11:53:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aF2wv-0005sQ-M6 for guix-devel@gnu.org; Fri, 01 Jan 2016 11:53:10 -0500 In-Reply-To: <87oad51cxj.fsf@gmail.com> 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: Alex Kost Cc: Guix-devel , KAction@gnu.org On Fri, Jan 1, 2016 at 5:28 PM, Alex Kost wrote: > Ludovic Court=C3=A8s (2016-01-01 18:22 +0300) wrote: > >>> then we should definitely add code in a similar way to instruct emacs >>> to look in the right places (".../guix.d") for our emacs packages out >>> of the box. As Dmitry rightfully points out, having emacs packages >>> which do not work out of the box is just a bug. >> >> Yeah. Alex, any idea how to add the guix.d subdirectories to the search >> path without duplicating all of guix.el in the =E2=80=98emacs=E2=80=99 p= ackage? > > Yeah, no need to duplicate all of the guix elisp files. Only > "guix-emacs.el" (and its dependencies: "guix-profiles.el" and > "guix-config.el") is needed. And instead of (require 'guix-init) the > following code should be used to "activate" our .guix.d directories: there's no 'guix-config.el', but only 'guix-config.el.in'. It would be great if you could provide a working patch. Thanks, Fede