From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Corey Foote Newsgroups: gmane.emacs.help Subject: Trouble recording a macro which sets the keyboard macro counter Date: Fri, 14 Nov 2008 15:12:31 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_3d1da9b9-43d4-45f0-893f-e16cfa182266_" X-Trace: ger.gmane.org 1226693626 29627 80.91.229.12 (14 Nov 2008 20:13:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2008 20:13:46 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 14 21:14:47 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L1540-0006k0-Kt for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 21:14:45 +0100 Original-Received: from localhost ([127.0.0.1]:50367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L152s-00063Y-Bg for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 15:13:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1523-00060U-8X for help-gnu-emacs@gnu.org; Fri, 14 Nov 2008 15:12:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1520-0005ur-Ug for help-gnu-emacs@gnu.org; Fri, 14 Nov 2008 15:12:41 -0500 Original-Received: from [199.232.76.173] (port=38024 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L151t-0005tw-NI for help-gnu-emacs@gnu.org; Fri, 14 Nov 2008 15:12:33 -0500 Original-Received: from blu0-omc4-s22.blu0.hotmail.com ([65.55.111.161]:22941) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L151t-0000zq-EK for help-gnu-emacs@gnu.org; Fri, 14 Nov 2008 15:12:33 -0500 Original-Received: from BLU105-W16 ([65.55.111.135]) by blu0-omc4-s22.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 14 Nov 2008 12:12:31 -0800 X-Originating-IP: [75.67.96.217] Importance: Normal X-OriginalArrivalTime: 14 Nov 2008 20:12:31.0984 (UTC) FILETIME=[53630700:01C94695] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:59799 Archived-At: --_3d1da9b9-43d4-45f0-893f-e16cfa182266_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm having difficulty recording a keyboard macro which resets the keyboard = macro counter when first executed. When executed the macro I'm trying to wr= ite should set the keyboard macro counter to 1 (by calling C-x C-k C-c 1 RE= T) and invoke another macro which was defined earlier and bound to key sequ= ence C-x C-k 1 with a universal-argument of 18 to repeat the macro 18 times= . The macro which is bound to the key sequence will do some editing and ins= ert the value of the keyboard macro counter. Unfortunately=2C although the = counter is reset successfully when I record the macro=2C it does not get re= set again when executed. Any idea what's going wrong? Thanks! _________________________________________________________________ See how Windows=AE connects the people=2C information=2C and fun that are p= art of your life http://clk.atdmt.com/MRT/go/119463819/direct/01/= --_3d1da9b9-43d4-45f0-893f-e16cfa182266_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm having difficulty recording a keyboard macro which resets the keyboard = macro counter when first executed. When executed the macro I'm trying to wr= ite should set the keyboard macro counter to 1 (by calling C-x C-k C-c 1 RE= T) and invoke another macro which was defined earlier and bound to key sequ= ence C-x C-k 1 with a universal-argument of 18 to repeat the macro 18 times= . The macro which is bound to the key sequence will do some editing and ins= ert the value of the keyboard macro counter. Unfortunately=2C although the = counter is reset successfully when I record the macro=2C it does not get re= set again when executed. Any idea what's going wrong?

Thanks!
<= hr />See how Windows=AE connects the people=2C information=2C and fun that = are part of your life Click here = --_3d1da9b9-43d4-45f0-893f-e16cfa182266_--