From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#15126: 24.3; kmacro-end-and-call-macro repeats macro multiple times following isearch-forward Date: Tue, 20 Aug 2013 02:50:56 +0300 Organization: JURTA Message-ID: <8738q5w86b.fsf@mail.jurta.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376956637 22904 80.91.229.3 (19 Aug 2013 23:57:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Aug 2013 23:57:17 +0000 (UTC) Cc: 15126@debbugs.gnu.org To: Simon Katz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 20 01:57:19 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 1VBZK2-0005nH-1J for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Aug 2013 01:57:18 +0200 Original-Received: from localhost ([::1]:45317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBZK1-000165-LC for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Aug 2013 19:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBZJu-00015w-4K for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2013 19:57:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBZJn-0001wp-Qy for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2013 19:57:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBZJn-0001wi-Nj for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2013 19:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VBZJm-0006OR-Po for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2013 19:57:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Aug 2013 23:57: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-submit@debbugs.gnu.org id=B15126.137695662024566 (code B ref 15126); Mon, 19 Aug 2013 23:57:02 +0000 Original-Received: (at 15126) by debbugs.gnu.org; 19 Aug 2013 23:57:00 +0000 Original-Received: from localhost ([127.0.0.1]:41314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VBZJj-0006O9-Ch for submit@debbugs.gnu.org; Mon, 19 Aug 2013 19:56:59 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:52471 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VBZJg-0006O0-4V for 15126@debbugs.gnu.org; Mon, 19 Aug 2013 19:56:57 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5202A258B9E935; Mon, 19 Aug 2013 16:56:54 -0700 (PDT) In-Reply-To: (Simon Katz's message of "Sun, 18 Aug 2013 22:39:41 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) 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:77528 Archived-At: > In Emacs 24.2.1 and all previous versions I've used, > kmacro-end-and-call-macro calls the macro once more, and I can go > through the file making changes one at a time, and I can stop when I > want. > > 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. I can't find a change that caused this regression. At least, I see that it is not caused by the fix for bug#4894 that added `store-kbd-macro-event' to `isearch-other-meta-char'. But removing `store-kbd-macro-event' from `isearch-unread' that is called from `isearch-other-meta-char' fixes this bug. Perhaps this is a wrong fix and I don't know how to fix this properly. `isearch-other-meta-char' currently is full of crap that should be rewritten and reduced to a more manageable size.