From mboxrd@z Thu Jan 1 00:00:00 1970 From: charles snyder Subject: Re: export problem Date: Sat, 24 Apr 2010 07:33:44 -0500 Message-ID: References: <15190.1271910821@gamaville.dokosmarshall.org> <21380.1271960966@gamaville.dokosmarshall.org> <1935.1271993802@gamaville.dokosmarshall.org> <6320.1272007924@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1661553261==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5eYk-0005HE-Ex for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 08:34:10 -0400 Received: from [140.186.70.92] (port=60444 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5eYi-0005GL-QN for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 08:34:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5eYg-0001n0-IS for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 08:34:08 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:57550) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5eYg-0001mw-E0 for emacs-orgmode@gnu.org; Sat, 24 Apr 2010 08:34:06 -0400 Received: by gyg4 with SMTP id 4so7243356gyg.0 for ; Sat, 24 Apr 2010 05:34:05 -0700 (PDT) In-Reply-To: <6320.1272007924@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --===============1661553261== Content-Type: multipart/alternative; boundary=00163662e70f5f56aa0484fac28c --00163662e70f5f56aa0484fac28c Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > Nick Dokos wrote: > > > charles snyder 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 > > > and when I followed your instructions: > > > > > > M-x load-library org-freemind > > > 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 > > > > 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 > > > > 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 --00163662e70f5f56aa0484fac28c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I think that problem seemed to be localized to one machine, probably from t= he 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,<= br> 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-fre= emind <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 t= his 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
>
> =A0 =A0 =A0 =A0 (load-library "org-freemind")
>
> The loading itself can be done in various ways: explicitly as shown ab= ove, or
> implicitly through the autoload mechanism.
>
> In my case, I load org-install.el (in my .emacs). org-install.el conta= ins the following:
>
> (autoload 'org-export-as-freemind "org-freemind" "\=
> Not documented
>
> \(fn ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY PUB-DIR)&q= uot; 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 functi= on and the
> call succeeds.
>
> At least, that's how it *should* work. You could do a little detec= tive 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 fu= nction,
> if you say
>
> =A0 =A0C-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),
>
> =A0 =A0C-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<= br> > 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, MDProfessor of Surgery
Children's Mercy Hospital
Kansas City, MO<= br>www.clsnyder.com
--00163662e70f5f56aa0484fac28c-- --===============1661553261== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1661553261==--