[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prepend a character to the lines in a region
From: |
Stefan Monnier |
Subject: |
Re: prepend a character to the lines in a region |
Date: |
Tue, 21 Mar 2006 12:06:11 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> If I want to respond to an email where (for whatever reason) the sender's
> text hasn't been quoted, I copy paste it into emacs and do a search
> replace with this regular expression:
> C-M-% \(.+\) RET >\1 RET
There are many ways to do that, but the closest to your suggestion may be:
C-M-% ^ RET > RET
Stefan