emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Achim Gratz <Stromeko@Nexgo.DE>
Cc: emacs-orgmode@gnu.org
Subject: Re: Location of OpenDocument style files should be configurable
Date: Thu, 29 Dec 2011 19:32:31 +0100	[thread overview]
Message-ID: <20220.45631.780613.706617@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <jdi62r$ach$1@dough.gmane.org>

>>>>> On Thu, 29 Dec 2011, Achim Gratz wrote:

> IMHO, an _installed_ org mode should never heuristically search
> any support files -- the location should either be recorded into
> org-install.el as a constant or made configurable as a defcustom,
> whichever is more appropriate.

Such heuristic searches are not uncommon in other elisp packages.
But I agree that it's the wrong approach. If the location is known at
build time, then it should be recorded somewhere in the lisp code.

>> Now my question, could the defconst be changed to a defvar, so that
>> we can specify the location in our site-start file? Or, preferably,
>> could the etcdir specified in "make" command be honoured in the
>> lisp code?

> Jambunathan will have to answer that, but a defvar seems the wrong
> solution to this problem.  Also site-start should probably not be
> (mis-)used to configure the behaviour of packages that the user may
> not actually use.

Well, we don't configure the behaviour, but just fix a wrong path.
Also Gentoo's site-start file requires org-install if org-mode is
installed on the user's system. So, for the user there won't be a
visible difference if the path is defined in org-install or in
site-start.

Of course, it is preferred if the upstream package gets things right,
so that we don't have to adjust them on the distro level.

Ulrich

  reply	other threads:[~2011-12-29 18:32 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
2011-12-30  9:07   ` Achim Gratz
2011-12-29 16:56 ` Achim Gratz
2011-12-29 18:32   ` Ulrich Mueller [this message]
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.45631.780613.706617@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=Stromeko@Nexgo.DE \
    --cc=emacs-orgmode@gnu.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).