[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prepend a character to the lines in a region
From: |
B. T. Raven |
Subject: |
Re: prepend a character to the lines in a region |
Date: |
Tue, 21 Mar 2006 23:39:53 GMT |
"Stefan Monnier" <monnier@iro.umontreal.ca> wrote in message
87pskfenix.fsf-monnier+gnu.emacs.help@gnu.org">news:87pskfenix.fsf-monnier+gnu.emacs.help@gnu.org...
> > 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
That works too. I think I'll use C-space, move point to column 1 at end
and then C-x r t >