[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change spaces indent in text mode?
From: |
Jorgen Grahn |
Subject: |
Re: change spaces indent in text mode? |
Date: |
6 Feb 2010 08:11:17 GMT |
User-agent: |
slrn/pre0.9.9-111 (Linux) |
On Fri, 2010-01-29, Tom Rauchenwald wrote:
> Brendan Miller <catphive@catphive.net> 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 <grahn@ Oo o. . .
\X/ snipabacken.se> O o .