> > Save your .emacs file: C-x C-s > > Mark Rosenthal > mbr@arlsoft.com > > P.S. - Interesting side-note. Did you know that the ed command: > > g/regular expression/operation > > is where the name "grep" came from? In ed and ex, the "g" means do a > global search for the immediately following regular expression, and apply > the operation to every matching line. One such operation is "p" meaning > "print". Using "re" as shorthand for "regular expression", the ed command > to print every line that matches a particular regular expression is: > > g/re/p > > > Thank you very much Mark for the detailed explanation and the interesting side note :) I am inclined to the macro approach since the possibilities are endless. Regards, Kashyap