From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH] gnu: emacs: Install site-start.el in non-versioned directory. Date: Sun, 24 Jul 2016 09:16:43 +0300 Message-ID: <87wpkbd0hg.fsf@gmail.com> References: <87k2geyk7t.fsf@gmail.com> <87r3ajd3pp.fsf@elephly.net> 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]:50861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRCiX-0004ds-Fc for guix-devel@gnu.org; Sun, 24 Jul 2016 02:16:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRCiT-0007Eq-80 for guix-devel@gnu.org; Sun, 24 Jul 2016 02:16:48 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:36048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRCiT-0007Ek-0I for guix-devel@gnu.org; Sun, 24 Jul 2016 02:16:45 -0400 Received: by mail-lf0-x244.google.com with SMTP id 33so9613847lfw.3 for ; Sat, 23 Jul 2016 23:16:44 -0700 (PDT) In-Reply-To: <87r3ajd3pp.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 24 Jul 2016 07:06:58 +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 Ricardo Wurmus (2016-07-24 08:06 +0300) wrote: > Alex Kost writes: > >> Ricardo tested Emacs 25 with this package definition: >> and noticed that it doesn't find >> Emacs packages in ~/.guix-profile. >> >> This happens because "site-start.el" in the inherited package is placed >> "/share/emacs/24.5/site-lisp" directory (the version part is wrong). To >> avod this, we can put "site-start.el" into a non-versioned site-lisp >> directory. The patch is attached. > > Thank you, Alex. > > As far as I understand, the generated =E2=80=9Csite-start.el=E2=80=9D fil= e is > version-agnostic, so I think this is the right approach. Yes, the code to find guix packages doesn't care about Emacs version. > (I haven=E2=80=99t yet found the time to actually test your patch with my= Emacs > 25 package.) I tested it :-) So I'm going to commit it soon. --=20 Alex