caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: caml-list@inria.fr
Subject: [Caml-list] Re: tuareg clause indentation in pattern matching
Date: Mon, 15 Apr 2013 16:52:59 -0400	[thread overview]
Message-ID: <jwv38urbjp4.fsf-monnier+gmane.comp.lang.caml.inria@gnu.org> (raw)
In-Reply-To: <20130413130640.GA702@jrm.no-ip.org>

> I want to have the clause in a pattern matching indented like the
> following:

>   | pattern ->
>       clause

> But I am getting:

>   | pattern ->
>     clause

> I have tried with tuareg-match-clause-indent set to 3, but nothing
> changed.

If you (setq tuareg-use-smie t) in your .emacs I can probably help you
get that indentation.


        Stefan


  parent reply	other threads:[~2013-04-15 20:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-13 13:06 [Caml-list] " José Romildo Malaquias
2013-04-13 13:55 ` Daniel Bünzli
2013-04-15 20:52 ` Stefan Monnier [this message]
2013-04-18  8:56   ` [Caml-list] " Romain Bardou
2013-04-18 12:33     ` Stefan Monnier

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=jwv38urbjp4.fsf-monnier+gmane.comp.lang.caml.inria@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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;
as well as URLs for NNTP newsgroup(s).