From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA06624; Wed, 7 Aug 2002 15:38:04 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA06239 for ; Wed, 7 Aug 2002 15:38:03 +0200 (MET DST) Received: from favie.faith.gr.jp (favie.faith.gr.jp [61.127.175.250]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g77Dc1527920 for ; Wed, 7 Aug 2002 15:38:02 +0200 (MET DST) Received: from localhost (dhcp7.faith.gr.jp [192.168.1.17]) by favie.faith.gr.jp (8.9.3/8.9.3) with ESMTP id WAA23467; Wed, 7 Aug 2002 22:37:58 +0900 To: david@lindows.com Cc: caml-list@inria.fr Subject: Re: [Caml-list] ocaml-mode-3.05 In-Reply-To: <87ofceyhja.fsf@foxthompson.net> References: <20020805154908L.garrigue@kurims.kyoto-u.ac.jp> <200208061837.48621.jeffrey.palmer@acm.org> <87ofceyhja.fsf@foxthompson.net> X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020807223749T.garrigue@kurims.kyoto-u.ac.jp> Date: Wed, 07 Aug 2002 22:37:49 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: David Fox > I did notice that when I loaded a buffer > in ocaml-mode the comments were not colorized properly, though when I > toggled font-lock mode off and on they came out right. This is a bit strange: when you load a file, ocaml-mode colorize the whole buffer, just as when toggle on-and-off, or use font-lock-fontify buffer. So the result should not differ. However, as soon as you edit the text, colorization is done individually on each modified line, and may come out incorect. > This is also my main problem with tuareg mode - mysterious > colorization behavior. You're pretty much limited by font-lock's capabilities. Which means no support for incremental multiline colorizing. No surprise you encounter the same problems. > I'm pretty sure the indentation will not be a big issue for me. Then any mode should please you: in ocaml-mode colorizing is less than 100 lines (just regular expression, that you may twiddle yourself if you want), while indentation is more than 1000 (most of caml.el). There is a huge gap in complexity, because caml syntax is so unstructured. Jacques Garrigue ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners