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

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

Re: question about indenting


From: C K Kashyap
Subject: Re: question about indenting
Date: Fri, 15 Jul 2011 14:34:29 +0530

Hello to all!
How i can indent strings in any mode, c-mode for example like this:

void Test(void) {
 (3space)DWORD abc;
 (4space)exit(0);
 (4space){
 (4space)(3space)DWORD a;
 (4space)(4space)exit(0);
 (4space)}
}



You could select the region (using the mouse or M-h) and then press M-C-\ - this should indent the code.

Regards,
Kashyap

reply via email to

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