unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Customizing tab indentation width
@ 2003-09-20 15:13 Sona
  2003-09-20 14:52 ` Dave Footitt
  2003-09-22  8:51 ` Alan Mackenzie
  0 siblings, 2 replies; 3+ messages in thread
From: Sona @ 2003-09-20 15:13 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-22  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-20 15:13 Customizing tab indentation width Sona
2003-09-20 14:52 ` Dave Footitt
2003-09-22  8:51 ` Alan Mackenzie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).