From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nomiskatz@gmail.com Newsgroups: gmane.emacs.help Subject: kmacro-end-and-call-macro repeats macro multiple times following isearch-forward Date: Sun, 18 Aug 2013 01:08:17 -0700 (PDT) Message-ID: <3f746da7-4e34-4847-99d5-1f814e2c2595@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1376837148 5695 80.91.229.3 (18 Aug 2013 14:45:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Aug 2013 14:45:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 18 16:45:53 2013 Return-path: Envelope-to: geh-help-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 1VB4Eq-0008UM-IN for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Aug 2013 16:45:52 +0200 Original-Received: from localhost ([::1]:39128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB4Eq-0002mR-4i for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Aug 2013 10:45:52 -0400 X-Received: by 10.224.4.138 with SMTP id 10mr132109qar.8.1376813297500; Sun, 18 Aug 2013 01:08:17 -0700 (PDT) X-Received: by 10.49.13.10 with SMTP id d10mr417qec.28.1376813297478; Sun, 18 Aug 2013 01:08:17 -0700 (PDT) Original-Path: usenet.stanford.edu!fx3no2884955qab.0!news-out.google.com!he10ni2338qab.0!nntp.google.com!fx3no2884949qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=86.135.150.255; posting-account=EJ7PsAoAAAD6f3KMb3GZ7hPkNMCIjXnR Original-NNTP-Posting-Host: 86.135.150.255 User-Agent: G2/1.0 Injection-Date: Sun, 18 Aug 2013 08:08:17 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:200687 X-Mailman-Approved-At: Sun, 18 Aug 2013 10:45:19 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92956 Archived-At: I've just upgraded from Emacs 24.2.1 to Emacs 24.3.1. Full version details: "GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-08-27 on bob.porkrind.org" and "GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.org" If I have a buffer with some text that is repeated several times and do the following... - C-s (isearch-forward) to search for the repeated text - C-x ( (kmacro-start-macro) - Enter some new text - C-x e (kmacro-end-and-call-macro) ... I get different behaviour in my old and new versions of Emacs. 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. Interestingly, if I define a similar keyboard macro that uses next-error rather than isearch-forward I get my changes one at a time. Is this some bizarre new behaviour for isearch-forward? Can I get the old behaviour back? _ Simon