From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: tabs v spaces in Emacs's source files Date: Fri, 7 Mar 2008 09:21:55 -0800 Message-ID: <009f01c88077$be286100$0600a8c0@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204910728 25954 80.91.229.12 (7 Mar 2008 17:25:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Mar 2008 17:25:28 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 07 18:25:55 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 1JXgJs-0003DU-Vn for ged-emacs-devel@m.gmane.org; Fri, 07 Mar 2008 18:25:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXgJL-00035U-7F for ged-emacs-devel@m.gmane.org; Fri, 07 Mar 2008 12:24:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXgJE-00033T-0t for emacs-devel@gnu.org; Fri, 07 Mar 2008 12:24:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXgJB-000307-9G for emacs-devel@gnu.org; Fri, 07 Mar 2008 12:24:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXgJA-0002zW-BY for emacs-devel@gnu.org; Fri, 07 Mar 2008 12:24:36 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JXgJ9-0001hT-Sr for emacs-devel@gnu.org; Fri, 07 Mar 2008 12:24:36 -0500 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m27HNWxA013123 for ; Fri, 7 Mar 2008 10:23:32 -0700 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m27DXatq001520 for ; Fri, 7 Mar 2008 10:23:32 -0700 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3604323871204910527; Fri, 07 Mar 2008 09:22:07 -0800 Original-Received: from dradamslap1 (/141.144.88.222) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 07 Mar 2008 09:22:07 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AciAZtd3xzuosSjaTuS9Fndq8F0n+QAD4ySA X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:91648 Archived-At: I don't know whether the coding standard is strict in preferring TAB characters, or why it would be. And I don't know if it is cast in concrete or is open to suggestions. When we post patches, we generally create them using `diff -c -w' AFAIK, which would seem to suggest an agnostic (or at least a loose) approach to indenting whitespace. FWIW, I prefer to work with code that uses TAB characters only where they are pertinent - e.g. in strings. IOW, I use spaces for indenting. Turning on highlighting of TAB chars then shows me only the places where a TAB character is really important. I like those TABS to stand out; I don't like the noise that comes from TABs used just to indent code. Just one opinion.