From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Kaseorg Newsgroups: gmane.emacs.help Subject: Re: Tabs for indentation, spaces for alignment? Date: Tue, 07 Nov 2006 23:27:40 -0500 Message-ID: <1162959795.5839.47.camel@fold-right.mit.edu> References: <87fycvsh1r.fsf@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1162960093 7783 80.91.229.2 (8 Nov 2006 04:28:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2006 04:28:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 08 05:28:12 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 1Ghf2o-00018L-EL for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Nov 2006 05:28:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ghf2n-0000EX-Ux for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Nov 2006 23:28:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ghf2d-0000EQ-Rw for help-gnu-emacs@gnu.org; Tue, 07 Nov 2006 23:27:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ghf2b-0000EE-3e for help-gnu-emacs@gnu.org; Tue, 07 Nov 2006 23:27:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ghf2a-0000EB-VQ for help-gnu-emacs@gnu.org; Tue, 07 Nov 2006 23:27:57 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Ghf2a-0006aZ-LD for help-gnu-emacs@gnu.org; Tue, 07 Nov 2006 23:27:56 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ghf2W-00015R-Qv for help-gnu-emacs@gnu.org; Wed, 08 Nov 2006 05:27:52 +0100 Original-Received: from fold-right.mit.edu ([18.243.2.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Nov 2006 05:27:52 +0100 Original-Received: from anders by fold-right.mit.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Nov 2006 05:27:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: fold-right.mit.edu In-Reply-To: <87fycvsh1r.fsf@gmx.at> X-Mailer: Evolution 2.8.1 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:38582 Archived-At: On Tue, 2006-11-07 at 11:10 +0100, Markus Triska wrote: > UNIX convention for TAB format effector is to move to columns that are > multiples of 8. People breaking that are on their own. I know what UNIX tabs do. I also know that many Windows editors, and some cross-platform editors like Eclipse, default to 4-space tabs. But let's not have a tab width flame war. Even if we all agree on 8-space tabs, I'd want my alignment characters to be semantically correct. So I ask again: is there a way to get this? block { ------->block { ------->------->some_function(arg, ------->------->..............arg); Or even this, if the indent and tab widths are different? block { ....block { ------->block { ------->....some_function(arg, ------->..................arg); Anders