Subject: Re: bug#16734: Default value org-odt-data-dir (in Emacs) makes no sense

From: Bastien <[email-masked]>
Date: Fri, 21 Mar 2014 08:53:30 +0100

Hi Glenn,

Glenn Morris <[email-masked]> writes:

> Package: emacs,org-mode
> Version: 24.3.50
>
> This refers to the version of Org mode in Emacs trunk.
>
> ./src/emacs -Q -l ox-odt
> C-h v org-odt-data-dir
>   -> Its value is "/usr/share/emacs/etc/org"
>
> This value is hard-coded (and autoloaded; why?) in org-version.el.
> This value makes no sense.
> For Emacs, it should be something based on data-directory.

Yes.

> This was pointed out before in some moderately lengthy discussion:
>
> http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00002.html
> http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00070.html

For now we will keep `org-odt-data-dir' in org-version.el that comes
with Org separate distributions (git, tar.gz and zip archives.)

> (In general, the setting of directory-related variables in ox-odt seems
> rather over-engineered.)

Indeed, we need to revisit this.

-- 
 Bastien