From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: guanxi_i@yahoo.com (guanxi) Newsgroups: gmane.emacs.help Subject: M-x indent-region not working (?) Date: 8 Aug 2003 10:36:04 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <6d7a61c9.0308080936.244dbc97@posting.google.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1060378623 23406 80.91.224.253 (8 Aug 2003 21:37:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2003 21:37:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 08 23:37:29 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19lEvQ-0001ZO-00 for ; Fri, 08 Aug 2003 23:37:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19lBJ8-0000CA-KV for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Aug 2003 13:45:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 79 Original-NNTP-Posting-Host: 151.197.215.231 Original-X-Trace: posting.google.com 1060364165 10699 127.0.0.1 (8 Aug 2003 17:36:05 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 8 Aug 2003 17:36:05 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:115753 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11676 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11676 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