help-gnu-emacs
[Top][All Lists]
Advanced

[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: Mon, 01 Feb 2010 17:32:34 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b2pre Thunderbird/3.0.1

On Monday 01 February 2010 09:04 AM, Stefan Monnier wrote:
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.

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?

You can make the TAB key do whatever you want, by rebinding it to some
other command.  The command that does the above is called
`indent-relative'.

Thanks a lot Stefan. I bound it to `S-<iso-lefttab>' works like a charm. :)

         Stefan

--
Suvayu

Open source is the future. It sets us free.




reply via email to

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