[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] (ATTN: debugging tip) Re: Opendocument export causes error

From: Jambunathan K
Subject: [O] (ATTN: debugging tip) Re: Opendocument export causes error
Date: Tue, 04 Dec 2012 11:10:30 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Achim Gratz <address@hidden> writes:

>> 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.

This is how org-compat.el gets loaded.  The load sequence is triggered

    emacs -Q -L /org/path 
    M-x load-library RET org-odt RET.

| *** Welcome to IELM ***  Type (describe-mode) for help.
| ELISP> (symbol-file 'org-compat 'require)
| "/home/kjambunathan/src/org-mode/lisp/org.elc"
| ELISP> (symbol-file 'org 'require)
| "/home/kjambunathan/src/org-mode/lisp/org-exp.elc"
| ELISP> (symbol-file 'org-exp 'require)
| "/home/kjambunathan/src/org-mode/lisp/org-lparse.elc"
| ELISP> (symbol-file 'org-lparse 'require)
| "/home/kjambunathan/src/org-mode/lisp/org-odt.elc"
| ELISP> (symbol-file 'org-odt 'require)
| nil

So org-odt indirectly requires org-compat.  In OP's case, the org-compat
is provided by older library that comes with Vanilla Emacs.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]