From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id DE19BBC88 for ; Fri, 4 Feb 2005 22:40:30 +0100 (CET) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j14LeUhZ018173 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Feb 2005 22:40:30 +0100 Received: from [80.229.56.224] (helo=chetara) by ptb-relay03.plus.net with esmtp (Exim) id 1CxBUG-000Mk3-Qf for caml-list@yquem.inria.fr; Fri, 04 Feb 2005 21:59:37 +0000 From: Jon Harrop Organization: University of Cambridge To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] The boon of static type checking Date: Fri, 4 Feb 2005 21:42:21 +0000 User-Agent: KMail/1.7.1 References: <200502041026.56107.jon@jdh30.plus.com> <200502041800.56581.jon@jdh30.plus.com> <20050204.213800.32745842.Christophe.Troestler@umh.ac.be> In-Reply-To: <20050204.213800.32745842.Christophe.Troestler@umh.ac.be> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502042142.21439.jon@jdh30.plus.com> X-Miltered: at concorde with ID 4203EBCE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 christophe:01 troestler:01 wrote:01 ocamlc:01 ocamlc:01 emacs:01 ocaml:01 incorrectly:01 incorrectly:01 syntax:01 indents:01 emacs:01 highlighted:98 frog:98 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Friday 04 February 2005 20:38, Christophe TROESTLER wrote: > > > ocamlc -dtypes > > > M-x caml-types-show-types > Can you be more specific? Which one does not work -- and possibly > what error messages do you get? Sorry, I meant what does "ocamlc -dtypes" do? I can't find it in the man pages or on-line docs. When I do "M-x caml-types-show-types" and hit enter, emacs just adds "[No match]" and beeps. I have never been very happy with emacs' editing of ocaml. I often find that it randomly starts to indent incorrectly (as if the code were in a comment), comments are incorrectly syntax highlighted and have some code on which it indents wrongly every time. > (The emacs command shortcut is C-cC-t). I have no idea what that means, but I just tried it and emacs inserted "try\n\nwith". :-) -- Dr Jon D Harrop, Flying Frog Consultancy Ltd.