From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulrich Mueller Subject: Re: Location of OpenDocument style files should be configurable Date: Tue, 3 Jan 2012 11:10:06 +0100 Message-ID: <20226.54270.53546.118653@a1i15.kph.uni-mainz.de> References: <20220.19946.360761.625682@a1i15.kph.uni-mainz.de> <81k45du97t.fsf@gmail.com> <878vlpoiur.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1Jp-0001aq-RI for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:10:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1Jo-00072X-TQ for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:10:09 -0500 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:39094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1Jo-00071c-JE for emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:10:08 -0500 In-Reply-To: <878vlpoiur.fsf@Rainer.invalid> 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: emacs-orgmode@gnu.org Cc: Achim Gratz >>>>> On Mon, 02 Jan 2012, Achim Gratz wrote: > Jambunathan K writes: >> (org-odt-styles-dir-list, org-odt-schema-dir-list): New >> variables. Pay specific attention to (eval-when-compile ...) >> form through which Makefile's $(datadir) - contained in >> `org-odt-data-dir' - gets compiled in as a "hard coded" >> constant. > I don't understand the need for compile-time evaluation. In any > case it would be nice to avoid it. It's somewhat fragile, because the program will behave differently depending if the .el or the .elc file is loaded. Therefore I think that embedding the variable in org-install.el (as in commit 67e92cf in your fork) is preferable. Cheers, Ulrich