From: Nick Dokos <nicholas.dokos@hp.com>
To: charles snyder <clsnyder@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: export problem
Date: Fri, 23 Apr 2010 03:32:04 -0400 [thread overview]
Message-ID: <6320.1272007924@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Nick Dokos <nicholas.dokos@hp.com> of "Thu, 22 Apr 2010 23:36:42 EDT." <1935.1271993802@gamaville.dokosmarshall.org>
Nick Dokos <nicholas.dokos@hp.com> wrote:
> charles snyder <clsnyder@gmail.com> wrote:
>
> > Thanks Nick!
> >
> Glad to help!
>
BTW, I forgot that you originally reported two problems: the freemind export
was one of them, but you also had problems with a PDF export. AFAICT, the
solution to the freemind problem could not possibly affect the PDF export,
so I assume that the latter is still a problem - is that correct?
Thanks,
Nick
> > On 2 different machines,
> > I got a "no match" when I tried C-h f org-export-as-freemind <RET>
> > and when I followed your instructions:
> >
> > M-x load-library <RET> org-freemind <RET>
> > followed by C-c C-e m
> >
> > It worked!
> >
> > so, when I added:
> >
> > (load-library "C:/Users/clsnyder/Documents/org-6.33/lisp/org-freemind") to my .emacs, it works!
> >
> > but I have no clue why it stopped working and why I need to add this when the line above it in .emacs is:
> >
> > (add-to-list 'load-path "C:/Users/clsnyder/Documents/org-6.33/lisp")
> >
>
> The add-to-list just tells emacs where to find the files that it needs to load.
> Because of it, you should be able to load org-freemind using just
>
> (load-library "org-freemind")
>
> The loading itself can be done in various ways: explicitly as shown above, or
> implicitly through the autoload mechanism.
>
> In my case, I load org-install.el (in my .emacs). org-install.el contains the following:
>
> (autoload 'org-export-as-freemind "org-freemind" "\
> Not documented
>
> \(fn ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY PUB-DIR)" t nil)
>
> so that when org-export-as-freemind is called, the autoload loads org-freemind.el (or
> org-freemind.elc if the compiled file exists), that defines the function and the
> call succeeds.
>
> At least, that's how it *should* work. You could do a little detective work in your
> setup to see how things are initialized and why it did not work.
>
> One hint is that after the autoload is done but before you call the function,
> if you say
>
> C-h f org-export-as-freemind <RET>
>
> it will say
>
> ,----
> | org-export-as-freemind is an interactive autoloaded Lisp function in
> | `org-freemind.el'.
> |
> | (org-export-as-freemind ARG &optional HIDDEN EXT-PLIST TO-BUFFER
> | BODY-ONLY PUB-DIR)
> |
> | Not documented
> `----
>
> After you call the function once (which completes the loading),
>
> C-h f org-export-as-freemind <RET>
>
> will say something else:
>
> ,----
> | org-export-as-freemind is an interactive compiled Lisp function in
> | `org-freemind.el'.
> |
> | (org-export-as-freemind ARG &optional HIDDEN EXT-PLIST TO-BUFFER
> | BODY-ONLY PUB-DIR)
> |
> | Not documented.
> `----
>
> Of course, in your case, emacs didn't know the function at all, so the
> autoload never happened: either you are not loading org-install.el or
> org-install.el does not contain the autoload form.
>
> HTH,
> Nick
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
next prev parent reply other threads:[~2010-04-23 8:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 3:59 export problem charles snyder
2010-04-22 4:33 ` Nick Dokos
2010-04-22 16:20 ` charles snyder
2010-04-22 18:29 ` Nick Dokos
2010-04-23 1:33 ` charles snyder
2010-04-23 3:36 ` Nick Dokos
2010-04-23 7:32 ` Nick Dokos [this message]
2010-04-24 12:33 ` charles snyder
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=6320.1272007924@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=clsnyder@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).