From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Skilbeck Newsgroups: gmane.emacs.help Subject: Re: Indent region by one tabstop Date: Fri, 20 Apr 2012 23:48:37 +0100 Message-ID: <20120420224837.GA3549@mark-laptop> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1334962129 4143 80.91.229.3 (20 Apr 2012 22:48:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2012 22:48:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: BDB Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 21 00:48:48 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SLMdE-0000lu-AB for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Apr 2012 00:48:48 +0200 Original-Received: from localhost ([::1]:47566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLMdD-0006x7-ON for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 18:48:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLMd9-0006wg-4b for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 18:48:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLMd7-0008JA-Hk for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 18:48:42 -0400 Original-Received: from li357-97.members.linode.com ([178.79.188.97]:48029 helo=mail.iammark.us) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLMd7-0008Ii-C6 for help-gnu-emacs@gnu.org; Fri, 20 Apr 2012 18:48:41 -0400 Original-Received: from mail.iammark.us (host86-133-64-153.range86-133.btcentralplus.com [86.133.64.153]) by mail.iammark.us (Postfix) with ESMTPSA id 81D89B170; Fri, 20 Apr 2012 23:48:38 +0100 (BST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.79.188.97 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84535 Archived-At: On Thu, Apr 19, 2012 at 10:00:56PM +0000, BDB wrote: > Is there a way to make emacs move a region of code left or right by one > tabstop? I don't want to use emacs' built in indentation because it's > not indenting the lines where I want them to be. You might want to take a look at replace-rectangle. For example, mark a region from in the first column of the first lane to the first column of the last line. Then, using replace-rectangle, insert a tab. - mgsk.