From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Opendocument export causes error Date: Sun, 30 Dec 2012 11:09:07 +0100 Message-ID: <87y5gfdf7g.fsf@bzg.ath.cx> References: <9A971BBA-5975-417F-B85A-564E06CA77B5@beds.ac.uk> <87sj7nistw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpFpP-0006kQ-Dn for emacs-orgmode@gnu.org; Sun, 30 Dec 2012 05:09:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TpFpO-00057E-8G for emacs-orgmode@gnu.org; Sun, 30 Dec 2012 05:09:11 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:36888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpFpO-00057A-23 for emacs-orgmode@gnu.org; Sun, 30 Dec 2012 05:09:10 -0500 Received: by mail-wi0-f180.google.com with SMTP id hj13so6595561wib.7 for ; Sun, 30 Dec 2012 02:09:09 -0800 (PST) In-Reply-To: (Achim Gratz's message of "Mon, 3 Dec 2012 07:54:17 +0000 (UTC)") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > There is the slight problem that org-{,-e-}odt does not (require 'org-compat) > and org-condition-case-unless-debug (which is only used by these two files) is > itself not autoloaded, plus it is called from inside in a macro. I'm not > entirely sure what happens for the OP since I can't reproduce the issue, but it > would be worth a try to add that require(s) if only to clean thing up. I added (require 'org-compat) to org-odt.el and org-e-odt.el. But... I'm in favor of simply using `condition-case' instead of `org-condition-case-unless-debug'. I'm not fan of all these debugging stuff within org-odt.el / org-e-odt.el. -- Bastien