unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Pranav Peshwe <pranavpeshwe@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: apply macro to region lines by name
Date: Mon, 05 Jul 2010 19:52:07 -0700	[thread overview]
Message-ID: <4C329A57.5010301@gmail.com> (raw)
In-Reply-To: <AANLkTili2q8tmYDsu6KfaZ3_eZa_UwWVMNEi4HJ0GsCi@mail.gmail.com>

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."

-- 
Suvayu

Open source is the future. It sets us free.



  reply	other threads:[~2010-07-06  2:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05 18:37 apply macro to region lines by name Corey Foote
2010-07-05 19:28 ` Peter Dyballa
2010-07-05 19:33   ` Suvayu Ali
2010-07-06  1:17     ` Corey Foote
2010-07-06  2:40       ` Suvayu Ali
2010-07-06  2:47         ` Pranav Peshwe
2010-07-06  2:52           ` Suvayu Ali [this message]
2010-07-06  2:57             ` Pranav Peshwe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C329A57.5010301@gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pranavpeshwe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).