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

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

Re: cannot call-last-kbd-macro on named macro


From: Kevin Rodgers
Subject: Re: cannot call-last-kbd-macro on named macro
Date: Mon, 15 May 2006 11:50:26 -0600
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

Brendan Halpin wrote:
A very nice feature of CVS emacs is that once you type C-x e to
execute a macro, you can re-execute it by typing e.

Wow, there are a lot of nice features in Emacs 22 (see etc/NEWS):

** The new kmacro package provides a simpler user interface to
emacs' keyboard macro facilities.

Basically, it uses two function keys (default F3 and F4) like this:
F3 starts a macro, F4 ends the macro, and pressing F4 again executes
the last macro.  While defining the macro, F3 inserts a counter value
which automatically increments every time the macro is executed.

There is now a keyboard macro ring which stores the most recently
defined macros.

The C-x C-k sequence is now a prefix for the kmacro keymap which
defines bindings for moving through the keyboard macro ring,
C-x C-k C-p and C-x C-k C-n, editing the last macro C-x C-k C-e,
manipulating the macro counter and format via C-x C-k C-c,
C-x C-k C-a, and C-x C-k C-f.  See the commentary in kmacro.el
for more commands.

The normal macro bindings C-x (, C-x ), and C-x e now interfaces to
the keyboard macro ring.

The C-x e command now automatically terminates the current macro
before calling it, if used while defining a macro.

In addition, when ending or calling a macro with C-x e, the macro can
be repeated immediately by typing just the `e'.  You can customize
this behavior via the variables kmacro-call-repeat-key and
kmacro-call-repeat-with-arg.

Keyboard macros can now be debugged and edited interactively.
C-x C-k SPC steps through the last keyboard macro one key sequence
at a time, prompting for the actions to take.

--
Kevin





reply via email to

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