From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simon Katz Newsgroups: gmane.emacs.bugs Subject: bug#15126: 24.3; kmacro-end-and-call-macro repeats macro multiple times following isearch-forward Date: Sun, 01 Sep 2013 14:10:40 +0100 Message-ID: <52233CD0.30708@nomistech.com> References: <87mwo7juj6.fsf@mail.jurta.org> <87mwo3m82l.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378041083 9293 80.91.229.3 (1 Sep 2013 13:11:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Sep 2013 13:11:23 +0000 (UTC) Cc: Simon Katz , 15126-done@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 01 15:11:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VG7R4-0007f5-90 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Sep 2013 15:11:22 +0200 Original-Received: from localhost ([::1]:33965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VG7R3-0001X9-LZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Sep 2013 09:11:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VG7Qt-0001Ut-G3 for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 09:11:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VG7Ql-0003Pz-K3 for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 09:11:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VG7Ql-0003Pv-G2 for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 09:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VG7Qk-0007Q6-JA for bug-gnu-emacs@gnu.org; Sun, 01 Sep 2013 09:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Katz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2013 13:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15126 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15126-done@debbugs.gnu.org id=D15126.137804105428505 (code D ref 15126); Sun, 01 Sep 2013 13:11:02 +0000 Original-Received: (at 15126-done) by debbugs.gnu.org; 1 Sep 2013 13:10:54 +0000 Original-Received: from localhost ([127.0.0.1]:34544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VG7Qa-0007Pf-F6 for submit@debbugs.gnu.org; Sun, 01 Sep 2013 09:10:53 -0400 Original-Received: from s11.dg.net.uk ([78.143.240.128]:39841) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VG7QW-0007PO-Oz for 15126-done@debbugs.gnu.org; Sun, 01 Sep 2013 09:10:49 -0400 Original-Received: from host86-135-150-255.range86-135.btcentralplus.com ([86.135.150.255]:65137 helo=[172.16.76.129]) by s11.dg.net.uk with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1VG7QO-00011j-BY; Sun, 01 Sep 2013 14:10:40 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <87mwo3m82l.fsf@mail.jurta.org> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s11.dg.net.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nomistech.com X-Get-Message-Sender-Via: s11.dg.net.uk: authenticated_id: non-junk+nomistech.com/only user confirmed/virtual account not confirmed X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77856 Archived-At: Juri Linkov wrote on 2013-08-27 17:06: >>> In Emacs 24.3.1, kmacro-end-and-call-macro calls the macro repeatedly >>> making changes to all the repeated text up to the end of the file. >> It's clear that neither `C-x' nor `C-x e' should be stored. >> So not storing `C-x e' will not execute the same macro repeatedly. > This case is fixed now. Thanks for the bug report. > > There is another case where instead of `C-x e' > typing more verbosely `M-x kmacro-end-and-call-macro RET' > will store this sequence in the macro. > > But it's not a isearch specific problem as it can be reproduced > without isearch by the test case: > > M-x kmacro-start-macro RET x x x x > M-x kmacro-end-and-call-macro RET > > It doesn't stop after the first macro execution > because it stores M-x and the command in the macro: > > Macro: > 4*x ;; self-insert-command > M-x ;; execute-extended-command > kmacro-end-and-call-macro ;; self-insert-command * 25 > > This is a minor problem since nobody reported it > because there are more convenient keys to do the same > with `C-x ( x x x x C-x e' (or F3/F4). Great, and thanks for the additional info.