[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /srv/bzr/emacs/trunk r110286: Sync Org 7.9.2 from the commit tagged

From: Jambunathan K
Subject: Re: /srv/bzr/emacs/trunk r110286: Sync Org 7.9.2 from the commit tagged "release_7.9.2" in Org's Git repo.
Date: Mon, 01 Oct 2012 23:37:11 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> It's weird to see this as a constant (rather than something related to
> the installation prefix), since it won't be correct for many
> installations (but I did not check how it is actually used):
> ;;;###autoload
> (defconst org-odt-data-dir "/usr/share/emacs/etc/org"
>   "The location of ODT styles.")

In vanilla Emacs, org-odt-data-dir should be nil.

| (defvar org-odt-data-dir nil
|   "Data directory for ODT exporter.
| Use this to infer values of `org-odt-styles-dir' and
| `org-export-odt-schema-dir'.")

The style files will be picked from the 'system' (see below).

| (defconst org-odt-styles-dir-list
|   (list
|    (and org-odt-data-dir
|       (expand-file-name "./styles/" org-odt-data-dir)) ; bail out
|    (eval-when-compile
|      (and (boundp 'org-odt-data-dir) org-odt-data-dir ; see make install
|         (expand-file-name "./styles/" org-odt-data-dir)))
|    (expand-file-name "../etc/styles/" org-odt-lib-dir) ; git
|    (expand-file-name "./etc/styles/" org-odt-lib-dir)  ; elpa
|    (expand-file-name "./org/" data-directory)        ; system
|    )
|   "List of directories to search for OpenDocument styles files.
| See `org-odt-styles-dir'.  The entries in this list are populated
| heuristically based on the values of `org-odt-lib-dir' and
| `org-odt-data-dir'.")

ps-1: Recent changes to Make targets in Org repo touches
`org-odt-data-dir'.  I have not reviewed these changes closely.

ps-2: I have taken deliberate decision to stay out of Org-mode
development and the mailing list.  Any bugs in the ODT exporter in
vanilla Emacs will be promptly addressed (as long as it comes via
debbugs or other Emacs mailing lists)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]