• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to modify the automatic { postioning in GNU Emacs?

eLiu

Diamond Member
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
 
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
 
Back
Top