GNU bug report logs - #16734
Default value org-odt-data-dir (in Emacs) makes no sense

Previous Next

Packages: org-mode, emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 13 Feb 2014 02:00:02 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16734 in the body.
You can then email your comments to 16734 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#16734; Package emacs,org-mode. (Thu, 13 Feb 2014 02:00:02 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: Default value org-odt-data-dir (in Emacs) makes no sense
Date: Wed, 12 Feb 2014 20:59:55 -0500
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.

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

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




Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#16734; Package emacs,org-mode. (Sat, 15 Feb 2014 19:21:02 GMT) Full text and rfc822 format available.

Message #6 received at 16734 <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16734 <at> debbugs.gnu.org
Subject: Re: bug#16734: Default value org-odt-data-dir (in Emacs) makes no
 sense
Date: Sat, 15 Feb 2014 12:16:55 +0530
See these posts.

    http://permalink.gmane.org/gmane.emacs.orgmode/81330
    http://permalink.gmane.org/gmane.emacs.orgmode/81364

If Org is run from Vanilla Emacs then setting then setting that to
`org-odt-data-dir' to nil should work (I think).

The primary consumer of `org-odt-data-dir' is a package distributor who
distributes a STANDALONE org.  He can set this variable to the location
in the file system where he has dumped the styles file.

From the archives:
    http://lists.gnu.org/archive/html/emacs-orgmode/2012-01/msg00020.html


Glenn Morris <rgm <at> gnu.org> 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.
>
> 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
>
> (In general, the setting of directory-related variables in ox-odt seems
> rather over-engineered.)




bug marked as fixed in version 24.4, send any further explanations to 16734 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 25 Feb 2014 18:12:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#16734; Package emacs,org-mode. (Fri, 21 Mar 2014 07:54:02 GMT) Full text and rfc822 format available.

Message #11 received at 16734 <at> debbugs.gnu.org (full text, mbox):

From: Bastien <bzg <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16734 <at> debbugs.gnu.org
Subject: Re: bug#16734: Default value org-odt-data-dir (in Emacs) makes no
 sense
Date: Fri, 21 Mar 2014 08:53:30 +0100
Hi Glenn,

Glenn Morris <rgm <at> gnu.org> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Apr 2014 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.