From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dave Humphries" Newsgroups: gmane.emacs.help Subject: RE: Apply macro to region Date: Fri, 22 Jul 2005 08:26:37 +1000 Message-ID: <24E36F57378E2A49B8D5EE98904F2E2EE2FA78@osiris.olympus.dytech.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1121984970 1875 80.91.229.2 (21 Jul 2005 22:29:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2005 22:29:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 22 00:29:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DvjWm-0003YM-NP for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2005 00:28:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DvjYt-0002Kz-GF for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jul 2005 18:30:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DvjYH-000279-Q1 for help-gnu-emacs@gnu.org; Thu, 21 Jul 2005 18:30:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DvjYA-000240-S8 for help-gnu-emacs@gnu.org; Thu, 21 Jul 2005 18:29:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DvjYA-00022j-BY for help-gnu-emacs@gnu.org; Thu, 21 Jul 2005 18:29:54 -0400 Original-Received: from [203.55.103.162] (helo=osiris.olympus.dytech.com.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dvjda-0002tr-99 for help-gnu-emacs@gnu.org; Thu, 21 Jul 2005 18:35:30 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Apply macro to region thread-index: AcWOGbg62HpYuslrRhqYThOaHRSDvQAKOyjw Original-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28070 Narrow to the region apply the macro then widen. C-x nn apply macro Cx nw=20 Aternatively add the narrow and widen to your macro Dave -----Original Message----- From: help-gnu-emacs-bounces+dave.humphries=3Ddytech.com.au@gnu.org [mailto:help-gnu-emacs-bounces+dave.humphries=3Ddytech.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? regards Marc _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs