From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: How to avoid SPACE TAB in a file? Date: Wed, 25 Nov 2009 13:21:26 -0800 Message-ID: References: <2009Nov25.202543@mips.complang.tuwien.ac.at> <4b0d8da3$0$269$14726298@news.sunsite.dk> 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 1259184448 1781 80.91.229.12 (25 Nov 2009 21:27:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2009 21:27:28 +0000 (UTC) To: "'Colin S. Miller'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 25 22:27:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDPOS-00069t-Nt for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Nov 2009 22:27:21 +0100 Original-Received: from localhost ([127.0.0.1]:56802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDPOS-0006gv-9v for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Nov 2009 16:27:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDPKT-0002s8-6T for help-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:23:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDPKO-0002nA-9E for help-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:23:12 -0500 Original-Received: from [199.232.76.173] (port=45661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDPKO-0002mz-1e for help-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:23:08 -0500 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:43033) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDPKN-0001Qt-Lr for help-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:23:07 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nAPLO5A8025224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 25 Nov 2009 21:24:06 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nAPLGTue031568; Wed, 25 Nov 2009 21:23:00 GMT Original-Received: from abhmt003.oracle.com by acsmt353.oracle.com with ESMTP id 613553911259184075; Wed, 25 Nov 2009 13:21:15 -0800 Original-Received: from dradamslap1 (/141.144.80.204) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 25 Nov 2009 13:21:15 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpuEtoJNr8TSnWCQiOn35at10xuRAAAi76A In-Reply-To: <4b0d8da3$0$269$14726298@news.sunsite.dk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4B0DA036.001C:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 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:70128 Archived-At: > If you want emacs to always insert spaces instead of tabs > then you can put (setq indent-tabs-mode nil) in your .emacs. > This needs to be set for each buffer, so it should be put in > a hook like > (add-hook 'c-mode-hook '(lambda () (setq indent-tabs-mode nil))) (setq-default indent-tabs-mode t)