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: Indent region by one tabstop Date: Thu, 19 Apr 2012 16:19:15 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1334877571 20283 80.91.229.3 (19 Apr 2012 23:19:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2012 23:19:31 +0000 (UTC) To: "'BDB'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 01:19:30 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 1SL0dN-00061A-8y for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 01:19:29 +0200 Original-Received: from localhost ([::1]:50997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL0dM-0001Gi-K9 for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Apr 2012 19:19:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL0dH-0001Gd-HO for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 19:19:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SL0dF-0008P1-UB for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 19:19:23 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:19173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL0dF-0008Ob-NH for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 19:19:21 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3JNJHMB007556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 19 Apr 2012 23:19:18 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3JNJHoc005570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Apr 2012 23:19:17 GMT Original-Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3JNJHkh016981; Thu, 19 Apr 2012 18:19:17 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 19 Apr 2012 16:19:16 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: Thread-Index: Ac0eeIA8zk+QjrOaRJiVNx+egHFAUwACeekw X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-CT-RefId: str=0001.0A090209.4F909D77.001D,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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:84521 Archived-At: > 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. Use `indent-rigidly' with the value of `tab-width'? (defun my-indent-a-tab-width (start end) (interactive "r") (indent-rigidly start end tab-width))