Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 102B3431FD0 for ; Tue, 25 Oct 2011 01:15:20 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OhjI-gONDQxE for ; Tue, 25 Oct 2011 01:15:18 -0700 (PDT) Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 59D33431FB6 for ; Tue, 25 Oct 2011 01:15:18 -0700 (PDT) Received: from taco2.nixu.fi (localhost [127.0.0.1]) by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9P8FFC9032186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 25 Oct 2011 11:15:15 +0300 Received: (from too@localhost) by taco2.nixu.fi (8.14.3/8.14.3/Submit) id p9P8FF2u032185; Tue, 25 Oct 2011 11:15:15 +0300 X-Authentication-Warning: taco2.nixu.fi: too set sender to tomi.ollila@nixu.com using -f From: Tomi Ollila To: Thomas Jost Subject: Re: [PATCH] Separate Emacs miscellaneous files directory from Emacs code directory. References: <1319481298-2837-1-git-send-email-aidecoe@aidecoe.name> <87d3dl98m0.fsf@zancas.localnet> <87vcrdh7df.fsf@thor.loria.fr> X-Face: HhBM'cA~ (Thomas Jost's message of "Tue, 25 Oct 2011 09:12:44 +0200") Message-ID: User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: notmuch@notmuchmail.org, Amadeusz =?utf-8?B?xbtvxYJub3dz?= =?utf-8?B?a2k=?= X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2011 08:15:20 -0000 On Tue 25 Oct 2011 10:12, Thomas Jost writes: > On Mon, 24 Oct 2011 22:13:11 -0300, David Bremner wro= te: >> On Mon, 24 Oct 2011 20:34:58 +0200, Amadeusz =C5=BBo=C5=82nowski wrote: >> > --emacsetcdir was added, but it's set default to the same value as >> > --emacslispdir for backward compatibility. >> > --- >>=20 >> At a quick search, I couldn't find any reference to --emacsetcdir >> outside Gentoo. I'd like to hear what other people think about this one. > > I had never heard of that, but apparently there's a > /usr/share/emacs/24.0.90/etc on my system which contains images, READMEs > and other misc files. It's also described in the "data-directory" > variable in Emacs: > > data-directory is a variable defined in `C source code'. > Its value is "/usr/share/emacs/24.0.90/etc/" > > Documentation: > Directory of machine-independent files that come with GNU Emacs. > These are files intended for Emacs to use while it runs. > > So I guess it can't hurt to add this. except... emacslispdir is supposed to be PREFIX/share/emacs/site-lisp In case emacsetcdir is not set to anything else this is to be the same. But what is the value for emacsetcdir used in Gentoo ? ------------------------------------------------------ The above "/usr/share/emacs/24.0.90/etc/" is analogous to=20 PREFIX/share/emacs//etc;=20 In PREFIX/share/emacs/ there is also (23.a in question): drwxr-xr-x. 11 root root 4096 May 31 13:49 etc/ drwxr-xr-x. 4 root root 4096 May 31 13:49 leim/ drwxr-xr-x. 23 root root 12288 May 31 13:49 lisp/ drwxr-xr-x. 2 root root 4096 May 31 13:49 site-lisp/ (this site-lisp is different than the emacslispdir in question, so the 'etc' here doesn't match emacsetcdir... but hey! maybe the answer to the above question is: PREFIX/share/emacs/etc ? ) Anyway, I'm for inclusion of this patch, provided that there is good explanation of it -- It doesn't seem to break things. > > However there is something annoying in the commit: > > +# The directory to which emacs lisp files should be installed > +emacsetcdir=3D${EMACSETCDIR} > > $EMACSETCDIR is not for emacs lisp files (that's what $EMACSLISPDIR is > for), so this line needs be fixed. indeed. > > Regards > > --=20 > Thomas/Schnouki Tomi