From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Grahn Newsgroups: gmane.emacs.help Subject: Re: change spaces indent in text mode? Date: 6 Feb 2010 08:11:17 GMT Message-ID: References: <87wrz0ittg.fsf@mithlond.arda> 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 1265521895 14186 80.91.229.12 (7 Feb 2010 05:51:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2010 05:51:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 06:51:33 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 1Ne03Q-0002nl-Sz for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Feb 2010 06:51:33 +0100 Original-Received: from localhost ([127.0.0.1]:41247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ne03Q-0006Sz-DL for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Feb 2010 00:51:32 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-X-Trace: individual.net DS2lENf/TuAoohSDcfW09gkzeWpfV4EEvUQEgfKsUatJ2zY6Ug Cancel-Lock: sha1:jwLmzfMkI0pvFFLQNlIkRikyDRY= User-Agent: slrn/pre0.9.9-111 (Linux) Original-Xref: news.stanford.edu gnu.emacs.help:176643 X-Mailman-Approved-At: Sun, 07 Feb 2010 00:49:06 -0500 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:71720 Archived-At: On Fri, 2010-01-29, Tom Rauchenwald wrote: > Brendan Miller writes: > >> Great, thanks! >> >> 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? > > Try (setq-default tab-width 4) A few people have suggested this. Note that this redefines the appearance *in your Emacs* of the TAB character and the text as a whole. It will look wrong in any other program and to any other reader who hasn't reconfigured his tools in the same way. I have the misfortune of working with source code where half of it uses this configuration and half doesn't. It's pure pain; please don't do it unless you *know* noone but you will ever have to read this text. /Jorgen -- // Jorgen Grahn O o .