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 LAA24043; Fri, 9 Aug 2002 11:30:40 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA23785 for caml-list@pauillac.inria.fr; Fri, 9 Aug 2002 11:30:36 +0200 (MET DST) 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 DAA17155 for ; Thu, 8 Aug 2002 03:20:39 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from OASERVER ([211.101.185.130]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g781KY511188 for ; Thu, 8 Aug 2002 03:20:37 +0200 (MET DST) Received: from fltrp.com [129.0.5.6] by OASERVER with ESMTP (SMTPD32-7.05 EVAL) id A6C71E2014A; Thu, 08 Aug 2002 09:17:59 +0800 Message-ID: <3D51C728.6040204@fltrp.com> Date: Thu, 08 Aug 2002 09:19:36 +0800 From: Yang Shouxun User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3 X-Accept-Language: en-us, zh-cn MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] ocaml-mode-3.05 References: <20020807091842P.garrigue@kurims.kyoto-u.ac.jp> <3D50AF3E.8965A1DE@quasar.ipa.nw.ru> <3D50B61E.2090204@fltrp.com> <20020808085059U.garrigue@kurims.kyoto-u.ac.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Jacques Garrigue wrote: >>True. For instance, I'd rather an indentation for every consecutive >>"let...", as in the Lisp style (I learned Scheme and Common Lisp before >>Ocaml). That is, I prefer indentation to graphically show the structure >>of the code, even at the risk of being stretched too much to the right. >>With higher resolution of graphic displays and more careful organization >>of the code, I guess the problem may be less imposing. > By the way, you can customize this in ocaml-mode too: > (setq caml-let-in-indent 2) > The default is 0, meaning no indent. Thanks. In tuareg there is an option "Force indentation after 'let'", but it seems not working as I expect it. Or I miss something here. >>I'm using tuareg for it allows me to run ocaml toplevel in emacs. I'm >>not sure the ocaml-mode has such functionality. > > Let's stop such blaring disinformation: Sorry, I just didn't know how to do that with ocaml-mode when I last tried, but I see now. IIRC, I didn't find it out the first time because I used "apropos ocaml" instead of "apropos caml" and I didn't search the caml menu. On the other hand, "apropos tuareg" gave me what I was looking for. ------------------- 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