[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: does emacs support incremental searching for partial matches?
From: |
jpkotta |
Subject: |
Re: does emacs support incremental searching for partial matches? |
Date: |
Fri, 25 Feb 2011 19:22:34 -0800 (PST) |
User-agent: |
G2/1.0 |
On Feb 24, 8:43 am, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> >> (defconst my-isearch-re "[^\n\s\t]*?")
> > or (defconst my-isearch-re "\\S *?")
> > I'm not sure which is clearer.
>
> Many languages set \n to have syntax "close comment" rather than
> "space", in which case \S- does not exclude \n.
>
> Stefan
I just added http://www.emacswiki.org/emacs/FlexIsearch to the wiki.
It's something that I've been thinking about for a while, but I didn't
know how to hook into isearch. I think it's very close to what the OP
wanted.