From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: hook for search next
Date: Wed, 06 May 2009 08:52:55 -0600 [thread overview]
Message-ID: <gts87s$38o$1@ger.gmane.org> (raw)
In-Reply-To: <67849fff-b9df-4d8e-997e-63407fdce22b@g20g2000vba.googlegroups.com>
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
next prev parent reply other threads:[~2009-05-06 14:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-05 8:43 hook for search next tomer
2009-05-05 12:40 ` Kevin Rodgers
[not found] ` <mailman.6649.1241527217.31690.help-gnu-emacs@gnu.org>
2009-05-06 8:07 ` tomer
2009-05-06 14:52 ` Kevin Rodgers [this message]
[not found] ` <mailman.6751.1241621587.31690.help-gnu-emacs@gnu.org>
2009-05-07 6:47 ` tomer
2009-08-12 7:28 ` better search Maindoor
2009-08-12 15:30 ` Lennart Borgman
2009-08-13 5:57 ` Maindoor
2009-08-31 7:15 ` company-mode question Maindoor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gts87s$38o$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).