From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: cannot call-last-kbd-macro on named macro Date: Mon, 15 May 2006 11:50:26 -0600 Organization: IHS Message-ID: References: <1147203016.768665.319890@v46g2000cwv.googlegroups.com> <1147288360.586939.149030@q12g2000cwa.googlegroups.com> <871wuvfq38.fsf@wivenhoe.staff8.ul.ie> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147715579 17637 80.91.229.2 (15 May 2006 17:52:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 May 2006 17:52:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 15 19:52:58 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FfhFI-0001aT-E4 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 May 2006 19:52:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfhFH-00009D-Vz for geh-help-gnu-emacs@m.gmane.org; Mon, 15 May 2006 13:52:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfhEb-0008EL-NM for help-gnu-emacs@gnu.org; Mon, 15 May 2006 13:51:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfhEa-0008Cc-3E for help-gnu-emacs@gnu.org; Mon, 15 May 2006 13:51:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfhEZ-0008CX-UW for help-gnu-emacs@gnu.org; Mon, 15 May 2006 13:51:55 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FfhH2-0005ea-A7 for help-gnu-emacs@gnu.org; Mon, 15 May 2006 13:54:28 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FfhEB-0001PO-Qf for help-gnu-emacs@gnu.org; Mon, 15 May 2006 19:51:31 +0200 Original-Received: from 207.167.42.206 ([207.167.42.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 May 2006 19:51:31 +0200 Original-Received: from ihs_4664 by 207.167.42.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 May 2006 19:51:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.206 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) In-Reply-To: <871wuvfq38.fsf@wivenhoe.staff8.ul.ie> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35052 Archived-At: 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