Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Tuareg Mode and revised syntax
@ 2000-09-27  9:55 Albert Cohen
  0 siblings, 0 replies; only message in thread
From: Albert Cohen @ 2000-09-27  9:55 UTC (permalink / raw)
  To: caml-list

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-27 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-27  9:55 Tuareg Mode and revised syntax Albert Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox