From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pranav Peshwe Newsgroups: gmane.emacs.help Subject: Re: apply macro to region lines by name Date: Tue, 6 Jul 2010 08:27:25 +0530 Message-ID: References: <48E8363E-CC44-47F0-88FD-4A86A7ADBBD1@Web.DE> <4C323378.9070507@gmail.com> <4C3297A0.4040508@gmail.com> <4C329A57.5010301@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=002215048e578c86d0048aaf36c1 X-Trace: dough.gmane.org 1278385125 28017 80.91.229.12 (6 Jul 2010 02:58:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Jul 2010 02:58:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Suvayu Ali Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 06 04:58:43 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OVyMm-0005Tw-9Z for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jul 2010 04:58:40 +0200 Original-Received: from localhost ([127.0.0.1]:54067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVyM5-0003EO-6S for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jul 2010 22:57:53 -0400 Original-Received: from [140.186.70.92] (port=55789 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVyLg-0003DP-Ek for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 22:57:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OVyLf-0002sa-42 for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 22:57:28 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:54792) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OVyLe-0002sU-Us for help-gnu-emacs@gnu.org; Mon, 05 Jul 2010 22:57:27 -0400 Original-Received: by iwn2 with SMTP id 2so5783407iwn.0 for ; Mon, 05 Jul 2010 19:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Xw7YVL6M1C6fUiO4x09VozcUdSZaqeiV2oRs71xEQWc=; b=iZtLAWpdjMYFg27BVBcekyPAy/EweKy/4AXA5F4ZEt9rf/rmi+sL+SDQtdkbADvNLI mFgbXh756koQpsWtwsdmeSMlLGwPLmzzhEMCGqIYcyk9lyho7x4RefSUOWUEkwRyZp6/ 34cwio9qs2+vimfsxVmpOaqsYY4OnqudIxybA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vktWlb+dlp9ZhY1RDqNZMb9WSPtO2bGYxmMfb/rorJkKpBXzrlPy67hdfVnVHyEXvy Q20V2kqAgXS9FndqyHw6ok+K2T1g4XCSNKK9IFbSPlaVYlBvDpiHxOLLfeUxUlXEr5gp FyPSImbu7TcgsTYLUuzPJk/Rc+pwYEKq/5OYw= Original-Received: by 10.231.32.12 with SMTP id a12mr3585853ibd.134.1278385045931; Mon, 05 Jul 2010 19:57:25 -0700 (PDT) Original-Received: by 10.231.143.146 with HTTP; Mon, 5 Jul 2010 19:57:25 -0700 (PDT) In-Reply-To: <4C329A57.5010301@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:74090 Archived-At: --002215048e578c86d0048aaf36c1 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jul 6, 2010 at 8:22 AM, Suvayu Ali > wrote: > On Monday 05 July 2010 07:47 PM, Pranav Peshwe wrote: > >> That will work fine provided that the macro itself contains a command to >> move to the next/previous line. Otherwise the same action will be done n >> times on the one line the macro was run on. >> > > Isn't that one of the first things we learn when we learnt how to record a > keyboard macro? > > "Always make sure after the macro is done, we end up in a position so that > the entire thing can be repeated again." > > True. - P > -- > Suvayu > > Open source is the future. It sets us free. > --002215048e578c86d0048aaf36c1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Jul 6, 2010 at 8:22 AM, Suvayu Ali <fatkasuva= yu+linux@gmail.com> wrote:
On Monday 05 July 2010 07:47 PM, Pranav Peshwe wrote:
That will work fine provided that the macro itself contains a command to move to the next/previous line. Otherwise the same action will be done n times on the one line the macro was run on.

Isn't that one of the first things we learn when we learnt how to recor= d a keyboard macro?

"Always make sure after the macro is done, we end up in a position so = that the entire thing can be repeated again."


True.

- P
=A0
--
Suvayu

Open source is the future. It sets us free.

--002215048e578c86d0048aaf36c1--