help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repeat last n commands


From: Bastien
Subject: Re: repeat last n commands
Date: Sat, 20 Oct 2007 18:05:47 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]