From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] build: emacs: Search elisp files in "share/emacs/site-lisp". Date: Tue, 21 Jun 2016 21:29:15 +0200 Message-ID: <87mvme1gtw.fsf@mdc-berlin.de> References: <87d1ncatv8.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]:57358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFRMa-00005p-9S for guix-devel@gnu.org; Tue, 21 Jun 2016 15:29:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFRMU-0006ES-5X for guix-devel@gnu.org; Tue, 21 Jun 2016 15:29:31 -0400 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:43421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFRMT-0006E9-Qq for guix-devel@gnu.org; Tue, 21 Jun 2016 15:29:26 -0400 In-Reply-To: <87d1ncatv8.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" To: Alex Kost Cc: guix-devel@gnu.org 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 b= e > added. The attached patch will do it. Thank you for the patch! This looks like the right thing to do. 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? ~~ Ricardo