all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: M vs C-[
Date: Sun, 17 Jul 2011 21:05:26 +0200	[thread overview]
Message-ID: <87bows4tjd.fsf@member.fsf.org> (raw)
In-Reply-To: CAGdT1goS5td-vBHhBdy10WD9EwRiTjZsmHsGNzb10n1QM_EggQ@mail.gmail.com

C K Kashyap <ckkashyap@gmail.com> writes:

Hi!

> Looks like I can use C-[ to get the M key effect.

You can also use ESC:

  C-M-\ can be typed as ESC C-\

> However, I noticed that M-C-\ to indent a region does not quite work
> when I do C-[ C-\

It does here.  Are you sure it acts differently from C-M-\?

(While trying out, I found that `indent-region' doesn't always indent,
but its docs (C-h k ESC C-\) tell you how it determines if and to where
it indents.)

Actually, you can force it to indent using a prefix arg:

  C-u 4 C-M-\      ;; indent to 4th column
  C-u 4 C-[ C-\    ;; ditto
  C-u 4 ESC C-\    ;; ditto

Bye,
Tassilo




  reply	other threads:[~2011-07-17 19:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-17 14:08 M vs C-[ C K Kashyap
2011-07-17 19:05 ` Tassilo Horn [this message]
2011-07-18  5:30   ` C K Kashyap

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bows4tjd.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.