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

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

Customizing tab indentation width


From: Sona
Subject: Customizing tab indentation width
Date: Sun, 21 Sep 2003 01:13:12 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Hi,

I want to set the default tab indetation width in emacs to be 2 spaces. I set this in the tab-with variable and also in the standard indent variable but it's not working. For example, if I type the following:

if (someVariable == true) {
    doSomething();
}

it indents doSomething() to 4 spaces.. I need this to be 2 spaces only. How can I do this? Thanks


Sona



reply via email to

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