unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tomi Ollila <tomi.ollila@iki.fi>
To: Thomas Jost <schnouki@schnouki.net>
Cc: notmuch@notmuchmail.org, "Amadeusz Żołnowski" <aidecoe@aidecoe.name>
Subject: Re: [PATCH] Separate Emacs miscellaneous files directory from Emacs code directory.
Date: Tue, 25 Oct 2011 11:15:15 +0300	[thread overview]
Message-ID: <yf662jdwkq4.fsf@taco2.nixu.fi> (raw)
In-Reply-To: <87vcrdh7df.fsf@thor.loria.fr> (Thomas Jost's message of "Tue, 25 Oct 2011 09:12:44 +0200")

On Tue 25 Oct 2011 10:12, Thomas Jost <schnouki@schnouki.net> writes:

> On Mon, 24 Oct 2011 22:13:11 -0300, David Bremner <david@tethera.net> wrote:
>> On Mon, 24 Oct 2011 20:34:58 +0200, Amadeusz Żołnowski <aidecoe@aidecoe.name> wrote:
>> > --emacsetcdir was added, but it's set default to the same value as
>> > --emacslispdir for backward compatibility.
>> > ---
>> 
>> 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 

PREFIX/share/emacs/<version>/etc; 

In PREFIX/share/emacs/<version> 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=${EMACSETCDIR}
>
> $EMACSETCDIR is not for emacs lisp files (that's what $EMACSLISPDIR is
> for), so this line needs be fixed.

indeed.

>
> Regards
>
> -- 
> Thomas/Schnouki

Tomi

  parent reply	other threads:[~2011-10-25  8:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 18:34 [PATCH] Separate Emacs miscellaneous files directory from Emacs code directory Amadeusz Żołnowski
2011-10-25  1:13 ` David Bremner
2011-10-25  7:12   ` Thomas Jost
2011-10-25  8:07     ` [PATCH] Separate Emacs misc. files dir. from Emacs code dir Amadeusz Żołnowski
2011-10-28 17:10       ` David Bremner
2011-10-25  8:11     ` [PATCH] Separate Emacs miscellaneous files directory from Emacs code directory Amadeusz Żołnowski
2011-10-25  8:17       ` Tomi Ollila
2011-10-25  8:31         ` Amadeusz Żołnowski
2011-10-25  8:50           ` Tomi Ollila
2011-10-25  8:15     ` Tomi Ollila [this message]
2011-10-25  8:40       ` Amadeusz Żołnowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yf662jdwkq4.fsf@taco2.nixu.fi \
    --to=tomi.ollila@iki.fi \
    --cc=aidecoe@aidecoe.name \
    --cc=notmuch@notmuchmail.org \
    --cc=schnouki@schnouki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).