From: Ulrich Mueller <ulm@gentoo.org>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: bzg@altern.org, seb@debian.org, emacs-orgmode@gnu.org,
davemarq@us.ibm.com
Subject: Re: Location of OpenDocument style files should be configurable
Date: Thu, 29 Dec 2011 17:56:47 +0100 [thread overview]
Message-ID: <20220.39887.631435.743160@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <8162gzpdl1.fsf@gmail.com>
>>>>> On Thu, 29 Dec 2011, Jambunathan K wrote:
>> According to our policy, non-lisp files would go to
>> /usr/share/emacs/etc/org-mode/. We would pass this as the "etcdir"
>> parameter to "make install", so the odt style files would be
>> installed in stylesdir = /usr/share/emacs/etc/org-mode/styles/.
> Org-7.8.x has been accepted in to Emacs-24.1 [1]. I have proposed that
> the style files go as "c:/Program Files/emacs-24.0.92/etc/org/*.xml"
> [2]. Note that under stock Emacs, the org package go under "org" subdir.
> (locate-library "org.elc") => "c:/Program Files/emacs-24.0.92/lisp/org/org.elc"
> So, will it be acceptable, if org-odt.el searches for styles file
> under <wherever-org-odt.elc-is>/../../etc/org/. (For vanilla Emacs,
> this is same as `data-directory'/etc/org. See C-h v data-directory)
> This way the package structure under gentoo will parallel the
> structure under stock Emacs.
Gentoo policy is to install auxiliary (non-lisp) files under
/usr/share/emacs/etc/${PN}/ where PN is the package name. The Gentoo
package is named "org-mode" not "org".
And I guess you'll not be able to catch all possible cases by adding
even more paths like ../../etc/org/ to the heuristics of your search.
Such a solution looks like a dead end to me.
> I am copying Sebastien (the debian maintainer) and Dave (who fixed
> the Makefile subsequent to 7.8.02) release. If there is consensus,
> I will fix org-odt.el and also Makefile.
> Side Note: I am little bit hesitant to make org-odt-styles-dir a
> defcustom. Already there are defcustoms for org-export-odt-styles-file
> and org-export-odt-content-template-file and making org-odt-styles-dir
> will add needless confusion to the users.
I wasn't asking for a defcustom, a defvar for org-odt-styles-dir would
be sufficient and wouldn't add confusion for users. This way, we could
simply setq the variable in our site-init file.
On the long term, another solution would be to collect all
Makefile-configurable paths (lispdir, stylesdir, etc.) in a file
org-paths.el that would be auto-generated by make.
Ulrich
next prev parent reply other threads:[~2011-12-29 16:57 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-29 11:24 Location of OpenDocument style files should be configurable Ulrich Mueller
2011-12-29 16:06 ` Jambunathan K
2011-12-29 16:56 ` Ulrich Mueller [this message]
2011-12-30 9:07 ` Achim Gratz
2011-12-29 16:56 ` Achim Gratz
2011-12-29 18:32 ` Ulrich Mueller
2011-12-30 19:53 ` Jambunathan K
2011-12-31 0:07 ` Ulrich Mueller
2012-01-01 18:35 ` Ulrich Mueller
2012-01-01 20:43 ` Ulrich Mueller
2012-01-02 14:10 ` Jambunathan K
2012-01-03 9:38 ` Ulrich Mueller
2012-01-03 10:20 ` Bastien
2012-01-03 14:59 ` Ulrich Mueller
2012-01-03 10:26 ` Bastien
2012-01-03 13:59 ` Ulrich Mueller
2012-02-24 11:01 ` Jambunathan K
2012-02-24 11:20 ` Jambunathan K
2012-01-02 22:11 ` Achim Gratz
2012-01-03 10:10 ` Ulrich Mueller
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://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220.39887.631435.743160@a1i15.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=bzg@altern.org \
--cc=davemarq@us.ibm.com \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
--cc=seb@debian.org \
/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://git.savannah.gnu.org/cgit/emacs/org-mode.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).