From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: indent-tabs-mode Date: Thu, 10 Aug 2006 11:11:02 -0400 Message-ID: <87lkpw6334.fsf-monnier+emacs@gnu.org> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155222818 3037 80.91.229.2 (10 Aug 2006 15:13:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Aug 2006 15:13:38 +0000 (UTC) Cc: Klaus Zeitler , Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 10 17:13:27 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 1GBCBz-0000ep-Bj for ged-emacs-devel@m.gmane.org; Thu, 10 Aug 2006 17:11:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBCBy-00075K-BP for ged-emacs-devel@m.gmane.org; Thu, 10 Aug 2006 11:11:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBCBl-00074g-AZ for emacs-devel@gnu.org; Thu, 10 Aug 2006 11:11:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBCBf-00073q-Pd for emacs-devel@gnu.org; Thu, 10 Aug 2006 11:11:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBCBf-00073n-Ju for emacs-devel@gnu.org; Thu, 10 Aug 2006 11:11:07 -0400 Original-Received: from [209.226.175.184] (helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GBCGY-0004ZR-4r; Thu, 10 Aug 2006 11:16:10 -0400 Original-Received: from alfajor ([70.55.140.231]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060810151102.ZZGU10262.tomts22-srv.bellnexxia.net@alfajor>; Thu, 10 Aug 2006 11:11:02 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id CFC881CC1B; Thu, 10 Aug 2006 11:11:02 -0400 (EDT) Original-To: Miles Bader In-Reply-To: (Miles Bader's message of "Thu, 10 Aug 2006 14:27:03 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (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:58261 Archived-At: > The claimed advantage of this is that someone who likes a different > "level offset" can easily just change their tab-width and all the C code > they view instantly changes (assuming that all the code they view > follows this convention of course :-). Of course this breaks down as soon as you have indentation relative to a point that's not the first non-tab on the line. E.g foobarfun(arg1, arg2); In order for this to correctly react to changes in tab-width, you have to make sure that it's represented as [TAB]foobarfun(arg1, [TAB][.spaces.]arg2); Stefan