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: Re: M-x indent-region not working (?) Date: 11 Aug 2003 07:56:21 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <6d7a61c9.0308110656.53abbb71@posting.google.com> References: <6d7a61c9.0308080936.244dbc97@posting.google.com> <84r83wt1jl.fsf@slowfox.is.informatik.uni-duisburg.de> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1060614155 28718 80.91.224.253 (11 Aug 2003 15:02:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2003 15:02:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 11 17:02:33 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 19mEBt-0007u6-00 for ; Mon, 11 Aug 2003 17:02:33 +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 19mEA2-00026z-Mz for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Aug 2003 11:00:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 68.41.184.127 Original-X-Trace: posting.google.com 1060613782 6917 127.0.0.1 (11 Aug 2003 14:56:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 11 Aug 2003 14:56:22 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:115801 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:11719 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11719 kai.grossjohann@gmx.net (Kai Großjohann) wrote in message news:<84r83wt1jl.fsf@slowfox.is.informatik.uni-duisburg.de>... > guanxi_i@yahoo.com (guanxi) writes: > > > 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? > > The wording in the manual is somewhat sloppy, I guess. Hm. > > Is it important for you to get it working correctly in this case, or > are you just doing this to understand what's going on? In > programming language modes, like C mode, C-M-\ does what you'd expect > from the documentation. I use Emacs for text editing (in English). Indenting a block of text would be very useful.