emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#16734: Default value org-odt-data-dir (in Emacs) makes no sense
@ 2014-02-13  1:59 Glenn Morris
  2014-02-15  6:46 ` Jambunathan K
  2014-03-21  7:53 ` Bastien
  0 siblings, 2 replies; 3+ messages in thread
From: Glenn Morris @ 2014-02-13  1:59 UTC (permalink / raw)
  To: 16734

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.)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#16734: Default value org-odt-data-dir (in Emacs) makes no sense
  2014-02-13  1:59 bug#16734: Default value org-odt-data-dir (in Emacs) makes no sense Glenn Morris
@ 2014-02-15  6:46 ` Jambunathan K
  2014-03-21  7:53 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Jambunathan K @ 2014-02-15  6:46 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 16734


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@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.)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#16734: Default value org-odt-data-dir (in Emacs) makes no sense
  2014-02-13  1:59 bug#16734: Default value org-odt-data-dir (in Emacs) makes no sense Glenn Morris
  2014-02-15  6:46 ` Jambunathan K
@ 2014-03-21  7:53 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2014-03-21  7:53 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 16734

Hi Glenn,

Glenn Morris <rgm@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-21  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13  1:59 bug#16734: Default value org-odt-data-dir (in Emacs) makes no sense Glenn Morris
2014-02-15  6:46 ` Jambunathan K
2014-03-21  7:53 ` Bastien

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).