all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* M-x indent-region not working (?)
@ 2003-08-08 17:36 guanxi
  2003-08-08 19:03 ` Kai Großjohann
  2003-08-08 20:10 ` Barry Margolin
  0 siblings, 2 replies; 9+ messages in thread
From: guanxi @ 2003-08-08 17:36 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-08-12 18:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-08 17:36 M-x indent-region not working (?) guanxi
2003-08-08 19:03 ` 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

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.