On Wed, 17 Jun 1998, Daniel Goldin wrote:

>1) Start recording a keyboard macro. 2) type "#" at first line,
>then go to start of next line. 3) end keyboard macro 4) Mark
>region for next fifty lines and apply macro or press ESC 50 and
>apply macro.

Why not use the power that's there, and do a
M-x replace-regexp.

Use ^ (start of line), and replace it with '#'. Without a C-u ####
prefix (count) in front, it'll replace each line in the file and prepend
a '#' in front.

>Daniel Goldin
>[EMAIL PROTECTED]

--
------------------------------------------------------------------------
David E. Fox                 Tax              Thanks for letting me
[EMAIL PROTECTED]   the              change magnetic patterns
[EMAIL PROTECTED]      churches         on your hard disk.
-----------------------------------------------------------------------


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to