help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indent region by one tabstop


From: Mark Skilbeck
Subject: Re: Indent region by one tabstop
Date: Fri, 20 Apr 2012 23:48:37 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]