emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Torsten Anders <torsten.anders@beds.ac.uk>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Opendocument export causes error
Date: Tue, 04 Dec 2012 11:03:43 +0530	[thread overview]
Message-ID: <87wqwygz48.fsf@gmail.com> (raw)
In-Reply-To: 6A0D558E-067D-4EB7-B2EF-0DA25BABEA4C@beds.ac.uk


> I will go through your detailed list of suggestions a bit
> later. Thanks a lot again for your help!

I hope you do revert with your observations on broken setup.  

In my experience, most users don't :-).

There is some confusion around the area of macros and autoloads.
Something is amiss.  Only non-programmers seem to run in to this and it
has been very difficult to understand what is happening on their setup,
without their co-operation.

Here is another suggestion.  A bit easy one though.  This will be
archived and will serve as a written hint to debug macro/autoload
issues.  

When the err happens,

1. Load Emacs like this.  Adjust the `-L's.  Note also the -Q.

   emacs --debug-init  -L ~/src/org-mode/lisp  -L
   ~/src/org-mode/contrib/lisp -Q

2. M-x load-library RET org-odt RET

3. M-x ielm RET

   Here is a sample session both for org-odt and org-e-odt.  Sample
   illustrates the sequence of events that led org-compat.el to be
   loaded.

   The sequence below is courtesy this suggestion/thread:
    http://lists.gnu.org/archive/html/help-gnu-emacs/2012-11/msg00227.html


   So the load chain is:
     org-compat <= org <= org-exp <= org-lparse <= org-odt

    ,----
    | *** 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 the load chain is:
     org-compat <= org <= org-element <= org-export <= org-e-odt
     
    ,----
    | *** 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-element.elc"
    | ELISP> (symbol-file 'org-element 'require)
    | "/home/kjambunathan/src/org-mode/contrib/lisp/org-export.el"
    | ELISP> (symbol-file 'org-export 'require)
    | "/home/kjambunathan/src/org-mode/contrib/lisp/org-e-odt.elc"
    | ELISP> (symbol-file 'org-e-odt 'require)
    | nil
    | ELISP> (symbol-file 'org-macs 'require)
    | "/home/kjambunathan/src/org-mode/lisp/org.elc"
    `----

ps: I hope I am invoking `symbol-file' properly.

-- 

  reply	other threads:[~2012-12-04  6:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-01 22:10 Opendocument export causes error Torsten Anders
2012-12-02  9:54 ` Achim Gratz
2012-12-03  6:46   ` Bastien
2012-12-03  5:53 ` Jambunathan K
2012-12-03  5:54 ` Jambunathan K
2012-12-03  7:54   ` Achim Gratz
2012-12-30 10:09     ` Bastien
2012-12-03  6:01 ` Jambunathan K
2012-12-03 15:51   ` Torsten Anders
2012-12-04  5:33     ` Jambunathan K [this message]
2012-12-24 22:20       ` Torsten Anders
2012-12-25 21:58       ` Torsten Anders
  -- strict thread matches above, loose matches on Subject: below --
2012-12-02 21:14 Torsten Anders
2012-12-03  8:08 ` Achim Gratz
2012-11-30 22:56 Torsten Anders
2012-12-01  6:52 ` Jambunathan K
2012-12-01  6:52 ` Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wqwygz48.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=torsten.anders@beds.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).