[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: query-replace-regexp does not use isearch-open-invisible properties
From: |
Richard Stallman |
Subject: |
Re: query-replace-regexp does not use isearch-open-invisible properties |
Date: |
Tue, 4 Dec 2001 17:20:53 -0700 (MST) |
Of course an alternative would be to change query-replace to not use
`read-event' but to do what isearch does: use overriding-terminal-map or
a recursive-edit so as to use the usual command loop which would (as
a side-effect) run post/pre-command-hook.
That seems like a good idea to try. If the results are not ugly
(or not much more so than the present code), we could install it.
Maybe query-replace should explicitly run pre/post-command-hook?
People are proposing a few changes in the meaning of
post/pre-command-hook. Someone suggested making the Emacs servers run
it.
I would feel better about these changes if we could state a new simple
description of when the hooks should be run. Perhaps that new
description would call for a different name too.
When we have that new purpose and name, perhaps we should make a new
hook and leave post/pre-command-hook unchanged. Or perhaps make them
aliases. We need to see what the new name and purpose are, to judge
that.