Re: [PATCH] Separate Emacs miscellaneous files directory from Emacs code directory.
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 25 Oct 2011 08:15:15 +0000 (11:15 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:45 +0000 (09:39 -0800)
f7/879f380e6d3a81082bd39195fd82f904e99225 [new file with mode: 0644]

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