Re: [PATCH] Separate Emacs miscellaneous files directory from Emacs code directory.

Subject: Re: [PATCH] Separate Emacs miscellaneous files directory from Emacs code directory.

Date: Tue, 25 Oct 2011 10:40:07 +0200

To: Tomi Ollila

Cc: notmuch

From: Amadeusz Żołnowski


Excerpts from Tomi Ollila's message of 2011-10-25 10:15:15 +0200:
> 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 policy in Gentoo with Emacs is to put misc files into separate
directory which defaults to /usr/share/emacs/etc.

It's how I use these options in my ebuild:

  --emacslispdir="${ROOT}/${SITELISP}/${PN}"
  --emacsetcdir="${ROOT}/${SITEETC}/${PN}"

(${PN} is package name.)

Without this option I need to alter locations of notmuch-logo.png later,
which is ugly.  New option doesn't hurt existing usage and helps Gentoo.
:-)


-- 
Amadeusz Żołnowski
signature.asc (application/pgp-signature)

Thread: