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: tab widths with a remapped default face Date: Fri, 06 Jun 2008 03:53:59 -0400 Message-ID: References: <6163snp2bo.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212738867 766 80.91.229.12 (6 Jun 2008 07:54:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 07:54:27 +0000 (UTC) Cc: Gerd Moellmann , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 06 09:55:08 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4Wmx-0006mS-9N for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 09:55:07 +0200 Original-Received: from localhost ([127.0.0.1]:41322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4WmA-0005EA-J7 for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 03:54:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4Wm5-0005Dm-6D for emacs-devel@gnu.org; Fri, 06 Jun 2008 03:54:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4Wm3-0005DC-EU for emacs-devel@gnu.org; Fri, 06 Jun 2008 03:54:12 -0400 Original-Received: from [199.232.76.173] (port=39906 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4Wm3-0005D1-3N for emacs-devel@gnu.org; Fri, 06 Jun 2008 03:54:11 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:34698) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4Wly-0000pU-Jb; Fri, 06 Jun 2008 03:54:06 -0400 Original-Received: from 206-248-132-168.dsl.teksavvy.com ([206.248.132.168] helo=ceviche.home) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4Wlx-0007XW-PX; Fri, 06 Jun 2008 03:54:05 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id D0DF3B4248; Fri, 6 Jun 2008 03:53:59 -0400 (EDT) In-Reply-To: (Miles Bader's message of "Fri, 06 Jun 2008 16:26:48 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-Greylist: delayed 305964 seconds by postgrey-1.27 at nadesico; Fri, 06 Jun 2008 03:54:05 EDT X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:98501 Archived-At: > Using the TAB face for tab-width calculation seems much likely to > preserve the local integrity of indentation (using the default face > means that mixed space and tab indentation will often not be the same as > space-only indentation). It seems a bit more intuitive to me as well. > However, if there is a significant case where using the default face for > calculations is better, it would be good to know it, but it seems a bit > silly to make decisions based on vague recollections. I think the issue was vertical alignment of elements on different lines, using different faces. E.g. a first (header) line in one face, followed by various lines in some other face. OTOH, you can usually add a `default' face to the TABs to impose the use of a uniform tab size, so maybe it's not a real problem. Maybe Gerd remembers? Stefan