From: nomiskatz@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Re: kmacro-end-and-call-macro repeats macro multiple times following isearch-forward
Date: Sun, 18 Aug 2013 02:21:57 -0700 (PDT) [thread overview]
Message-ID: <719e1041-bbce-4162-b8f7-4dfcd3df0864@googlegroups.com> (raw)
In-Reply-To: <2c50f933-fcdb-4b46-ac43-348a911096de@googlegroups.com>
(Deleting original message and posting this corrected version... (again -- formatting problems).)
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
next prev parent reply other threads:[~2013-08-18 9:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=719e1041-bbce-4162-b8f7-4dfcd3df0864@googlegroups.com \
--to=nomiskatz@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.