From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: emacs packages Date: Fri, 19 Jun 2015 14:13:51 +0200 Message-ID: <87twu3x5ds.fsf@gnu.org> References: <878ubjskwj.fsf@gnu.org> 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]:34746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5vBF-0002S8-Bq for guix-devel@gnu.org; Fri, 19 Jun 2015 08:13:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5vBB-0002AW-UK for guix-devel@gnu.org; Fri, 19 Jun 2015 08:13:57 -0400 In-Reply-To: (Federico Beffa's message of "Wed, 17 Jun 2015 09:42:44 +0200") 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: Federico Beffa Cc: Guix-devel Federico Beffa skribis: > On Tue, Jun 16, 2015 at 6:00 PM, Ludovic Court=C3=A8s wrot= e: [...] >>> To make those packages automatically available in Emacs without the >>> need for any code in the user '.emacs' file, I would suggest to >>> include in our Emacs package site initialization file some custom code >>> (to activate our ELPA emacs packages) such as the one in the attached >>> 'guix-elpa.el' file. >> >> guix.el already takes care of that (info "(guix) Emacs Initial Setup"), >> so that should be enough. > > Unfortunately this doesn't work without modification. The reason is > that I follow the emacs package.el strategy to install each ELPA > package in it's own sub-directory. Specifically, I'm installing each > package into ".../site-lisp/guix.d/PACKAGE-NAME-VERSION/". The code > in 'guix.el', however, doesn't look in sub-directories below the > profile's '.../site-lisp'. What does it bring us to follow package.el=E2=80=99s strategy? My impression is that we could simply follow what guix.el already does, and thus avoid that guix.d/PACKAGE-VERSION sub-directory. Of course we can adjust guix.el as we see fit, but package.el is a completely separate beast anyway. Am I missing something? Thanks, Ludo=E2=80=99.