From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marc Tfardy Newsgroups: gmane.emacs.help Subject: Re: Apply macro to region Date: Fri, 22 Jul 2005 11:11:23 +0100 Message-ID: <3kbrl6Fs4fh3U1@individual.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122024219 17905 80.91.229.2 (22 Jul 2005 09:23:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2005 09:23:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 22 11:23:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dvtkb-0003nU-7Q for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2005 11:23:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dvtmj-0002EV-G5 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2005 05:25:37 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: individual.net PiPVkNmaXDxaKtNl3bY46QJkzUiijLTlUZcAQv4D7dZGMuoM2E User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:132570 Original-To: help-gnu-emacs@gnu.org 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:28087 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28087 Dave Humphries schrieb: > 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? I tried this already, but it is not so "beatuy". Nevertheless, thanx! regards Marc