From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: use.address@my.homepage.invalid (Chris Gordon-Smith) Newsgroups: gmane.emacs.help Subject: Re: Tabs and Spaces Date: 25 May 2009 21:48:19 GMT Organization: SimSoup Message-ID: <780i13F1jleh1U2@mid.individual.net> References: <77vbbiF1jhhubU1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1243346878 24536 80.91.229.12 (26 May 2009 14:07:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2009 14:07:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 26 16:07:51 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 1M8xJm-00010f-Ut for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2009 16:07:51 +0200 Original-Received: from localhost ([127.0.0.1]:40269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8xJm-0001ht-Dv for geh-help-gnu-emacs@m.gmane.org; Tue, 26 May 2009 10:07:50 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 11 Original-X-Trace: individual.net G6bGx2vmyyyCn99pb4ZI8g00Oz0shWgXEUCvgFVo8gC27rEBAo X-Orig-Path: not-for-mail Cancel-Lock: sha1:VIEsRRzGlmcJcC0k76/ZsPTAFdg= User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.26-2-686 (i686)) Original-Xref: news.stanford.edu gnu.emacs.help:169484 X-Mailman-Approved-At: Tue, 26 May 2009 10:02:22 -0400 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:64732 Archived-At: Drew Adams wrote: >> having emacs convert a TAB keypress into the correct number >> of spaces > > (setq indent-tabs-mode nil) > Thanks. This on its own didn't work for me. I also had to use tab-to-tab-stop (and setq-default rather than setq). Chris Gordon-Smith www.simsoup.info