help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hook for search next


From: Kevin Rodgers
Subject: Re: hook for search next
Date: Wed, 06 May 2009 08:52:55 -0600
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

tomer wrote:
On May 5, 3:40 pm, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
tomer wrote:
i want to print message after each search (ctrl-s) in search-minor
mode.Is it possilbe to hook for this purpose?
Is there other way other than hook?
it is very important.
,----[ C-h v isearch-mode-end-hook RET ]
| isearch-mode-end-hook is a variable defined in `isearch.el'.
| Its value is nil
|
|
| Documentation:
| Function(s) to call after terminating an incremental search.
| When these functions are called, `isearch-mode-end-hook-quit'
| is non-nil if the user quit the search.
|
| [back]
`----

--
Kevin Rodgers
Denver, Colorado, USA

Thanks for the answer,
I knew that hooks, these hook are only in the end of the search.
I need a hook each time a new search is found (each time pressing ctrl
+s in isearch mode).
Is it possbile?

Try after-advising isearch-search and check isearch-success.

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]