[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change spaces indent in text mode?
From: |
Brendan Miller |
Subject: |
Re: change spaces indent in text mode? |
Date: |
Fri, 29 Jan 2010 12:50:01 -0800 |
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?
On Fri, Jan 29, 2010 at 11:39 AM, Teemu Likonen <tlikonen@iki.fi> wrote:
> * 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.
>
Re: change spaces indent in text mode?, Suvayu Ali, 2010/01/30