Narrow to the region apply the macro then widen. C-x nn apply macro Cx nw Aternatively add the narrow and widen to your macro Dave
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Tfardy Sent: Friday, 22 July 2005 3:32 AM To: help-gnu-emacs@gnu.org Subject: Apply macro to region Hi, I have a set of named macros. With apply-macro-to-region-lines command I can apply last defined macro to each line of region. How can I apply a named macro to region, except I define a "wrapper macro" with C-x ( macro name C-x )? Any ideas? regards Marc _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs