From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rustom Mody Subject: Re: odt exporter on mixed org setup Date: Sun, 19 Jan 2014 09:40:38 +0530 Message-ID: References: <87iotk49ei.fsf@gmail.com> <87lhyg9dx8.fsf@gmail.com> <87a9etruk2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4jiu-0007RA-Hx for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 23:11:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4jit-0007ru-Oa for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 23:11:00 -0500 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:50686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4jit-0007px-G6 for emacs-orgmode@gnu.org; Sat, 18 Jan 2014 23:10:59 -0500 Received: by mail-pa0-f52.google.com with SMTP id bj1so4215857pad.11 for ; Sat, 18 Jan 2014 20:10:58 -0800 (PST) In-Reply-To: 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: Jambunathan K , emacs-orgmode On Sun, Jan 19, 2014 at 8:57 AM, Rustom Mody wrote: > Thanks > > On Sun, Jan 19, 2014 at 12:23 AM, Jambunathan K wrote: >> The following message is a courtesy copy of an article >> that has been posted to gmane.emacs.orgmode as well. >> >> Rustom Mody writes: >> >>> Currently I have a setq on org-mode-hook >> >> I don't run "make install", I just do "make". >> >> Here is what I have in .emacs. >> >> DO NOT do an explicit (require 'ox-backend). Instead customize >> `org-export-backends' and the ODT exporter there. >> >> Here is the sequence I have in my .emacs. >> >> (add-to-list 'load-path "~/src/org-mode/lisp/") >> (require 'org-loaddefs) > > Ok That require did it (I think!) > ie on my machine works for emacs 23 and 24 On second thoughts, Ive replaced that require with a load-file with explicit path since - I prefer an explicit error to unexpected weirdness - that file tends to get removed by build processes - there are multiple org-loaddefs.el files and I DONT want the others Now I can verify that - after a make clean starting emacs gives me errors on startup - after a make compile that error goes away