From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] gnu: emacs: Install site-start.el in non-versioned directory. Date: Sun, 24 Jul 2016 07:06:58 +0200 Message-ID: <87r3ajd3pp.fsf@elephly.net> References: <87k2geyk7t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRBdC-0001WQ-Ou for guix-devel@gnu.org; Sun, 24 Jul 2016 01:07:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRBd8-0005Di-O6 for guix-devel@gnu.org; Sun, 24 Jul 2016 01:07:14 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:24289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRBd8-0005DW-GC for guix-devel@gnu.org; Sun, 24 Jul 2016 01:07:10 -0400 In-reply-to: <87k2geyk7t.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 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 “site-start.el” file is version-agnostic, so I think this is the right approach. (I haven’t yet found the time to actually test your patch with my Emacs 25 package.) ~~ Ricardo