logo       

Re: C formatting: msg#00890

emacs.help

Subject: Re: C formatting

chris.danx a écrit:
Oodini wrote:

Well, it doesn't do exactly what I want.
After the "if", when I press Enter, Emacs put an extra indent, whereas I want it to put the cursor under the "if". I guess it supposes I put the opening brace af the end of the line where there is the "if".


But if you type "{" then it jumps under the if like you want.

Yes, but I want to put the brace _under_ the "if". :-)
Thanks anyway.

--
. .
. .:::. ### \|/ ` ___ '
:(o o): . (o o) (o o) - (O o) -
ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo-


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise