From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8114: macros fail in emacs 23.1 Date: Fri, 25 Feb 2011 10:23:42 +0200 Message-ID: <831v2wsesx.fsf@gnu.org> References: <20110224195045.6813460112e1e451111e8106817db522.6e72ddd86f.wbe@email01.secureserver.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1298623032 18118 80.91.229.12 (25 Feb 2011 08:37:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Feb 2011 08:37:12 +0000 (UTC) Cc: 8114@debbugs.gnu.org, johnc@technology-is-evil.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 25 09:37:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PstAg-0008R3-DV for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Feb 2011 09:37:06 +0100 Original-Received: from localhost ([127.0.0.1]:50630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PstAf-000763-Rd for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Feb 2011 03:37:05 -0500 Original-Received: from [140.186.70.92] (port=53103 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PstAT-000758-Rp for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2011 03:36:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PstAT-0004Tt-0K for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2011 03:36:53 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PstAS-0004Tp-RP for bug-gnu-emacs@gnu.org; Fri, 25 Feb 2011 03:36:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pssyz-0002hA-UE; Fri, 25 Feb 2011 03:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Feb 2011 08:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8114 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8114-submit@debbugs.gnu.org id=B8114.129862225610304 (code B ref 8114); Fri, 25 Feb 2011 08:25:01 +0000 Original-Received: (at 8114) by debbugs.gnu.org; 25 Feb 2011 08:24:16 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PssyF-0002g8-W1 for submit@debbugs.gnu.org; Fri, 25 Feb 2011 03:24:16 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PssyD-0002fv-5u for 8114@debbugs.gnu.org; Fri, 25 Feb 2011 03:24:13 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LH500K00Z10OB00@a-mtaout23.012.net.il> for 8114@debbugs.gnu.org; Fri, 25 Feb 2011 10:23:40 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.53.157]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LH500K3EZBEL560@a-mtaout23.012.net.il>; Fri, 25 Feb 2011 10:23:40 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 25 Feb 2011 03:25:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44357 Archived-At: > From: Glenn Morris > Date: Thu, 24 Feb 2011 23:15:51 -0500 > Cc: 8114@debbugs.gnu.org > > ESC < ;; beginning-of-buffer > ^X ( ;; start recording keyboard macro > > C-s ;; isearch-forward > SPC ;; self-insert-command > C-e ;; move-end-of-line > C-b ;; backward-char > xyz ;; self-insert-command * 3 > SPC ;; self-insert-command > C-a ;; move-beginning-of-line > C-n ;; next-line > > ^X ) ;; end recording > > ^X e ;; run the macro one time > ^X e ;; run the macro one time > C-u 1 5 0 ^X e ;; run the macro 150 times > > The expected outcome is that each line in the buffer should now look > like this: > a xyz b > > But many of the lines still look as they did at the beginning, namely: > a b > . > Note that the incorrect lines are intertwingled with the > correctly-edited lines, up to the end of the buffer. Something related to scrolling, it seems: the unedited lines start on the second screenful.