From: Kamil Shakirov <kamils@narod.ru>
To: Christophe.Troestler@umh.ac.be
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Tuareg
Date: Thu, 08 Jan 2004 05:18:18 +0300 [thread overview]
Message-ID: <m2d69vdvyt.fsf@tornado.force> (raw)
In-Reply-To: <20040107.080831.45142237.ipcastillon@prodigy.net.mx> (Christophe TROESTLER's message of "Wed, 07 Jan 2004 08:08:31 +0100 (CET)")
Hello Christophe,
Christophe TROESTLER <ipcastillon@prodigy.net.mx> writes:
>> let complex_function arg1 arg2 ... =
>> let fun_aux1 arg1 arg2 ... =
>> bla bla bla
>> in
>> [...]
>> fun_aux3 arg2
>> (fun_aux2 (fun_aux arg1 arg2) arg1)
>
> Include in your ~/.emacs the following :
>
> (add-hook 'tuareg-mode-hook
> (function
> (lambda ()
> (setq tuareg-in-indent 0)
> (setq tuareg-let-always-indent t)
> (setq tuareg-let-indent 2)
> (setq tuareg-with-indent 0)
> (setq tuareg-function-indent 0)
> (setq tuareg-fun-indent 0)
> (setq tuareg-parse-indent 0)
> (setq tuareg-parser-indent 0)
> (setq tuareg-match-indent 0)
> (setq tuareg-begin-indent 2)
> )))
I meant `folding' --- hiding parts of the edited program. Probably you
did not understand me because my english is not good. ;)
Anyway, thank you for your answer.
I have found similar minor edit mode (hideshow.el, hs-minor-mode for
block hiding and showing) but it is for the c-mode. It would be nice
to implement this in the tuareg mode.
> Happy new year!
Thanks. Same to you. ;)
--
Kamil.
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
prev parent reply other threads:[~2004-01-08 2:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-05 20:00 [Caml-list] q Kamil Shakirov
2004-01-07 7:08 ` [Caml-list] Tuareg Christophe TROESTLER
2004-01-08 2:09 ` Kamil Shakirov
2004-01-08 14:13 ` Albert Cohen
2004-01-08 14:46 ` Jérôme Marant
2004-01-09 7:27 ` Kamil Shakirov
2004-01-08 2:18 ` Kamil Shakirov [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=m2d69vdvyt.fsf@tornado.force \
--to=kamils@narod.ru \
--cc=Christophe.Troestler@umh.ac.be \
--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