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: Mon, 25 Jul 2016 17:24:04 +0300 Message-ID: <87k2g9kd8b.fsf@gmail.com> References: <87k2geyk7t.fsf@gmail.com> <87r3ajd3pp.fsf@elephly.net> <87wpkbd0hg.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]:51239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRgnj-0001vH-0W for guix-devel@gnu.org; Mon, 25 Jul 2016 10:24:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRgnf-0001dz-RI for guix-devel@gnu.org; Mon, 25 Jul 2016 10:24:10 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:33510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRgnf-0001dt-J5 for guix-devel@gnu.org; Mon, 25 Jul 2016 10:24:07 -0400 Received: by mail-lf0-x244.google.com with SMTP id f93so11246094lfi.0 for ; Mon, 25 Jul 2016 07:24:07 -0700 (PDT) In-Reply-To: <87wpkbd0hg.fsf@gmail.com> (Alex Kost's message of "Sun, 24 Jul 2016 09:16:43 +0300") 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 (2016-07-24 09:16 +0300) wrote: > 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 fi= le 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 m= y Emacs >> 25 package.) > > I tested it :-) So I'm going to commit it soon. Committed as c48899e. --=20 Alex