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 16:13:48 +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> <17625.31980.322753.880555@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 1155107769 9985 80.91.229.2 (9 Aug 2006 07:16:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2006 07:16:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 09 09:16:08 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 1GAiIQ-0000xE-VE for ged-emacs-devel@m.gmane.org; Wed, 09 Aug 2006 09:16:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAiIQ-0001Qk-05 for ged-emacs-devel@m.gmane.org; Wed, 09 Aug 2006 03:16:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GAiHI-0000ms-T8 for emacs-devel@gnu.org; Wed, 09 Aug 2006 03:14:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GAiHE-0000jF-Tv for emacs-devel@gnu.org; Wed, 09 Aug 2006 03:14:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GAiHE-0000j0-Dl for emacs-devel@gnu.org; Wed, 09 Aug 2006 03:14:52 -0400 Original-Received: from [203.180.232.81] (helo=mgate01.necel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GAiLo-0006pL-TL; Wed, 09 Aug 2006 03:19:37 -0400 Original-Received: from relay11.aps.necel.com (relay11 [10.29.19.46]) by mgate01.necel.com (8.13.6/8.13.1) with ESMTP id k794fbOV029418; Wed, 9 Aug 2006 16:14:47 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay11.aps.necel.com with ESMTP; Wed, 9 Aug 2006 16:14:47 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.97.235] [10.114.97.235]) by relay11.aps.necel.com with ESMTP; Wed, 9 Aug 2006 16:14:47 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 377F922; Wed, 9 Aug 2006 16:13:48 +0900 (JST) Original-To: Nick Roberts System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <17625.31980.322753.880555@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 9 Aug 2006 18:13:00 +1200") Original-Lines: 29 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:58213 Archived-At: Nick Roberts writes: > Every application has to decide how it's going to display a tab. Emacs > uses eight spaces by default but others use a different number. 8 is not an arbitrary value, it's pretty much the standard. > I've noticed it in diffs where the source has tabs and appears different > e.g in the mail archives. This is due to users who use a different setting when they edit a file; in order to get rid of _that_ problem, you're going to have to convince everybody to change their setting, and morever, _modify_ every existing source file. That's a nightmare for merging/maintenance, and isn't going to (shouldn't) happen. > > 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. > > Since they all seem to insert spaces, I think this either says that nil would > be a sensible default for indent-tabs-mode, or it doesn't really matter. They do not insert spaces by default. If they are for you, that means you've changed some setting. -Miles -- "Suppose He doesn't give a shit? Suppose there is a God but He just doesn't give a shit?" [George Carlin]