--- Begin Message ---
Subject: |
Please add a hook for `isearch-process-search-string' |
Date: |
Thu, 20 May 2010 01:53:07 +0200 |
There is AFAICS no way to currently trigger actions when isearch
search string changes.
I think it would be useful to have a hook for this. Some things that
you could do would for example
- Sync with external apps (I currently want to sync with display in Firefox).
- Show matches in buffers displayed in other windows on the same frame
could sometimes be useful.
Could we please add such a hook? I think the place to run it is in
`isearch-process-search-string'.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#6225: Please add a hook for `isearch-process-search-string' |
Date: |
Fri, 21 May 2010 01:19:57 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
>>>>> It mentions a hook named isearch-update-post-hook. I can't find any
>>>>> such hook. Is it there?
>>>>
>>>> It was reverted due to the feature freeze:
>>>> http://thread.gmane.org/gmane.emacs.devel/121172/focus=121190
>>>>
>>>> It could be reinstalled now.
>>>>
>>>>> What does it do?
>>>>
>>>> I think it does what you want.
>>>
>>> Sounds good (but I proposed the change for using
>>> isearch-process-search-string with the purpose to make such a patch to
>>> be possible/simple).
>>
>> It seems `isearch-update-post-hook' is better than a hook
>> for `isearch-process-search-string', no?
>
> Ah thanks, yes. You are right. I just did not find it.
I reinstalled the patch of Mark A. Hershberger.
--
Juri Linkov
http://www.jurta.org/emacs/
--- End Message ---