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

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

Re: Indent region with prefix


From: Scott Frazer
Subject: Re: Indent region with prefix
Date: Wed, 16 Jan 2008 16:17:43 -0500
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Chris L wrote:
If I have these lines:

There once was a geek from Nantucket
who counted his loops in a bucket.
But then he found Perl,
his hair started to curl,
and his slide rule fell out of his pucket.

And I want to transform them as quickly as possible to:

There once was a geek from Nantucket
who counted his loops in a bucket.
But then he found Perl,
his hair started to curl,
and his slide rule fell out of his pucket.

What do I do? I'm not in Gnus or email mode, this is for Markdown
text. Right now I am using a keyboard macro, but it seems like there
should be a simple bit of magic to accomplish this, since it is so
similar to commenting.


C-space at the beginning to set the mark, go past the last line and
M-x string-insert-rectangle > SPACE RET



reply via email to

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