- Subject: Re: Reindent an entire C code in one shot
- From: Lloyd Zusman <ljz@xxxxxxxxxx>
- Date: Mon, 18 Nov 2002 14:27:47 -0500
Morten Bo Johansen <mojo@xxxxxxxx> writes:
> Mauro Ziliani <mauzil@xxxxxxxxx> wrote:
>
>
> MZ> I need often to reindent a entire C code with my jed fashion.
> MZ> How can I do this inside JED?
>
> M-x indent_buffer
>
> if I understand you correctly.
This brings up a related question: is there an easy way in jed to
re-indent everything within a brace-delimited block, and nothing else?
For example:
Before:
if (foo) {
bar;
baz;
quack;
}
After:
if (foo) {
bar;
baz;
quack;
}
> Regards,
>
> Morten
--
Lloyd Zusman
ljz@xxxxxxxxxx
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2002 date index]
[2002 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]