From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.7 required=5.0 tests=AWL,DNS_FROM_SECURITYSAGE, SPF_SOFTFAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 9C24EBBAF for ; Thu, 23 Oct 2008 13:01:04 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuQAANP1/0jVhjEYmWdsb2JhbACTbwEBAQEBCAsKBxGscINO X-IronPort-AV: E=Sophos;i="4.33,469,1220220000"; d="scan'208";a="16395396" Received: from ihsmtp02voda.lis.interhost.com (HELO ihsmtp02cons.lis.interhost.com) ([213.134.49.24]) by mail2-smtp-roc.national.inria.fr with ESMTP; 23 Oct 2008 13:01:04 +0200 Received: from [192.168.1.64] ([77.54.249.136]) by ihsmtp02cons.lis.interhost.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 23 Oct 2008 11:58:50 +0100 Message-ID: <4900596C.80406@inescporto.pt> Date: Thu, 23 Oct 2008 12:01:00 +0100 From: Hugo Ferreira User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Thomas Gazagnaire Cc: Romain Bardou , caml-list caml-list Subject: Re: [Caml-list] What does Jane Street use/want for an IDE? What about you? References: <200810200919.41561.ober.14@osu.edu> <9d3ec8300810211231j40dbbef2ifdd6c2f6b84a2048@mail.gmail.com> <20081021202649.GA11380@philou.ch> <200810220842.17128.ober.14@osu.edu> <49002C0E.5050107@inescporto.pt> <49003554.9050109@lri.fr> <9722eaea0810230313u25b2c874xc94574786e513162@mail.gmail.com> In-Reply-To: <9722eaea0810230313u25b2c874xc94574786e513162@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Oct 2008 10:58:50.0209 (UTC) FILETIME=[5493F510:01C934FE] X-Spam: no; 0.00; lri:01 lri:01 emacs:01 beginner's:01 ocaml:01 bug:01 beginner's:01 ocaml:01 bug:01 beginners:01 beginners:01 wrote:01 caml-list:01 caml-list:01 bin:01 Thomas Gazagnaire wrote: > I would prefer to not have an editor which modify completely the file I > am working on (ie. automatically replace tab by spaces). When working on > big project, you cannot assume that everybody use spaces-based editor, > and you still want to minimize the diff size of your patches. > That is the whole issue. If you work in a big project wherein everyone can you use their own "tab length", maintaining consistent indentation is difficult (if not impossible). As Romain Bardou pointed out, you can even use the same editors with differing "tab length". Real messy. And the bigger the project and the longer it needs maintenance the worse it gets. BTW, I believe all editors are "space based" :-) HF. > Thomas > > 2008/10/23 Romain Bardou > > > That's actually nearly what Camelia has right now. Right now > Camelia > insists on not dealing with tabs at all -- it converts them > all to > spaces. This "feature" has to go obviously, and it's a > few-liner to > convert between characters (which include tabs) and columns. > > > What do you mean with this? Reason I ask is that in OcalIDE an > option to > save files with spaces only, was added because it allows one to > simultaneously edit files in various editors, each with its own tab > "length". If not, indenting is not maintained. I myself think that > avoiding tabs altogether is a good solution. > > > I agree. > > Even without changing your editor, you can change the tab length. > > Moreover, if the editor uses tabs and counts them as more than one > character (default behavior of emacs) it won't be able to locate > errors correctly. > > Finally, when you use backspace to delete one space and suddenly it > deletes eight of them because it was actually a tab, it's annoying > because it's unpredictable. > > Altogether, this means that if you edit a file and put tabs in it, > it may work for you, but it may annoy the people you give your file > to :p > > -- > Romain Bardou > > > _______________________________________________ > 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 > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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