[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change spaces indent in text mode?

From: Suvayu Ali
Subject: Re: change spaces indent in text mode?
Date: Sat, 30 Jan 2010 18:05:35 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100120 Fedora/3.0.1-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.1


On Friday 29 January 2010 11:39 AM, Teemu Likonen 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

Maybe this is a little off-topic, but is their anyway to have that behaviour of the TAB key with source code, say C++ or Python? I would like to align various similar consecutive lines to make them easy to read. Thanks for any suggestions.


Open source is the future. It sets us free.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]