From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: indent-tabs-mode Date: Wed, 09 Aug 2006 14:34:06 +0900 Message-ID: References: <17625.10780.183387.56951@kahikatea.snap.net.nz> <17625.23143.948456.697472@kahikatea.snap.net.nz> <17625.28284.187128.699894@kahikatea.snap.net.nz> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155101733 27197 80.91.229.2 (9 Aug 2006 05:35:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2006 05:35:33 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 09 07:35:31 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GAgj2-0003t2-1S for ged-emacs-devel@m.gmane.org; Wed, 09 Aug 2006 07:35:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAgj1-0001Zy-Eg for ged-emacs-devel@m.gmane.org; Wed, 09 Aug 2006 01:35:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GAgio-0001Zt-Ty for emacs-devel@gnu.org; Wed, 09 Aug 2006 01:35:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GAgim-0001Zh-GW for emacs-devel@gnu.org; Wed, 09 Aug 2006 01:35:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAgim-0001Ze-CQ for emacs-devel@gnu.org; Wed, 09 Aug 2006 01:35:12 -0400 Original-Received: from [203.180.232.81] (helo=mgate01.necel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GAgnM-0006K5-La; Wed, 09 Aug 2006 01:39:57 -0400 Original-Received: from relay21.aps.necel.com (relay21 [10.29.19.50]) by mgate01.necel.com (8.13.6/8.13.1) with ESMTP id k795TUbH028286; Wed, 9 Aug 2006 14:35:07 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay21.aps.necel.com with ESMTP; Wed, 9 Aug 2006 14:35:07 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.97.235] [10.114.97.235]) by relay21.aps.necel.com with ESMTP; Wed, 9 Aug 2006 14:35:07 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 315BB22; Wed, 9 Aug 2006 14:34:07 +0900 (JST) Original-To: Nick Roberts System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <17625.28284.187128.699894@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 9 Aug 2006 17:11:24 +1200") Original-Lines: 28 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:58206 Archived-At: Nick Roberts writes: > OK, thats 2-0. How about setting indent-tabs-mode to nil? I think that's > right: I mean don't insert tabs but spaces. The default has been `t' for around a zillion years; if you change it gratitously you're just going to annoy people are accustomed to the default, for no reason. The vast majority of applications do not distinguish in any significant way between tabs and spaces, for good reason (because doing so is _very confusing_ for the user). Given that only the most bizarro applications actually care about tabs vs. spaces, it seems better to simply deal with those rare cases individually using modes. [Actually, what are those applications? Make treats TAB as significant, but does so in a way that works well with the default settings.] > Actually many commands seem to do this anyway: c-indent-command, > lisp-indent-line, so perhaps I've got the wrong end of the stick > anyway. Those commands do not do anything special, they simply do what indent-tabs-mode tells them to do; if indent-tabs-mode is t, they will insert tabs. -Miles -- Do not taunt Happy Fun Ball.