From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id E4A67BBAF for ; Sat, 16 Oct 2010 19:14:17 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqwCAHJ6uUxQDPIagmdsb2JhbACTBo4rFQEBCwsIBxMDH8A4hUkEhFSIew X-IronPort-AV: E=Sophos;i="4.57,340,1283724000"; d="scan'208";a="61654543" Received: from smtp20.orange.fr ([80.12.242.26]) by mail3-smtp-sop.national.inria.fr with ESMTP; 16 Oct 2010 19:14:17 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2001.orange.fr (SMTP Server) with ESMTP id DE0912000110; Sat, 16 Oct 2010 19:14:16 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2001.orange.fr (SMTP Server) with ESMTP id CA1D22000117; Sat, 16 Oct 2010 19:14:16 +0200 (CEST) Received: from [192.168.1.114] (c-67-188-213-250.hsd1.ca.comcast.net [67.188.213.250]) by mwinf2001.orange.fr (SMTP Server) with ESMTP id C49542000110; Sat, 16 Oct 2010 19:14:15 +0200 (CEST) X-ME-UUID: 20101016171415805.C49542000110@mwinf2001.orange.fr X-ME-User-Auth: padator@wanadoo.fr Subject: Re: [Caml-list] Smart caml editor and smart debugger Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=iso-8859-1 From: Yoann Padioleau In-Reply-To: <82EA8E1F-9B09-4F92-BF54-CCEF43F4536C@gmail.com> Date: Sat, 16 Oct 2010 10:14:14 -0700 Cc: dumitru.potop@inria.fr, caml-list@inria.fr Content-Transfer-Encoding: quoted-printable Message-Id: <4838E482-9898-4D44-A25D-BD3677C3A781@wanadoo.fr> References: <4CB8210D.7030307@inria.fr> <82EA8E1F-9B09-4F92-BF54-CCEF43F4536C@gmail.com> To: Vincent Aravantinos X-Mailer: Apple Mail (2.1081) X-Spam: no; 0.00; debugger:01 emacs:01 cameleon:01 pfff:01 pfff:01 wiki:01 cheers:01 beginner's:01 ocaml:01 bug:01 activating:98 tomography:98 collapse:98 beginners:01 wrote:01 On Oct 15, 2010, at 5:00 AM, Vincent Aravantinos wrote: > Hi Dumitru, >=20 > Le 15 oct. 10 =E0 05:38, Dumitru Potop-Butucaru a =E9crit : >=20 >> 1. An editor where I can collapse entire >> definitions (by reducing a huge "let x =3D .... in" >> step into a single line). I'd prefer doing it >> using a mouse, but emacs shortcuts would >> be OK, too. >=20 > With Vim you can do this by activating what they call "folding". You = can do by just typing 'zi'. Though it probably relies on indentation = rather than on the syntactic constructions. >=20 > I guess chamo (http://home.gna.org/cameleon/chamo.en.html) can = probably do this sort of thing. pfff_visual takes the opposite approach which is too show all the code = but augmenting the size of the important stuff so that you don't need the folding at all. See one of the screenshot at http://github.com/facebook/pfff/wiki/Main I am also working on a tracer that let you visualize what the code is = doing (like a tomography). >=20 > Cheers, > Vincent > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs