From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas Putnam Subject: Re: org-babel-tangle-lang-exts must be initialized? how to get syntax coloring? Date: Thu, 8 Jul 2010 10:45:47 -0500 Message-ID: References: <87oceify82.fsf@gmail.com> <87hbkafs2w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0765304213==" Return-path: Received: from [140.186.70.92] (port=40177 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWtIL-0001tE-Pu for Emacs-orgmode@gnu.org; Thu, 08 Jul 2010 11:45:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWtIK-0003n6-D1 for Emacs-orgmode@gnu.org; Thu, 08 Jul 2010 11:45:49 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:57127) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWtIK-0003mz-93 for Emacs-orgmode@gnu.org; Thu, 08 Jul 2010 11:45:48 -0400 Received: by vws1 with SMTP id 1so1350367vws.0 for ; Thu, 08 Jul 2010 08:45:47 -0700 (PDT) In-Reply-To: <87hbkafs2w.fsf@gmail.com> 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: Eric Schulte Cc: Emacs-orgmode@gnu.org --===============0765304213== Content-Type: multipart/alternative; boundary=001636d34ceb17f261048ae22e15 --001636d34ceb17f261048ae22e15 Content-Type: text/plain; charset=ISO-8859-1 Dear Eric, Updating from the repository, and putting it at the head of my load-path fixed the problem with org-babel-tangle-lang-exts. Thanks. org-version returns org-mode version 6.36trans (release_6.36.576.gec22). I still can't seem to export python to html with syntax coloring when exporting to browser on C-c C-e b. Should this just work? I do see syntax coloring on C-c '. Setting or not setting org-export-htmlize doesn't seem to make any difference. Nik On Thu, Jul 8, 2010 at 12:41 AM, Eric Schulte wrote: > Hi Nicholas, > > There are a couple of problems. The first was a missing autoload in > org.el which I've now inserted (thanks for helping this issue come to > light). The second has to do with your config. I believe you are > loading an old version of Org-mode. Be sure to that the first > instance of Org-mode on your load path is the newest version, you can > run M-x org-version to see what version you are currently running, > when I run that command the output starts with > > Org-mode version 6.36trans > > If yours starts with the same then you should be fine. > > I'm attaching a modified version of your init which worked for me > against the latest Org-mode from git. A couple of differences worth > noting in my modified version are > > - I'm putting the path to the org-mode git repository on my load path > > - I removed the calls to font-lock mode which shouldn't be necessary > with current versions of Emacs > > - I fixed the call to `org-babel-do-load-languages' so that it's > second argument is the org-babel-load-languages variable > > - I'm not loading ruby (which I just did to simplify my test of a > minimal Emacs config -- you should be able to replace it) > > Please do a git pull on the Org-mode repo, re-run make clean && make, > and then give this new config file a try (with the org-mode load path > adjusted to your system) and let me know how it goes. > > Best -- Eric > > > --001636d34ceb17f261048ae22e15 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear Eric,

Updating from the repository, and putting it at the head = of my load-path fixed the problem with org-babel-tangle-lang-exts.=A0 Thank= s.

org-version returns org-mode version 6.36trans (release_6.36.576.= gec22).

I still can't seem to export python to html with syntax coloring wh= en exporting to browser on C-c C-e b.=A0 Should this just work?=A0 I do see= syntax coloring on C-c '.=A0 Setting or not setting org-export-htmlize= doesn't seem to make any difference.

Nik


On Thu, Jul 8, 2010 at 12:41 = AM, Eric Schulte <schulte.eric@gmail.com> wrote:
Hi Nicholas,

There are a couple of problems. =A0The first was a missing autoload in
org.el which I've now inserted (thanks for helping this issue come to light). =A0The second has to do with your config. =A0I believe you are
loading an old version of Org-mode. =A0Be sure to that the first
instance of Org-mode on your load path is the newest version, you can
run M-x org-version to see what version you are currently running,
when I run that command the output starts with

=A0Org-mode version 6.36trans

If yours starts with the same then you should be fine.

I'm attaching a modified version of your init which worked for me
against the latest Org-mode from git. =A0A couple of differences worth
noting in my modified version are

- I'm putting the path to the org-mode git repository on my load path
- I removed the calls to font-lock mode which shouldn't be necessary =A0with current versions of Emacs

- I fixed the call to `org-babel-do-load-languages' so that it's =A0second argument is the org-babel-load-languages variable

- I'm not loading ruby (which I just did to simplify my test of a
=A0minimal Emacs config -- you should be able to replace it)

Please do a git pull on the Org-mode repo, re-run make clean && mak= e,
and then give this new config file a try (with the org-mode load path
adjusted to your system) and let me know how it goes.

Best -- Eric


--001636d34ceb17f261048ae22e15-- --===============0765304213== 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 --===============0765304213==--