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 19:05:23 -0700 Message-ID: <167588DA77C54BFEAE7B22B7EA219A7A@us.oracle.com> 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 1334887545 13833 80.91.229.3 (20 Apr 2012 02:05:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2012 02:05:45 +0000 (UTC) To: "'BDB'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 04:05:44 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 1SL3EE-0005XB-A1 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2012 04:05:42 +0200 Original-Received: from localhost ([::1]:49378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL3ED-0006yM-At for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Apr 2012 22:05:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL3E3-0006o7-KO for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 22:05:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SL3E1-0000Fd-UF for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 22:05:31 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:33888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SL3E1-0000FO-N2 for help-gnu-emacs@gnu.org; Thu, 19 Apr 2012 22:05:29 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3K25QNB013817 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Apr 2012 02:05:27 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3K25PcR023959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Apr 2012 02:05:26 GMT Original-Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3K25P2x001259; Thu, 19 Apr 2012 21:05:25 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 19 Apr 2012 19:05:25 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 In-Reply-To: Thread-Index: Ac0eiUMtgGaFdDLETSmDUCHsfsvooAAELFBA X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090203.4F90C467.0048,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:84523 Archived-At: > > 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)) > > Works great, thanks! You wouldn't happen to know a way to do > the inverse, > delete 4 spaces from the beginning of each line in a region? Same function, `indent-rigidly', but with a negative argument. C-h f indent-rigidly