From: John Hendy <jw.hendy@gmail.com>
To: Ken Williams <kenahoo@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem exporting code
Date: Mon, 21 Jan 2013 10:48:03 -0600 [thread overview]
Message-ID: <CA+M2ft91Qqwi+oO9GdQRbyf4TL6ENCzXH1xo7nBL6-_gY=k=+A@mail.gmail.com> (raw)
In-Reply-To: <CACrz-Htqi6fbDjPcD4JRbFUzx31WTYmvgKj_ZU6iEdpBQN7TwQ@mail.gmail.com>
On Mon, Jan 21, 2013 at 9:58 AM, Ken Williams <kenahoo@gmail.com> wrote:
> I believe I've figured it out. I must have an old version of 'htmlize'
> installed somewhere, I 'edebug' traced through the code and fell through to
> this part:
>
> (when lang
> (if (featurep 'xemacs)
> (require 'htmlize)
> (require 'htmlize nil t))
> (when (not (fboundp 'htmlize-region-for-paste))
> ;; we do not have htmlize.el, or an old version of it
> (setq lang nil)
> (message
> "htmlize.el 1.34 or later is needed for source code formatting")))
>
> I couldn't manage to set up my load-path to load htmlize 'properly' (is
> htmlize not able to be loaded via 'load-path' and 'require'?), but after
> downloading htmlize 1.43 and adding the following to my .emacs, I seem to be
> in business again:
Awesome that you got it going. Do you still have =(require
'org-install)= in your .emacs? ETA: just checked and you do. I checked
as I had an issue with emacs not using the git version of org because
I stupidly had =(require 'org-install)= before my load paths!
The only thing that stuck out to me was this: =(add-to-list 'load-path
"~/share/emacs/site-lisp/org" load-path)=
Is that the proper syntax? Mine (and just checked the org manual)
features this: =(add-to-list 'load-path "~/path/to/orgdir/lisp")=.
I know nil about elisp (see what I did there?), but does that extra
"load-path" at the end of the argument do anything?
Good luck,
John
>
> (load-file "~/share/emacs/site-lisp/htmlize/htmlize.el")
>
> Thanks everyone.
>
>
>
> On Mon, Jan 21, 2013 at 1:39 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>>
>> Ken Williams <kenahoo@gmail.com> writes:
>>
>> > Thanks John. Here's a small org file:
>>
>> Data point: this works just fine for me with both old and new
>> exporters. And I don't even have R installed on this particular system
>> (hadn't realised until now ;-).
>>
>> --
>> : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
>> : in Emacs 24.3.50.1 and Org release_7.9.3d-826-gbe0d87
>>
>
next prev parent reply other threads:[~2013-01-21 16:48 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-20 23:44 Problem exporting code Ken Williams
2013-01-21 0:31 ` Ken Williams
2013-01-21 3:15 ` Eric S Fraga
2013-01-21 4:57 ` Ken Williams
2013-01-21 5:36 ` John Hendy
2013-01-21 5:38 ` John Hendy
2013-01-21 6:05 ` Ken Williams
2013-01-21 7:39 ` Eric S Fraga
2013-01-21 15:58 ` Ken Williams
2013-01-21 16:48 ` John Hendy [this message]
2013-01-21 17:45 ` Ken Williams
2013-01-21 22:16 ` John Hendy
2013-01-21 22:51 ` Ken Williams
2013-01-22 0:14 ` Thomas S. Dye
[not found] ` <CA+M2ft_nyHsjC3V0FPvL+NbYBTP1FGKLqF0=miX09uByhS_oKA@mail.gmail.com>
2013-01-22 2:48 ` Ken Williams
2013-01-22 7:01 ` Thomas S. Dye
2013-01-22 7:49 ` Bastien
2013-01-22 11:13 ` Thorsten Jolitz
2013-01-22 11:54 ` Bastien
2013-01-22 12:58 ` Thorsten Jolitz
2013-01-22 19:45 ` Thorsten Jolitz
2013-01-22 21:41 ` Bastien
2013-01-22 13:02 ` Ken Williams
2013-01-22 13:10 ` Bastien
2013-01-22 17:44 ` Achim Gratz
2013-01-22 21:41 ` Bastien
2013-01-22 17:37 ` Achim Gratz
2013-01-22 19:39 ` Thomas S. Dye
2013-01-23 7:27 ` Achim Gratz
2013-01-21 23:43 ` Eric S Fraga
2013-01-21 6:11 ` Ken Williams
2013-01-21 5:52 ` Ken Williams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+M2ft91Qqwi+oO9GdQRbyf4TL6ENCzXH1xo7nBL6-_gY=k=+A@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=kenahoo@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.