From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: change spaces indent in text mode? Date: Fri, 29 Jan 2010 21:39:55 +0200 Organization: A noiseless patient Spider Message-ID: <87wrz0ittg.fsf@mithlond.arda> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264794082 17035 80.91.229.12 (29 Jan 2010 19:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2010 19:41:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 29 20:41:18 2010 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.69) (envelope-from ) id 1NawiR-0007yr-T0 for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jan 2010 20:41:16 +0100 Original-Received: from localhost ([127.0.0.1]:56515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NawiR-00086q-Aa for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jan 2010 14:41:15 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Injection-Date: Fri, 29 Jan 2010 19:39:55 +0000 (UTC) Injection-Info: news.motzarella.org; posting-host="TcTTtsh3Iz4M1vNcTNIcFQ"; logging-data="31601"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rEQFXJcl/1EKqybm0riLJXlJF1Askv/w=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:rATbD3wFrX0w5f52ixEaKOAXDmE= sha1:kXZ3e7fbjTPjW/i+3e5ROTgpryI= Original-Xref: news.stanford.edu gnu.emacs.help:176495 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:71565 Archived-At: * 2010-01-29 11:28 (-0800), Brendan Miller wrote: > When I hit tab in text mode, it indents by 5 spaces. How do I change > that? Setting tab-width doesn't seem to do the right thing. TAB key in text-mode indents to the columns of previous line's words. If you want to go to next tab stop, as defined in tab-stop-list variable, use M-i. For example, first write a line like this: Here are some words. Then press TAB key a couple of times on the next line. Then go to the beginning of line and press M-i a couple of times. You should see the difference.