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: help-gnu-emacs-bounces+dave.humphries=dytech.com.au@gnu.org
[mailto:help-gnu-emacs-bounces+dave.humphries=dytech.com.au@gnu.org] 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?