From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: keyboard macro counter Date: Wed, 8 Sep 2004 21:14:50 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200409090214.i892Eoh02794@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1094696152 18272 80.91.224.253 (9 Sep 2004 02:15:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Sep 2004 02:15:52 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 09 04:15:44 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5ETP-0003wr-00 for ; Thu, 09 Sep 2004 04:15:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5EYi-0001Xr-6X for ged-emacs-devel@m.gmane.org; Wed, 08 Sep 2004 22:21:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C5EYS-0001Vn-GT for emacs-devel@gnu.org; Wed, 08 Sep 2004 22:20:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C5EYP-0001UZ-9G for emacs-devel@gnu.org; Wed, 08 Sep 2004 22:20:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5EYP-0001UW-64 for emacs-devel@gnu.org; Wed, 08 Sep 2004 22:20:53 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C5ESy-000374-JU for emacs-devel@gnu.org; Wed, 08 Sep 2004 22:15:16 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i892F6uE018532 for ; Wed, 8 Sep 2004 21:15:06 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id i892Eoh02794; Wed, 8 Sep 2004 21:14:50 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26909 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26909 `(emacs)Keyboard Macro Counter' claims: Each keyboard macro has an associated counter This is apparently wrong. Each macro _that is a member of the keyboard macro ring_ as an associated counter. Also, the counter used by a keyboard macro (say invoked using a keybinding or with M-x) is not the counter associated with that macro (even if it has one) but the counter associated with the current head of the macro ring. That is the actual counter that will get inserted and incremented, regardless of the macro currently being executed. Is this for some reason designed behavior or is this a bug? To illustrate what I am talking about, see what happens if you do: emacs -q C-x ( a C-x C-k C-i RET C-x ) C-x C-k n aa RET C-x ( b M-5 C-x C-k C-i RET C-x ) M-x aa RET C-x e Sincerely, Luc.