Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Albert Cohen <Albert.Cohen@inria.fr>
To: caml-list@inria.fr
Subject: Tuareg Mode and revised syntax
Date: Wed, 27 Sep 2000 11:55:24 +0200	[thread overview]
Message-ID: <20000927115524.A1702@a3-mail.inria.fr> (raw)

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



                 reply	other threads:[~2000-09-27 17:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000927115524.A1702@a3-mail.inria.fr \
    --to=albert.cohen@inria.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox