From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-babel-tangle-lang-exts must be initialized? how to get syntax coloring? Date: Wed, 07 Jul 2010 20:29:01 -0700 Message-ID: <87oceify82.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=60899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWhnQ-0008Bs-9F for Emacs-orgmode@gnu.org; Wed, 07 Jul 2010 23:29:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWhnO-0005AZ-GT for Emacs-orgmode@gnu.org; Wed, 07 Jul 2010 23:29:08 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:63765) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWhnO-0005A8-AU for Emacs-orgmode@gnu.org; Wed, 07 Jul 2010 23:29:06 -0400 Received: by pzk33 with SMTP id 33so178230pzk.0 for ; Wed, 07 Jul 2010 20:29:05 -0700 (PDT) In-Reply-To: (Nicholas Putnam's message of "Wed, 7 Jul 2010 21:38:29 -0500") 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 Putnam Cc: Emacs-orgmode@gnu.org Hi Nicholas, I'm happy that you're enjoying Org-mode. Nicholas Putnam writes: > I'm new to, but loving playing with org-mode. Thanks for this excellent > code! > > I followed the directions for checking out the latest version with git, so > have been trying to catch up to the new configuration for babel, at the same > time that I'm learning the ropes of org-mode. > > I am finding that babel will not work unless org-babel-tangle-lang-exts is > set -- else I get the following error: > > "Symbol's value as variable is void: org-babel-tangle-lang-exts" > > Adding "(setq org-babel-tangle-lang-exts '("fortran" . "f"))" to my > .emacs file (even though I'm not using fortran for anything) fixes > this problem. > I'm having trouble reproducing this problem. As far as I can tell `org-babel-tangle-lang-exts' is only called from language specific files which should be required after that variable has been defined. Is it possible that your configuration is loading language-specific files or touching org-babel-load-languages before you are calling (require 'org-install)? > > Also, I'm trying to get syntax highlighting of source code elements in > HTML export. Export looks great, but the code snippets are being > exported inside
 tags, without any other markup.
> Can anyone point me in the right direction?
>

Is the `org-export-htmlize' set to a non-nil value on your system?  If
so then that could be the cause of the problem.  If it is set to a
truthy value, and htmlize-region is defined in your Emacs, then I'm not
sure what the problem could be.

Best -- Eric

>
> Cheers,
>
> Nik Putnam
> _______________________________________________
> 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