overtone / emacs-live

M-x start-hacking
http://overtone.github.com/emacs-live/
Other
1.51k stars 241 forks source link

Fixed `org-odt-data-dir`. #202

Closed rothmichaels closed 8 years ago

rothmichaels commented 9 years ago

org-odt-data-dir was being set to an abosulte path for org-mode included with emacs installed in /usr/share.

Updated org-odt-dat-dir to point to the org-mode pack.

rothmichaels commented 9 years ago

Forgot about this one; last one for real.

samaaron commented 9 years ago

Apologies, I'm not quite sure what's going on here... Could you explain a little more?

rothmichaels commented 9 years ago

Running org-odt-export-to-odt requires certain files in the directory referenced by org-odt-data-dir (e.g. OrgOdtStyles.xml). Org-pack was defining this variable to the hard coded path /usr/share/emacs/etc/org, which is not available to all emacs installs.

The org-pack does contain a valid org/odt data directory at org-pack/lib/org-mode/etc.

I made the following changes:

Sorry for the brief pull request description. Let me know if you have any other questions or if you'd like me to rebase this or other pull requests on your latest work.

rothmichaels commented 8 years ago

Any thoughts on this one? Got more questions? Here is a super brief summary:

rothmichaels commented 8 years ago

Closing because I later realized this was not the correct place to set this variable.