[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Forcing C++ to reformat
From: |
Harald Maier |
Subject: |
Re: Forcing C++ to reformat |
Date: |
Fri, 19 Dec 2003 05:30:45 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
exits funnel <exitsfunnel@yahoo.com> writes:
> Hello,
>
> I use emacs to edit C++ source files. I've modified
> cc mode to format my code as I desire but I' run into
> a common problem. Let's say I'm typing and I
> accidently forget to close a brace or a paren and then
> continue on coding. The following code is (of course)
> formatted correctly according to what I actually typed
> but incorrectly according to what I meant to type :)
> Okay, so I discover the probelm (say a missing close
> paren after an argument list) and go back and fix it.
> How can I force the buffer to be reformatted at this
> point? I hope this makes sense as I'm not too hip to
> all the emacs lingo yet. Thanks in advance for any
> replies.
Have you tried 'M-x show-paren-mode'?
Harald