unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Nikola Skoric" <nick-news@net4u.hr>, <help-gnu-emacs@gnu.org>
Subject: RE: repeat last n commands
Date: Sat, 20 Oct 2007 09:02:41 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICKEMDEAAA.drew.adams@oracle.com> (raw)
In-Reply-To: <ffd5ep$lel$1@ss408.t-com.hr>

> For instance, I
> want to remove first 3 characters in next 5 lines. I do M-3 C-d,
> then press down arrow and now I want to repeat that 4 times. C-xz
> repeats only my next-line. And I want to repeat M-3 C-d that was
> executed before next-line too.

See Info node "Keyboard Macros" in the Emacs manual:
C-h r g keyboard macros RET

Define a keyboard macro for the operations you want to repeat, then execute
the macro repeatedly, at will.

  reply	other threads:[~2007-10-20 16:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-20 13:03 repeat last n commands Nikola Skoric
2007-10-20 14:19 ` Peter Dyballa
     [not found] ` <mailman.2351.1192889999.18990.help-gnu-emacs@gnu.org>
2007-10-20 15:04   ` Nikola Skoric
2007-10-20 16:02     ` Drew Adams [this message]
2007-10-20 17:05     ` Bastien
     [not found]     ` <mailman.2358.1192896349.18990.help-gnu-emacs@gnu.org>
2007-10-20 18:20       ` Nikola Skoric
2007-10-20 20:11         ` Dieter Wilhelm
2007-10-23 13:21     ` Hans-Christoph Wirth
     [not found] <mailman.2357.1192896166.18990.help-gnu-emacs@gnu.org>
2007-10-24 12:58 ` Mathias Dahl

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=DNEMKBNJBGPAOPIJOOICKEMDEAAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nick-news@net4u.hr \
    /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).