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

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

Re: Character first of all lines


From: Barry Margolin
Subject: Re: Character first of all lines
Date: Thu, 10 Jul 2003 21:26:43 GMT

In article <mailman.86.1057870666.496.help-gnu-emacs@gnu.org>,
Luiz Siqueira Neto  <cybersamurai@mac.com> wrote:
>How I can put some character first of all lines inside of a region?
>
>---
>like this:
>
>x = 1
>print x
>
>go to
>
># x = 1
># print x
>---

M-x replace-regexp CR ^ CR # SPACE CR

-- 
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


reply via email to

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