GNU bug report logs - #6225
Please add a hook for `isearch-process-search-string'

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Wed, 19 May 2010 23:54:01 UTC

Severity: wishlist

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6225 in the body.
You can then email your comments to 6225 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6225; Package emacs. (Wed, 19 May 2010 23:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 19 May 2010 23:54:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
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'.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6225; Package emacs. (Thu, 20 May 2010 00:10:02 GMT) Full text and rfc822 format available.

Message #8 received at 6225 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 6225 <at> debbugs.gnu.org
Subject: Re: bug#6225: Please add a hook for `isearch-process-search-string'
Date: Thu, 20 May 2010 03:07:18 +0300
> 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'.

I think this will help you:
http://thread.gmane.org/gmane.emacs.devel/121172

-- 
Juri Linkov
http://www.jurta.org/emacs/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6225; Package emacs. (Thu, 20 May 2010 00:18:02 GMT) Full text and rfc822 format available.

Message #11 received at 6225 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 6225 <at> debbugs.gnu.org
Subject: Re: bug#6225: Please add a hook for `isearch-process-search-string'
Date: Thu, 20 May 2010 02:17:09 +0200
On Thu, May 20, 2010 at 2:07 AM, Juri Linkov <juri <at> jurta.org> wrote:
>> 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'.
>
> I think this will help you:
> http://thread.gmane.org/gmane.emacs.devel/121172


Thanks, but I am not sure... ;-)

It mentions a hook named isearch-update-post-hook. I can't find any
such hook. Is it there? What does it do?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6225; Package emacs. (Thu, 20 May 2010 00:28:02 GMT) Full text and rfc822 format available.

Message #14 received at 6225 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 6225 <at> debbugs.gnu.org
Subject: Re: bug#6225: Please add a hook for `isearch-process-search-string'
Date: Thu, 20 May 2010 03:25:49 +0300
>> I think this will help you:
>> http://thread.gmane.org/gmane.emacs.devel/121172
>
> Thanks, but I am not sure... ;-)
>
> 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.

-- 
Juri Linkov
http://www.jurta.org/emacs/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6225; Package emacs. (Thu, 20 May 2010 00:36:01 GMT) Full text and rfc822 format available.

Message #17 received at 6225 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 6225 <at> debbugs.gnu.org
Subject: Re: bug#6225: Please add a hook for `isearch-process-search-string'
Date: Thu, 20 May 2010 02:35:01 +0200
On Thu, May 20, 2010 at 2:25 AM, Juri Linkov <juri <at> jurta.org> wrote:
>>> I think this will help you:
>>> http://thread.gmane.org/gmane.emacs.devel/121172
>>
>> Thanks, but I am not sure... ;-)
>>
>> 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).




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6225; Package emacs. (Thu, 20 May 2010 00:48:03 GMT) Full text and rfc822 format available.

Message #20 received at 6225 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 6225 <at> debbugs.gnu.org
Subject: Re: bug#6225: Please add a hook for `isearch-process-search-string'
Date: Thu, 20 May 2010 03:45:27 +0300
>>> 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?

-- 
Juri Linkov
http://www.jurta.org/emacs/




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6225; Package emacs. (Thu, 20 May 2010 00:58:02 GMT) Full text and rfc822 format available.

Message #23 received at 6225 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 6225 <at> debbugs.gnu.org
Subject: Re: bug#6225: Please add a hook for `isearch-process-search-string'
Date: Thu, 20 May 2010 02:57:33 +0200
On Thu, May 20, 2010 at 2:45 AM, Juri Linkov <juri <at> jurta.org> wrote:
>>>> 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.




Reply sent to Juri Linkov <juri <at> jurta.org>:
You have taken responsibility. (Thu, 20 May 2010 22:22:02 GMT) Full text and rfc822 format available.

Notification sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
bug acknowledged by developer. (Thu, 20 May 2010 22:22:02 GMT) Full text and rfc822 format available.

Message #28 received at 6225-done <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 6225-done <at> debbugs.gnu.org
Subject: Re: bug#6225: Please add a hook for `isearch-process-search-string'
Date: Fri, 21 May 2010 01:19:57 +0300
>>>>> 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/




Message #29 received at 6225-done <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 6225-done <at> debbugs.gnu.org
Subject: Re: bug#6225: Please add a hook for `isearch-process-search-string'
Date: Fri, 21 May 2010 03:22:32 +0200
Thanks Juri.

On Fri, May 21, 2010 at 12:19 AM, Juri Linkov <juri <at> jurta.org> wrote:
>
> I reinstalled the patch of Mark A. Hershberger.
>
> --
> Juri Linkov
> http://www.jurta.org/emacs/
>




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Jun 2010 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.