From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: Why do we use ".../share/emacs/site-lisp/guix.d/"? Date: Mon, 9 May 2016 08:42:51 +0200 Message-ID: References: <878tzkhmah.fsf@gmail.com> <871t5cwcpd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azeu6-000376-G5 for guix-devel@gnu.org; Mon, 09 May 2016 02:42:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azeu4-0002qg-2d for guix-devel@gnu.org; Mon, 09 May 2016 02:42:53 -0400 Received: from mail-vk0-x241.google.com ([2607:f8b0:400c:c05::241]:34564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azeu3-0002qW-TV for guix-devel@gnu.org; Mon, 09 May 2016 02:42:52 -0400 Received: by mail-vk0-x241.google.com with SMTP id v68so4799899vka.1 for ; Sun, 08 May 2016 23:42:51 -0700 (PDT) In-Reply-To: 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 On Sun, May 8, 2016 at 10:06 PM, Federico Beffa wrote: > On Sun, May 8, 2016 at 9:51 PM, Alex Kost wrote: >> Federico Beffa (2016-05-08 19:23 +0300) wrote: >> >>> On Sun, May 8, 2016 at 12:33 PM, Alex Kost wrote: >>>> I should have asked this when emacs-build-system was introduced. Why >>>> does it put emacs packages in sub-directories of >>>> "/share/emacs/site-lisp/guix.d"? It looks more natural to me just to >>>> use "/share/emacs/site-lisp". >>>> >>>> I don't see any potential conflicts here: some packages will put their >>>> elisp files right in the site-lisp dir (gnu-build-system does it by >>>> default), and emacs-build-system can just use >>>> "/share/emacs/site-lisp/" sub-directories. >>>> >>>> "guix.d" seems redundant to me. What do people think? >>> >>> Answer here: >>> >>> https://lists.gnu.org/archive/html/guix-devel/2015-06/msg00398.html >> >> No it is not :-) I think you miss-understood my point. >> >> You said that we should put emacs packages into subdirectories, and I >> agree with this, but instead of the current: >> >> ".../site-lisp/guix.d/PACKAGE-NAME-VERSION/" >> >> I suggest to use: >> >> ".../site-lisp/PACKAGE-NAME-VERSION/" >> >> i.e., to remove "guix.d". OK, indeed I did misunderstood. "guix.d" was added for the following reasons. * There are some packages generating sub-directories. If one of those packages is not installed with the 'emacs-build-system', say because it provides configure/make scripts, then it may not be obvious which directory to add to the path in an automatic way. With "guix.d" you just add one layer down into each sub-directory. * It also makes it obvious that packages into that directory are installed in a guix specific way. Therefore, if you try to use them with an emacs from a foreign distro, you know that you have to do something to make them work. I'm therefore in favor of keeping "guix.d". Fede