From: Le Wang <l26wang@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: does emacs support incremental searching for partial matches?
Date: Thu, 24 Feb 2011 13:59:31 +0800 [thread overview]
Message-ID: <AANLkTi=xPa9GM0C=OySRXmmjziSLcdJ_1Baj0OURezyO@mail.gmail.com> (raw)
In-Reply-To: <jwvr5aywyno.fsf-monnier+gnu.emacs.help@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 388 bytes --]
On Wed, Feb 23, 2011 at 11:53 PM, Stefan Monnier
<monnier@iro.umontreal.ca>wrote:
> It shouldn't be too difficult to write up a quick hack to do it, using
> isearch-search-fun-function. Something like
>
I learnt a few things from this snippet. Thanks Stefan!
> (defconst my-isearch-re "[^\n\s\t]*?")
>
or (defconst my-isearch-re "\\S *?")
I'm not sure which is clearer.
--
Le
[-- Attachment #2: Type: text/html, Size: 900 bytes --]
next prev parent reply other threads:[~2011-02-24 5:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-21 10:28 does emacs support incremental searching for partial matches? Leh CHAO
2011-02-22 14:21 ` Drew Adams
2011-02-22 19:33 ` Leh CHAO
2011-02-22 20:42 ` Drew Adams
[not found] ` <mailman.2.1298403193.16069.help-gnu-emacs@gnu.org>
2011-02-22 21:49 ` Tim X
2011-02-23 15:53 ` Stefan Monnier
2011-02-24 5:59 ` Le Wang [this message]
2011-02-24 14:43 ` Stefan Monnier
[not found] ` <mailman.1.1298558638.12984.help-gnu-emacs@gnu.org>
2011-02-26 3:22 ` jpkotta
[not found] <mailman.10.1298381786.4429.help-gnu-emacs@gnu.org>
2011-02-22 21:34 ` Tim X
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='AANLkTi=xPa9GM0C=OySRXmmjziSLcdJ_1Baj0OURezyO@mail.gmail.com' \
--to=l26wang@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).