From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Opendocument export causes error Date: Mon, 3 Dec 2012 08:08:59 +0000 (UTC) Message-ID: References: <1FAF1B58-C7EB-4145-B452-06932806CC2C@beds.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfR8H-0002HN-Jz for emacs-orgmode@gnu.org; Mon, 03 Dec 2012 03:12:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfR8A-0001qk-Q7 for emacs-orgmode@gnu.org; Mon, 03 Dec 2012 03:12:04 -0500 Received: from plane.gmane.org ([80.91.229.3]:42683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfR8A-0001qU-JM for emacs-orgmode@gnu.org; Mon, 03 Dec 2012 03:11:58 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfR6e-0005XW-Nw for emacs-orgmode@gnu.org; Mon, 03 Dec 2012 09:10:24 +0100 Received: from 217.10.60.85 ([217.10.60.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 09:10:24 +0100 Received: from Stromeko by 217.10.60.85 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 09:10:24 +0100 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 Torsten Anders beds.ac.uk> writes: > I tried both adding (require 'org) and (require 'org-loaddefs) to ~/.emacs > but they both make no difference to this problem, I still get the error > > call-interactively: Symbol's value as variable is void: err Yes, that problem is apparently someplace else. I'll let Jambunathan have a go first. > Instead, adding the following to ~/.emacs does work, but this seems > to be just a hack. Should I really use this? > > (load-library "org-compat.el") > (load-library "org-odt.el") If the problem is where I think it is, then a (require 'org-compat) should be a valid workaround until the final fix is in Org. > Does this mean there are possibly more things that did not load as they should? The combination of the version of Org in your version of Emacs and a more recent Org can't be expected to work correctly in all cases unless you add one of the requires I've shown. Regards, Achim.