all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* kmacro-end-and-call-macro repeats macro multiple times following isearch-forward
@ 2013-08-18  8:08 nomiskatz
  2013-08-18  9:13 ` nomiskatz
  2013-08-18  9:16 ` nomiskatz
  0 siblings, 2 replies; 9+ messages in thread
From: nomiskatz @ 2013-08-18  8:08 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-20 10:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-18  8:08 kmacro-end-and-call-macro repeats macro multiple times following isearch-forward nomiskatz
2013-08-18  9:13 ` nomiskatz
2013-08-18  9:21   ` nomiskatz
2013-08-18  9:25     ` nomiskatz
2013-08-18 18:14   ` Drew Adams
     [not found]   ` <mailman.266.1376849688.10748.help-gnu-emacs@gnu.org>
2013-08-18 21:15     ` nomiskatz
2013-08-19  8:56       ` Peter Dyballa
2013-08-20 10:58       ` nomiskatz
2013-08-18  9:16 ` nomiskatz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.