From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA11333 for caml-red; Wed, 27 Sep 2000 19:58:12 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA01942 for ; Wed, 27 Sep 2000 11:55:24 +0200 (MET DST) Received: from pelops.inria.fr (pelops.inria.fr [128.93.24.69]) by concorde.inria.fr (8.10.0/8.10.0) with ESMTP id e8R9tOL15829 for ; Wed, 27 Sep 2000 11:55:24 +0200 (MET DST) Received: (from acohen@localhost) by pelops.inria.fr (8.10.0/8.10.0) id e8R9tOK01770 for caml-list@inria.fr; Wed, 27 Sep 2000 11:55:24 +0200 Date: Wed, 27 Sep 2000 11:55:24 +0200 From: Albert Cohen To: caml-list@inria.fr Subject: Tuareg Mode and revised syntax Message-ID: <20000927115524.A1702@a3-mail.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: weis@pauillac.inria.fr The current debate about revised syntaxes and programming styles leads me to the following remark about Tuareg mode for Emacs. Tuareg is is not intended to be customized along all possible programming styles and Camlp4 hacks, but some support can still be provided in one particular case: syntax constructs which can't be handled without deep and technical patches to the Emacs-Lisp code and which do not interfere with classical syntaxes and programming styles. This happens to be the case of the following syntaxes/styles ( blah ; blah ; blah ) and match ... with [ blah | blah | blah ] now handled by the Tuareg mode. For the `match ... with' syntax, proper indentation also requires setting variable `tuareg-|-extra-unindent' to 0, unless you'd like a 4 characters indentation of `[' after the `with' keyword. Moreover, version 1.38.1 fixes a lot of minor bugs, brings a standard customization interface and replaces most ad-hoc fontification faces with standard Emacs faces (same as C, Java, Lisp...). -- Albert Cohen http://www-rocq.inria.fr/~acohen INRIA Rocquencourt, BP 105, 78153 Le Chesnay, France