From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpkotta Newsgroups: gmane.emacs.help Subject: Re: does emacs support incremental searching for partial matches? Date: Fri, 25 Feb 2011 19:22:34 -0800 (PST) Organization: http://groups.google.com Message-ID: <06183d79-e4ef-4b04-b90f-0a94deaca5bb@l14g2000pre.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1298691634 18420 80.91.229.12 (26 Feb 2011 03:40:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Feb 2011 03:40:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 26 04:40:28 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PtB19-0002MP-D4 for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Feb 2011 04:40:27 +0100 Original-Received: from localhost ([127.0.0.1]:58051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtB18-0003nX-Tj for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Feb 2011 22:40:26 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!l14g2000pre.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 64.122.85.37 Original-X-Trace: posting.google.com 1298690554 17770 127.0.0.1 (26 Feb 2011 03:22:34 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 26 Feb 2011 03:22:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l14g2000pre.googlegroups.com; posting-host=64.122.85.37; posting-account=EwI0QQoAAADdqmqX_mVfawBNtwyks2YE User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.7.62 Version/11.01,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:185329 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79487 Archived-At: On Feb 24, 8:43=A0am, Stefan Monnier 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. > > =A0 =A0 =A0 =A0 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.