[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Isearch halts in commands and macros
From: |
Aaron S. Hawley |
Subject: |
Re: Isearch halts in commands and macros |
Date: |
Sat, 29 Oct 2005 19:19:03 -0400 (EDT) |
On Sat, 29 Oct 2005, Richard M. Stallman wrote:
> To reproduce, evaluate the following key binding:
>
> (global-set-key [?\C-.] "\C-s\C-w")
>
> Don't you mean C-s C-m C-w?
No, I didn't mean "Word Search", the "special case of nonincremental
search". I'm sorry about the confusion. I didn't even know "Word Search"
existed until you mentioned it. What I meant was searching with Isearch
and grabbing the next word in the buffer with C-w.
> The reason this can't work is that ending the macro
> forces exit of the minibuffer that C-s C-m enters.
> That is a flaw, but not an easy one to fix.
I can imagine.
Only after seeing that a macro with Isearch could work as one would expect
in GNU Emacs 20 did I determine that the behavior was a reasonable
expectation to make of Emacs and therefore worthy of sending a bug report.
I actually don't require this key binding for Isearch in my editing, but
came across it in my missionary work for the Church of Emacs. I was
trying to help a Vi user port a favored Vi-command into their reborn life
with Emacs.
/a