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: Re: kmacro-end-and-call-macro repeats macro multiple times following isearch-forward Date: Sun, 18 Aug 2013 02:16:42 -0700 (PDT) Message-ID: <893b9223-6555-4369-9584-a3eec51fb446@googlegroups.com> References: <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 1376837154 5759 80.91.229.3 (18 Aug 2013 14:45:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Aug 2013 14:45:54 +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:58 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 1VB4Ew-00009E-AT for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Aug 2013 16:45:58 +0200 Original-Received: from localhost ([::1]:39130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VB4Ev-0002xF-Ua for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Aug 2013 10:45:57 -0400 X-Received: by 10.224.13.136 with SMTP id c8mr12756121qaa.0.1376817402501; Sun, 18 Aug 2013 02:16:42 -0700 (PDT) X-Received: by 10.49.25.83 with SMTP id a19mr299587qeg.1.1376817402481; Sun, 18 Aug 2013 02:16:42 -0700 (PDT) Original-Path: usenet.stanford.edu!f7no2747262qan.0!news-out.google.com!he10ni2338qab.0!nntp.google.com!fx3no2889487qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <3f746da7-4e34-4847-99d5-1f814e2c2595@googlegroups.com> 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 09:16:42 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:200689 X-Mailman-Approved-At: Sun, 18 Aug 2013 10:45:24 -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:92957 Archived-At: (Deleting original message and posting this corrected version...) 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-s C-s to search again - 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