From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don provan Newsgroups: gmane.emacs.help Subject: Re: Tabs for indentation, spaces for alignment? Date: Fri, 10 Nov 2006 00:17:38 -0800 Message-ID: References: <87fycvsh1r.fsf@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163148036 729 80.91.229.2 (10 Nov 2006 08:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2006 08:40:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 10 09:40:36 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GiRw6-0005zc-1l for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 09:40:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiRw5-0002se-J8 for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 03:40:29 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 10 Nov 2006 02:17:38 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:FKRG40mibvRIq7+JY71Uc4r/pTU= Original-Lines: 22 Original-NNTP-Posting-Host: 24.5.238.65 Original-X-Trace: sv3-BuJLfflf7HH1UqLPOdEOXb32R/ZqsbUN6+BKTtIAz9gDib7DOzvwt24VOhPm7mXcMP8hzBvYEf089g9!Y/NJvg1OOkPMMrj6/0QsH5hF/onHGWHghCzPMrXOS8a26taIcqhaiMpG2axEsQ== Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:142994 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38612 Archived-At: Anders Kaseorg writes: > Or even this, if the indent and tab widths are different? > block { > ....block { > ------->block { > ------->....some_function(arg, > ------->..................arg); Which would look like this with tab stops set to 4 characters: block { ....block { --->block { --->....some_function(arg, --->..................arg); If tabs are broken in your environment (i.e., set to something other than 8), then you're just hosed: there will always be cases were a tab character will do the wrong thing. No worries, just tell emacs not to use them and don't use them manually (internal tabs, for example). -don provan