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 DAA12723; Thu, 8 Jan 2004 03:03:27 +0100 (MET) 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 DAA12694 for ; Thu, 8 Jan 2004 03:03:26 +0100 (MET) Received: from tornado.force (cs1-ats25-dzer-222.dialup.mts-nn.ru [213.177.121.222]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id i0823O500445 for ; Thu, 8 Jan 2004 03:03:24 +0100 (MET) Received: from tornado.force (tornado.force [127.0.0.1]) by tornado.force (8.12.10/8.12.10) with ESMTP id i0829WCq005957; Thu, 8 Jan 2004 05:09:33 +0300 Received: (from kamil@localhost) by tornado.force (8.12.10/8.12.10/Submit) id i0829Uck005953; Thu, 8 Jan 2004 05:09:30 +0300 X-Authentication-Warning: tornado.force: kamil set sender to kamils@inbox.ru using -f X-Comment-To: Christophe TROESTLER To: Christophe.Troestler@umh.ac.be Cc: caml-list@inria.fr Subject: Re: [Caml-list] Tuareg References: <20040107.080831.45142237.ipcastillon@prodigy.net.mx> Organization: niimash From: Kamil Shakirov Date: Thu, 08 Jan 2004 05:09:30 +0300 In-Reply-To: <20040107.080831.45142237.ipcastillon@prodigy.net.mx> (Christophe TROESTLER's message of "Wed, 07 Jan 2004 08:08:31 +0100 (CET)") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 tuareg:01 troestler:01 prodigy:99 setq:01 setq:01 tuareg:01 christophe:01 christophe:01 writes:01 emacs:01 complex:03 let:04 let:04 implement:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello Christophe, Christophe TROESTLER 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 c-mode. It would be nice implement this in 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