Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Literate programming
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-12-03 (18:29)
From: Jeffrey Palmer <jeffrey.palmer@a...>
Subject: Re: [Caml-list] Literate programming
On Tuesday 03 December 2002 12:20 pm, Benedikt Schmidt wrote:
> Does anyone know if there is an emacs-mode which supports syntax
> highlighting and indenting of the OCaml part in funnelweb files?

I don't know about funnelweb, but if you're not tied to it, the noweb emacs 
mode intelligently switches from noweb syntax mode to the language-dependent 
mode when you move from section to section. Very nice.

You just need to add a line like this to the top of your file (from my Haskell 

% -*- mode: Noweb; noweb-code-mode: literate-haskell-mode -*-

Hope this helps,

	- j

The river is moving.
The blackbird must be flying.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: