From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.devel Subject: Re: Whitespace cleanup, tab-width and religion. Date: Mon, 01 Jan 2007 21:24:45 +0100 Organization: Epita/LRDE Message-ID: <87hcvaa41e.fsf@lrde.org> References: <87fybafyis.fsf@lrde.org> <87slfaeh5z.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1170414754==" X-Trace: sea.gmane.org 1167679499 29147 80.91.229.12 (1 Jan 2007 19:24:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Jan 2007 19:24:59 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 01 20:24:57 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H1SmC-0008LP-AJ for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2007 20:24:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1SmB-0005Cn-Nv for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2007 14:24:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H1Slw-0005A8-QS for emacs-devel@gnu.org; Mon, 01 Jan 2007 14:24:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H1Slv-00058r-Us for emacs-devel@gnu.org; Mon, 01 Jan 2007 14:24:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1Slv-00058j-RO for emacs-devel@gnu.org; Mon, 01 Jan 2007 14:24:35 -0500 Original-Received: from [212.27.42.30] (helo=smtp4-g19.free.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H1Slr-0006Ds-TU; Mon, 01 Jan 2007 14:24:32 -0500 Original-Received: from localhost (ivr94-6-82-230-255-91.fbx.proxad.net [82.230.255.91]) by smtp4-g19.free.fr (Postfix) with ESMTP id E315F8A42; Mon, 1 Jan 2007 20:24:28 +0100 (CET) Original-To: "Rajesh Vaidheeswarran" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVWPh+Tai+5r5YKBAEU CQQzGAtiq7gjAAACR0lEQVQ4jW2UzW7lIAyFzVW8BzTZX5DmCZLuU2H2pMXv/ypzbK7aSh2kRCRf /HNsE0q7Sg+RQ7JFKaqtrRNAl5AIIKe6D5DBqgbmUAe5hBI1wIRFAHjeM0RKtZi7XVVEpb0BSNfA IddChChT5DildSLWOWhY5IEItMnncZgFcUAc/5jjwCMsDosRNdfKPDTFEdVBW8C+RebDb4N5Orio RhM1+11IJyx0ng2+LryFHBMPDQDYHrY6IfGuU3ouiXTQNE8LIJDKOWpNxERTFrggQwRPd7USUsTW fJ0XbR3bdj5KgBYy4SACpxDeUYEUAzLmtJ1iIrD2gczPq8Qomjhsh/RjGIgKIO8p7NITjwlx7WID nsnQe5NeuTvoBpi8LX6vLLOh5icjOHqBypgnuSp7M+RE1agbQKHQr5E2z1WObhYW4gMqeGQL7joM jCf2DxSk5ApADSYHfFF4igNfJZL1z0GKP0FN02s4XiDXr7V5P94W6I9v8MfBOQDmfwAaVYt+x8Da v4DJvX8BAdin3Knm5yMZYAO4ABDkDniZLLfi4P40gP1F0TPGZOu0CGwA1lcowxwlGy6A9705mD0V jHCxwVZT/hYdRJVUGZNlx6l7ScQBTluof6Wj6bsPYlvpwoTvXFD9gHPn2TZPF3ntI2ecxVrW5MrV XiCie5EeNa7BlWu/HNSkprDUva163PHxAv5jyGV7gVzyAghSKOTnat85UIYFICXbD2NV9rRiv0BS tKQsg6OHH4A15F1WW+UHKHHa32h6aPnAm3/pUcWp+WYnTQAAAABJRU5ErkJggg== In-Reply-To: (Rajesh Vaidheeswarran's message of "Mon\, 1 Jan 2007 13\:55\:51 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64611 Archived-At: --===============1170414754== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable "Rajesh Vaidheeswarran" writes: > As the author of whitespace.el, it was my intent to keep tabs at 8 > characters. Yep, it was clear enough :-) > People set tab-widths to whatever they please on their favorite > editors. However, there is no way to portably move the definition of > TAB across people and platforms, other than the value of 8 spaces. I do agree on the point. But, again, isn't a misfeature that changing tab-width and using whitespace.el screws up the formating (in Emacs, only, here) ? I mean the following. Tab-width is 2, spaces are ` ' and tabs `->'. My document is : int main () { =2D>printf("Hello !"); =2D>/* Oh, I forgot the \n ! */ =2D>if (true) =2D>->if (true) =2D>->->if (really(true)) printf("\n"); } If I use whitespace-cleanup here, the last printf will be indented with the first if, because the 8 spaces will be replaced with a . We are OK: there's no way to have consistency between editors, but maybe this would be an improvement on the self-consistency of Emacs, nop ? And after all, if the user, with the help of great tools like whitespace.el, keeps a well formated use of TABs, this would enhance portability of these TABs (modulo their size), isn't it ? =2D-=20 | Micha=EBl `Micha' Cadilhac | Le copillage-collage = | | Epita/LRDE Promo 2007 | tue le programmeur. = | | http://michael.cadilhac.name | -- Dictons LRDE = | `--JID: michael.cadilhac@gmail.com--' - = --' --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFmW4NUJhDmOfFA3URAin6AJ9PkBZpY8TLm0Kb+w5GT1C3uBCiJQCcC303 WCWCV1RpwAroumZ6uM2s7Uo= =T/i2 -----END PGP SIGNATURE----- --=-=-=-- --===============1170414754== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1170414754==--