From: Christophe TROESTLER <Christophe.Troestler@umh.ac.be>
To: kauffman@cs.umn.edu
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocaml-emacs mode with multiline comments
Date: Fri, 11 Aug 2006 21:01:37 +0200 (CEST) [thread overview]
Message-ID: <20060811.210137.108821878.Christophe.Troestler@umh.ac.be> (raw)
In-Reply-To: <44DCCACC.2090204@cs.umn.edu>
On Fri, 11 Aug 2006, Christopher Kauffman <kauffman@cs.umn.edu> wrote:
>
> I have experimented a bit with Tuareg-mode, the alternate mode for ocaml
> editing, and it did solve this, but I prefered the indenting in the
> default ocaml-mode
This will solve the indenting "problem":
(add-hook 'tuareg-mode-hook
(function (lambda ()
(setq tuareg-in-indent 0)
(setq tuareg-let-always-indent t)
(setq tuareg-let-indent tuareg-default-indent)
(setq tuareg-with-indent 0)
(setq tuareg-function-indent 0)
(setq tuareg-fun-indent 0)
(setq tuareg-parser-indent 0)
(setq tuareg-match-indent 0)
(setq tuareg-begin-indent tuareg-default-indent)
(setq tuareg-parse-indent tuareg-default-indent); .mll
(setq tuareg-rule-indent tuareg-default-indent)
(setq tuareg-font-lock-symbols nil)
)))
Cheers,
ChriS
prev parent reply other threads:[~2006-08-11 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-11 18:22 Christopher Kauffman
2006-08-11 19:01 ` Christophe TROESTLER [this message]
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=20060811.210137.108821878.Christophe.Troestler@umh.ac.be \
--to=christophe.troestler@umh.ac.be \
--cc=caml-list@yquem.inria.fr \
--cc=kauffman@cs.umn.edu \
/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).