[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem exporting code
From: |
John Hendy |
Subject: |
Re: [O] Problem exporting code |
Date: |
Mon, 21 Jan 2013 10:48:03 -0600 |
On Mon, Jan 21, 2013 at 9:58 AM, Ken Williams <address@hidden> 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 <address@hidden> wrote:
>>
>> Ken Williams <address@hidden> 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
>>
>
- [O] Problem exporting code, Ken Williams, 2013/01/20
- Re: [O] Problem exporting code, Ken Williams, 2013/01/20
- Re: [O] Problem exporting code, Eric S Fraga, 2013/01/20
- Re: [O] Problem exporting code, Ken Williams, 2013/01/20
- Re: [O] Problem exporting code, John Hendy, 2013/01/21
- Re: [O] Problem exporting code, John Hendy, 2013/01/21
- Re: [O] Problem exporting code, Ken Williams, 2013/01/21
- Re: [O] Problem exporting code, Eric S Fraga, 2013/01/21
- Re: [O] Problem exporting code, Ken Williams, 2013/01/21
- Re: [O] Problem exporting code,
John Hendy <=
- Re: [O] Problem exporting code, Ken Williams, 2013/01/21
- Re: [O] Problem exporting code, John Hendy, 2013/01/21
- Re: [O] Problem exporting code, Ken Williams, 2013/01/21
- Re: [O] Problem exporting code, Thomas S. Dye, 2013/01/21
- Message not available
- Re: [O] Problem exporting code, Ken Williams, 2013/01/21
- Re: [O] Problem exporting code, Thomas S. Dye, 2013/01/22
- Re: [O] Problem exporting code, Bastien, 2013/01/22
- Re: [O] Problem exporting code, Thorsten Jolitz, 2013/01/22
- Re: [O] Problem exporting code, Bastien, 2013/01/22
- Re: [O] Problem exporting code, Thorsten Jolitz, 2013/01/22