From: C K Kashyap <ckkashyap@gmail.com>
To: pingved@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: question about indenting
Date: Fri, 15 Jul 2011 14:34:29 +0530 [thread overview]
Message-ID: <CAGdT1gq9RHL3O_Z1wY_x2RbjLGbqAkV61o3BUjVT6++aJJCgUQ@mail.gmail.com> (raw)
In-Reply-To: <95462880.20110715090917@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 367 bytes --]
>
> 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
[-- Attachment #2: Type: text/html, Size: 602 bytes --]
next prev parent reply other threads:[~2011-07-15 9:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-15 5:09 question about indenting pingved
2011-07-15 9:04 ` C K Kashyap [this message]
2011-07-15 12:49 ` Perry Smith
2011-07-15 16:54 ` pingved
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGdT1gq9RHL3O_Z1wY_x2RbjLGbqAkV61o3BUjVT6++aJJCgUQ@mail.gmail.com \
--to=ckkashyap@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=pingved@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).