Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] q
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <ipcastillon@p...>
Subject: Re: [Caml-list] Tuareg
On Mon, 05 Jan 2004, Kamil Shakirov <kamils@inbox.ru> wrote:
> 
> 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)
         )))

Happy new year!

ChriS

-------------------
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