From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: bug#16734: Default value org-odt-data-dir (in Emacs) makes no sense Date: Sat, 15 Feb 2014 12:16:55 +0530 Message-ID: <871tz4kh40.fsf__17133.1739672043$1392741261$gmane$org@gmail.com> References: <0d8utf7ox0.fsf__31384.3091288165$1392256859$gmane$org@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEknV-0006U1-Ft for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 14:21:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEknQ-0003Ug-6A for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 14:21:09 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <0d8utf7ox0.fsf__31384.3091288165$1392256859$gmane$org@fencepost.gnu.org> (Glenn Morris's message of "Wed, 12 Feb 2014 20:59:55 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Glenn Morris Cc: 16734@debbugs.gnu.org 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 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.)