emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: charles snyder <clsnyder@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: export problem
Date: Sat, 24 Apr 2010 07:33:44 -0500	[thread overview]
Message-ID: <q2zfa09ca6d1004240533gaf1410d9w4f2dff2addbbf77a@mail.gmail.com> (raw)
In-Reply-To: <6320.1272007924@gamaville.dokosmarshall.org>


[-- Attachment #1.1: Type: text/plain, Size: 3631 bytes --]

I think that problem seemed to be localized to one machine, probably from
the tex installation.

Thanks

On Fri, Apr 23, 2010 at 2:32 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:

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



-- 
Charles L. Snyder, MD
Professor of Surgery
Children's Mercy Hospital
Kansas City, MO
www.clsnyder.com

[-- Attachment #1.2: Type: text/html, Size: 5063 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

      reply	other threads:[~2010-04-24 12:34 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
2010-04-24 12:33             ` charles snyder [this message]

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=q2zfa09ca6d1004240533gaf1410d9w4f2dff2addbbf77a@mail.gmail.com \
    --to=clsnyder@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).