help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: C++ indentation question


From: Doug Lewan
Subject: RE: C++ indentation question
Date: Thu, 10 Jan 2013 12:38:38 +0000

I don't think emacs will just change styles for you. You could use 
`query-replace' M-%.

GNU's indent(1) command might be a better way to go.

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

When I do good, I feel good. When I do bad, I feel bad and that's my religion. 
- Abraham Lincoln


> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Shashank Khanvilkar
> Sent: Thursday, 2013 January 10 00:38
> To: address@hidden
> Subject: C++ indentation question
> 
> I have existing code that looks like:
> --SNIP--
> void foo() {
>   int a;
>   doSomething();
> }
> --SNIP--
> I need to change this to:
> --SNI--
> void foo()
> {
>   int a;
>   doSomething();
> }
> --SNIP--
> 
> How can i do this?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]