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 IAA20277; Thu, 8 Aug 2002 08:55:57 +0200 (MET DST) 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 IAA19991 for ; Thu, 8 Aug 2002 08:55:55 +0200 (MET DST) Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g786tsn14516 for ; Thu, 8 Aug 2002 08:55:54 +0200 (MET DST) Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto4.wanadoo.fr (6.5.007) id 3D49FD320027E373; Thu, 8 Aug 2002 08:55:17 +0200 Received: from iliana (80.9.104.226) by mel-rta10.wanadoo.fr (6.5.007) id 3D49FFDD0026D23B; Thu, 8 Aug 2002 08:55:17 +0200 Received: from luther by iliana with local (Exim 3.35 #1 (Debian)) id 17cgsM-0000J7-00; Thu, 08 Aug 2002 08:34:26 +0200 Date: Thu, 8 Aug 2002 08:34:16 +0200 To: Jacques Garrigue Cc: yangsx@fltrp.com, caml-list@inria.fr Subject: Re: [Caml-list] ocaml-mode-3.05 Message-ID: <20020808063416.GA1033@iliana> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020808085059U.garrigue@kurims.kyoto-u.ac.jp> User-Agent: Mutt/1.4i From: Sven LUTHER Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, Aug 08, 2002 at 08:50:59AM +0900, Jacques Garrigue wrote: > From: Yang Shouxun > > 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. > > This is mostly a question of taste: I view most of the let's as > assignment, so I prefer not to indent them, since they do no more than > changing a binding. But lots of people would disagree. > > By the way, you can customize this in ocaml-mode too: > (setq caml-let-in-indent 2) > The default is 0, meaning no indent. > > On the other hand, not everything is customizable, and even when > customizable it may be a pain. For instance, I never came around to > allow a global change in the size of indentation: this is 2, or you > have to change it individually for every construct... > > > 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: > running the ocaml toplevel under emacs was the original goal of the caml > mode, and this already worked more than 10 years ago. > Thanks to Didier it is now pretty clever about errors, but then Tuareg > might be just as clever. Jacques, ... This is the same caml mode that comes with the ocaml sources, isn't it ? It is just some changes that you did after the 3.05 release, and which will go into 3.06, or do you intent to distribute them separatedly ? Friendly, Sven Luther ------------------- 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