all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: guanxi_i@yahoo.com (guanxi)
Subject: M-x indent-region not working (?)
Date: 8 Aug 2003 10:36:04 -0700	[thread overview]
Message-ID: <6d7a61c9.0308080936.244dbc97@posting.google.com> (raw)

Thanks in advance for any help; I'm just learning my way around Emacs,
but I reviewed much of the documentation and postings and can't find
an answer.




M-x indent-region (or C-M-\) doesn't seem to behave per the manual: 
"C-M-\ (indent-region) applies to all the lines that begin in the
region; it indents each line in the "usual" way, as if you had typed
TAB at the beginning of the line."
www.gnu.org/manual/emacs/html_node/emacs_230.html


In text mode, if I select these regions and type C-M-\, I get the
following results.  In none of these examples does Emacs behave as if
I typed TAB at the beginning of each line -- is there somthing I
misunderstand?


#1
* REGION:

Dan generally uses two computers.  He has a Dell in his office and
uses the Compaq that is placed behind me in the "reception" area when
his computer is slow or he wants to print to printer west.

* RESULTS

[No change at all.  The Emacs cursor stops blinking for a moment, but
that's it.]




#2
* REGION

    testing indenting
    this region
    which uses tab indents

* RESULTS

    testing indenting
        this region
	    which uses tab indents



#3
* REGION (some notes I took)

type: C-M-\
    does nothing 
type: M-x indent region
    displays: You can run the command 'indent-region' with C-M-\
type: C-M-o
    works: (move remainder of line directly down a line)

* RESULTS

type: C-M-\
    does nothing 
    type: M-x indent region
        displays: You can run the command 'indent-region' with C-M-\
	type: C-M-o
	    works: (move remainder of line directly down a line)




My system:
    WinXP Pro
    GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600) of 2002-03-19 on buffy


Thanks again!
guanxi

             reply	other threads:[~2003-08-08 17:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-08 17:36 guanxi [this message]
2003-08-08 19:03 ` M-x indent-region not working (?) Kai Großjohann
2003-08-11 14:56   ` guanxi
2003-08-08 20:10 ` Barry Margolin
2003-08-11 15:03   ` guanxi
2003-08-11 16:13     ` Stefan Monnier
2003-08-12 18:45       ` Kai Großjohann
2003-08-11 18:12     ` Alan Mackenzie
2003-08-12  2:12       ` guanxi

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=6d7a61c9.0308080936.244dbc97@posting.google.com \
    --to=guanxi_i@yahoo.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.
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.