caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Romain Bardou <romain.bardou@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Re: tuareg clause indentation in pattern matching
Date: Thu, 18 Apr 2013 10:56:23 +0200	[thread overview]
Message-ID: <516FB537.6000606@inria.fr> (raw)
In-Reply-To: <jwv38urbjp4.fsf-monnier+gmane.comp.lang.caml.inria@gnu.org>

Le 15/04/2013 22:52, Stefan Monnier a écrit :
>> 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.

Indeed that does the trick but this causes all sort of other annoying
indentation rules, such as:

foooooo bar
        bla

instead of:

foooooo bar
  bla

-- 
Romain Bardou

  reply	other threads:[~2013-04-18  8:56 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 ` [Caml-list] " Stefan Monnier
2013-04-18  8:56   ` Romain Bardou [this message]
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=516FB537.6000606@inria.fr \
    --to=romain.bardou@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;
as well as URLs for NNTP newsgroup(s).