How to modify the automatic { postioning in GNU Emacs?

eLiu

Diamond Member
Jun 4, 2001
6,407
1
0
My version is:
GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit) of 2004-08-02 on snuggle.mit.edu

What I want is for this to happen:
for (whatever)
{

Instead of:
for (whatever)
__{

(the __ represents 2 white spaces since AT doesnt keep the formatting)

After I hit enter and press {

How is this done? I think I need to modify the .emacs file, but I don't know what to change...

Thanks,
-Eric <----Linux noob
 

eLiu

Diamond Member
Jun 4, 2001
6,407
1
0
Originally posted by: igowerf
I might be blind... but I don't see the difference.

Oops...I forgot that AT doesn't keep extra spaces :/

Fixed now though...the __ represents two whitespaces