* M vs C-[
@ 2011-07-17 14:08 C K Kashyap
2011-07-17 19:05 ` Tassilo Horn
0 siblings, 1 reply; 3+ messages in thread
From: C K Kashyap @ 2011-07-17 14:08 UTC (permalink / raw
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
Hi folks,
Looks like I can use C-[ to get the M key effect. However, I noticed that
M-C-\ to indent a region does not quite work when I do C-[ C-\
What is the reason for that?
Regards,
Kashyap
[-- Attachment #2: Type: text/html, Size: 233 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: M vs C-[
2011-07-17 14:08 M vs C-[ C K Kashyap
@ 2011-07-17 19:05 ` Tassilo Horn
2011-07-18 5:30 ` C K Kashyap
0 siblings, 1 reply; 3+ messages in thread
From: Tassilo Horn @ 2011-07-17 19:05 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-18 5:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-17 14:08 M vs C-[ C K Kashyap
2011-07-17 19:05 ` Tassilo Horn
2011-07-18 5:30 ` C K Kashyap
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.