From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA32391; Wed, 7 Jan 2004 08:08:28 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA32090 for ; Wed, 7 Jan 2004 08:08:26 +0100 (MET) Received: from smtp.prodigy.net.mx (nlpproxy01.prodigy.net.mx [148.235.52.21]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id i0778O525165 for ; Wed, 7 Jan 2004 08:08:25 +0100 (MET) Received: from poincare (du-148-221-218-212.prodigy.net.mx [148.221.218.212]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HR300EF4YHZO7@smtp.prodigy.net.mx>; Wed, 07 Jan 2004 01:08:24 -0600 (CST) Received: from poincare ([127.0.0.1] helo=localhost ident=trch) by poincare with esmtp (Exim 3.36 #1 (Debian)) id 1Ae7ns-0000iU-00; Wed, 07 Jan 2004 08:08:32 +0100 X-URL: http://www.umh.ac.be/math/an/ Date: Wed, 07 Jan 2004 08:08:31 +0100 (CET) From: Christophe TROESTLER Subject: Re: [Caml-list] Tuareg In-reply-to: To: kamils@inbox.ru Cc: caml-list@inria.fr, kamil@tornado.force Reply-to: Christophe.Troestler@umh.ac.be Message-id: <20040107.080831.45142237.ipcastillon@prodigy.net.mx> Organization: Universite de Mons-Hainaut MIME-version: 1.0 X-Mailer: Mew version 4.0.61 on Emacs 21.3.1 / Mule 5.0 (SAKAKI) Content-type: Text/Plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer-URL: http://www.mew.org/ X-Operating-System: GNU/Linux (http://www.linux.org/) X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum References: X-Spook: Defcon e-cash cryptographic Montenegro Firewalls sweep nuclear CBNRC mindwar AK-47 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; troestler:01 prodigy:99 caml-list:01 tuareg:01 setq:01 setq:01 chris:01 christophe:01 emacs:01 complex:03 wrote:03 let:04 let:04 arg:06 arg:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 05 Jan 2004, Kamil Shakirov 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