From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.help Subject: Re: change spaces indent in text mode? Date: Fri, 29 Jan 2010 16:30:28 -0500 Message-ID: <87pr4s4n0r.fsf@eku238261.eku.edu> References: <87wrz0ittg.fsf@mithlond.arda> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264800728 13595 80.91.229.12 (29 Jan 2010 21:32:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2010 21:32:08 +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 22:32:05 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 1NayRh-0000VX-Iv for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jan 2010 22:32:05 +0100 Original-Received: from localhost ([127.0.0.1]:45141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NayRg-0000Mh-Sm for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jan 2010 16:32:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NayQW-0008U6-9W for help-gnu-emacs@gnu.org; Fri, 29 Jan 2010 16:30:52 -0500 Original-Received: from [199.232.76.173] (port=39381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NayQV-0008Tq-O1 for help-gnu-emacs@gnu.org; Fri, 29 Jan 2010 16:30:51 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NayQU-00072H-Vj for help-gnu-emacs@gnu.org; Fri, 29 Jan 2010 16:30:51 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:60733) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NayQU-000729-L0 for help-gnu-emacs@gnu.org; Fri, 29 Jan 2010 16:30:50 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NayQR-00084m-EA for help-gnu-emacs@gnu.org; Fri, 29 Jan 2010 22:30:47 +0100 Original-Received: from 157.89.133.36 ([157.89.133.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jan 2010 22:30:47 +0100 Original-Received: from tyler.smith by 157.89.133.36 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jan 2010 22:30:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 157.89.133.36 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:ArYnoPSKS5QcJRydP75FVYyilvg= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:71567 Archived-At: Brendan Miller writes: > The only problem I have, is that m-i seems to indent by 8 spaces. I > tried putting > > (setq tab-width 4) in my .emacs, but that doesn't seem to change > anything... is m-i controlled by a different variable? The documentation is a little confusing on this, at least to me. My Emacs manual (info "(emacs)Text Display") says that you need to use default-tab-width for this, as tab-width is buffer local, meaning it only applies to the buffer you were in when you set it. However, the help for default-tab-width (C-h v default-tab-width) says that default-tab-width is deprecated, and tab-width should be used instead. I think this might qualify as a buglet in the documentation, unless I'm missing something obvious. Tyler