From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: indentation question Date: Thu, 8 Mar 2007 08:40:37 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173372115 23372 80.91.229.12 (8 Mar 2007 16:41:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2007 16:41:55 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 08 17:41:48 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HPLga-0006Iz-3J for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2007 17:41:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPLgn-0006Ef-Gr for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Mar 2007 11:42:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPLgS-000677-O3 for help-gnu-emacs@gnu.org; Thu, 08 Mar 2007 11:41:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPLgP-00064G-8F for help-gnu-emacs@gnu.org; Thu, 08 Mar 2007 11:41:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPLgO-00064A-TQ for help-gnu-emacs@gnu.org; Thu, 08 Mar 2007 11:41:36 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HPLgA-0006Ts-F7 for help-gnu-emacs@gnu.org; Thu, 08 Mar 2007 11:41:22 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l28GfIHd025563 for ; Thu, 8 Mar 2007 09:41:18 -0700 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l289uGpV010889 for ; Thu, 8 Mar 2007 09:41:18 -0700 Original-Received: from dhcp-4op11-4op12-west-130-35-178-179.us.oracle.com by rcsmt251.oracle.com with ESMTP id 2512413161173372042; Thu, 08 Mar 2007 09:40:42 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41804 Archived-At: > > Please bear with me if I ask a silly question but I am looking for > > some way to indent a block. For example, if I have a block > > aaaa > > bbbb > > > > Now, I want to bring this block to the left all togther. I have spent > > about an hour so far but I could not find a way to do this. I know > > this sounds so silly but any help will be really appreciated. Thanks. > > M-0 C-M-\ Another possibility is `M-- 3 C-x TAB', that is, give `indent-rigidly' an argument of -3 to indent 3 characters to the left (really outdent). If you want to outdent all the way, and you don't want to count how many chars that is, just provide an extra-large argument, such as -99. `indent-rigidly' and `indent-region' (`C-M-\') are slightly different, however - check the doc to see which you really want here. In particular, the arg to `indent-rigidly' is relative (how many chars to indent/outdent); the arg to `indent-region' is absolute (what column to move the text to).