From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] build: emacs: Search elisp files in "share/emacs/site-lisp". Date: Tue, 21 Jun 2016 22:41:26 +0200 Message-ID: <87poramg09.fsf@gnu.org> References: <87d1ncatv8.fsf@gmail.com> <87mvme1gtw.fsf@mdc-berlin.de> 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]:43751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFSUJ-0001S6-7q for guix-devel@gnu.org; Tue, 21 Jun 2016 16:41:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFSUF-0003vx-0k for guix-devel@gnu.org; Tue, 21 Jun 2016 16:41:34 -0400 In-Reply-To: <87mvme1gtw.fsf@mdc-berlin.de> (Ricardo Wurmus's message of "Tue, 21 Jun 2016 21:29:15 +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" To: Ricardo Wurmus Cc: guix-devel@gnu.org, Alex Kost Ricardo Wurmus skribis: > Alex Kost writes: > >> Ricardo found a problem while working on some emacs package that >> requires EMMS: the elisp file(s) of this package is(are) not compiled. >> >> This happens because currently emacs-build-system adds only >> "share/emacs/site-lisp/guix.d/" to emacs load-path when it >> compiles elisp files, but some emacs packages (for example, emms) put >> their files in "share/emacs/site-lisp", so this directory should also be >> added. The attached patch will do it. > > Thank you for the patch! This looks like the right thing to do. +1 > Should we also (in a later patch) add a way to override or append to the > list of directories, e.g. via the =E2=80=9Carguments=E2=80=9C field? FWIW I=E2=80=99m not convinced this is necessary, but we can always see lat= er. Thanks! Ludo=E2=80=99.