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.0 required=5.0 tests=DNS_FROM_SECURITYSAGE, HTML_MESSAGE 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 520C8BBAF for ; Thu, 23 Oct 2008 12:13:33 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApYBAEfr/0hC+Vyoimdsb2JhbACCRjCQOz4BAQEKCQwHD6xKg04 X-IronPort-AV: E=Sophos;i="4.33,469,1220220000"; d="scan'208";a="16393774" Received: from ug-out-1314.google.com ([66.249.92.168]) by mail2-smtp-roc.national.inria.fr with ESMTP; 23 Oct 2008 12:13:33 +0200 Received: by ug-out-1314.google.com with SMTP id y2so1549641uge.4 for ; Thu, 23 Oct 2008 03:13:32 -0700 (PDT) Received: by 10.210.19.11 with SMTP id 11mr458017ebs.172.1224756812236; Thu, 23 Oct 2008 03:13:32 -0700 (PDT) Received: by 10.210.20.7 with HTTP; Thu, 23 Oct 2008 03:13:32 -0700 (PDT) Message-ID: <9722eaea0810230313u25b2c874xc94574786e513162@mail.gmail.com> Date: Thu, 23 Oct 2008 11:13:32 +0100 From: "Thomas Gazagnaire" To: "Romain Bardou" Subject: Re: [Caml-list] What does Jane Street use/want for an IDE? What about you? Cc: "caml-list caml-list" In-Reply-To: <49003554.9050109@lri.fr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_37951_14986943.1224756812232" 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> X-Spam: no; 0.00; ocaml:01 lri:01 emacs:01 beginner's:01 ocaml:01 bug:01 lri:01 emacs:01 beginner's:01 bug:01 beginners:01 beginners:01 caml-list:01 caml-list:01 bin:01 ------=_Part_37951_14986943.1224756812232 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. 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 > ------=_Part_37951_14986943.1224756812232 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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.

Thomas

2008/10/23 Romain Bardou <Romain.Bardou@lri.fr>
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

------=_Part_37951_14986943.1224756812232--