From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: does emacs support incremental searching for partial matches? Date: Thu, 24 Feb 2011 09:43:32 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298558683 24511 80.91.229.12 (24 Feb 2011 14:44:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 14:44:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Le Wang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 24 15:44:39 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 1PscQp-0000K1-4j for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Feb 2011 15:44:39 +0100 Original-Received: from localhost ([127.0.0.1]:59265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PscQo-0002wa-KC for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Feb 2011 09:44:38 -0500 Original-Received: from [140.186.70.92] (port=34899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PscQ8-0002sL-H9 for help-gnu-emacs@gnu.org; Thu, 24 Feb 2011 09:43:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PscQ5-0004c8-Vs for help-gnu-emacs@gnu.org; Thu, 24 Feb 2011 09:43:56 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:2641 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PscQ5-0004bs-Td for help-gnu-emacs@gnu.org; Thu, 24 Feb 2011 09:43:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAPb9ZU1FxIPF/2dsb2JhbACmJ3S9UYVgBIUQj1s X-IronPort-AV: E=Sophos;i="4.62,218,1297054800"; d="scan'208";a="93396605" Original-Received: from 69-196-131-197.dsl.teksavvy.com (HELO pastel.home) ([69.196.131.197]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 24 Feb 2011 09:43:33 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id AB91F4E050; Thu, 24 Feb 2011 09:43:32 -0500 (EST) In-Reply-To: (Le Wang's message of "Thu, 24 Feb 2011 13:59:31 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:79432 Archived-At: >> (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