all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: help-gnu-emacs@gnu.org
Subject: Re: repeat last n commands
Date: Sat, 20 Oct 2007 18:05:47 +0100	[thread overview]
Message-ID: <878x5xpvh0.fsf@bzg.ath.cx> (raw)
In-Reply-To: <ffd5ep$lel$1@ss408.t-com.hr> (Nikola Skoric's message of "Sat, 20 Oct 2007 15:04:57 +0000 (UTC)")

Nikola Skoric <nick-news@net4u.hr> writes:

> Dana Sat, 20 Oct 2007 16:19:51 +0200, 
> Peter Dyballa <Peter_Dyballa@Web.DE> kaze:
>>
>> Am 20.10.2007 um 15:03 schrieb Nikola Skoric:
>>
>>> How do I repeat last few commands? I know that repeating the last
>>> command is C-xz, but what I want is repeat last *two*
>>> comands. Thanks...
>>
>> C-x ESC ESC up up ... ?
>
> Aham. OK. Replace "commands" with... "things" :-D 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.

I guess you need macros:

  (info "(emacs)Basic Keyboard Macro")

-- 
Bastien

  parent reply	other threads:[~2007-10-20 17:05 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
2007-10-20 17:05     ` Bastien [this message]
     [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

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

  git send-email \
    --in-reply-to=878x5xpvh0.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.