all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maindoor <sanjeevfiles@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: better search
Date: Wed, 12 Aug 2009 00:28:22 -0700 (PDT)	[thread overview]
Message-ID: <965490.14082.qm@web63001.mail.re1.yahoo.com> (raw)
In-Reply-To: <67849fff-b9df-4d8e-997e-63407fdce22b@g20g2000vba.googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 1679 bytes --]

Hi,
Is it possible in the viper package to make the search incremental ?
right now I have to press </> entire the "string" and press enter once
and press <n> or <shift-n> to search forward and backward. 

Do we have a way where in I press </> and typing a string causes an 
incremental search. When I find the instance I press enter. and 
subsequent <n> or <shift-n> will search forward and backward. 

This looks like a very basic sane request. I am sure folks would have
thought about this requirement. Is there a way out ? 

Regards,
Maindoor.

--- On Wed, 5/6/09, tomer <tomer1levin@walla.co.il> wrote:

From: tomer <tomer1levin@walla.co.il>
Subject: Re: hook for search next
To: help-gnu-emacs@gnu.org
Date: Wednesday, May 6, 2009, 1:37 PM

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?



      

[-- Attachment #2: Type: text/html, Size: 2293 bytes --]

  parent reply	other threads:[~2009-08-12  7:28 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
     [not found]     ` <mailman.6751.1241621587.31690.help-gnu-emacs@gnu.org>
2009-05-07  6:47       ` tomer
2009-08-12  7:28     ` Maindoor [this message]
2009-08-12 15:30       ` better search 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=965490.14082.qm@web63001.mail.re1.yahoo.com \
    --to=sanjeevfiles@yahoo.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.