unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <help-gnu-emacs@gnu.org>
Subject: RE: indentation question
Date: Thu, 8 Mar 2007 08:40:37 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICKEHBDLAA.drew.adams@oracle.com> (raw)
In-Reply-To: <esobim$nkr$2@sea.gmane.org>

> > Please bear with me if I ask a silly question but I am looking for
> > some way to indent a block. For example, if I have a block
> >    aaaa
> >    bbbb
> >
> > Now, I want to bring this block to the left all togther. I have spent
> > about an hour so far but I could not find a way to do this. I know
> > this sounds so silly but any help will be really appreciated. Thanks.
>
> M-0 C-M-\

Another possibility is `M-- 3 C-x TAB', that is, give `indent-rigidly' an
argument of -3 to indent 3 characters to the left (really outdent). If you
want to outdent all the way, and you don't want to count how many chars that
is, just provide an extra-large argument, such as -99.

`indent-rigidly' and `indent-region' (`C-M-\') are slightly different,
however - check the doc to see which you really want here. In particular,
the arg to `indent-rigidly' is relative (how many chars to indent/outdent);
the arg to `indent-region' is absolute (what column to move the text to).

  parent reply	other threads:[~2007-03-08 16:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08  4:43 indentation question Ye ilho
2007-03-08  6:47 ` Kevin Rodgers
2007-03-08 10:36   ` Matthew Flaschen
2007-03-08 16:40   ` Drew Adams [this message]
2007-03-08 23:50     ` Matthew Flaschen
2007-03-08 10:19 ` Peter Dyballa
2007-03-08 19:38   ` Jiri Pejchal

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=DNEMKBNJBGPAOPIJOOICKEHBDLAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).