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: Another bug with the macro counter Date: Wed, 20 Oct 2004 20:07:06 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200410210107.i9L176B10842@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1098321025 29481 80.91.229.6 (21 Oct 2004 01:10:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2004 01:10:25 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 21 03:10:16 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 1CKRT6-0006Ew-00 for ; Thu, 21 Oct 2004 03:10:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKRaV-0000Jj-UO for ged-emacs-devel@m.gmane.org; Wed, 20 Oct 2004 21:17:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CKRZx-00005V-Qk for emacs-devel@gnu.org; Wed, 20 Oct 2004 21:17:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CKRZw-0008WB-7j for emacs-devel@gnu.org; Wed, 20 Oct 2004 21:17:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKRZw-0008W8-59 for emacs-devel@gnu.org; Wed, 20 Oct 2004 21:17:20 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CKRRQ-0000yQ-5p for emacs-devel@gnu.org; Wed, 20 Oct 2004 21:08:32 -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 i9L18ViU007783 for ; Wed, 20 Oct 2004 20:08:31 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id i9L176B10842; Wed, 20 Oct 2004 20:07:06 -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:28673 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28673 Do `emacs -q'. C-x ( a C-x C-k C-i b RET C-x ) C-x e e e C-x ( C-g C-x e Result: a0b a1b a2b a3b a0b Of course, the newly to be defined macro got its counter reset to 0. But after we changed our mind, decided not to define a macro and quit, there is no reason why the counter for the previously defined macro should be reset to 0. Sincerely, Luc.