From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Date: Mon, 06 Feb 2017 01:48:21 +0200 Organization: LINKOV.NET Message-ID: <877f54td16.fsf@mail.linkov.net> References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87h94fp3z8.fsf@drachen> <877f5avj7r.fsf@mail.linkov.net> <87tw8dztn5.fsf@drachen> <87zii52y8j.fsf@mail.linkov.net> <87k297r0wq.fsf@drachen> <8337fvv2yk.fsf@gnu.org> <8737fvl5r0.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486338880 4681 195.159.176.226 (5 Feb 2017 23:54:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2017 23:54:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) Cc: 25562@debbugs.gnu.org, antoine.levitt@gmail.com To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 00:54:36 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1caWde-00010h-Bq for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 00:54:34 +0100 Original-Received: from localhost ([::1]:44919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caWdk-0007Gp-3P for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Feb 2017 18:54:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caWdD-000705-Li for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2017 18:54:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1caWd8-0007Bd-RX for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2017 18:54:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58810) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1caWd8-0007BW-Nw for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2017 18:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1caWd8-0000jY-Gw for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2017 18:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Feb 2017 23:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25562 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.14863387912756 (code B ref 25562); Sun, 05 Feb 2017 23:54:02 +0000 Original-Received: (at 25562) by debbugs.gnu.org; 5 Feb 2017 23:53:11 +0000 Original-Received: from localhost ([127.0.0.1]:57008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1caWcJ-0000iO-M8 for submit@debbugs.gnu.org; Sun, 05 Feb 2017 18:53:11 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:53989 helo=homiemail-a13.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1caWcG-0000i2-VV for 25562@debbugs.gnu.org; Sun, 05 Feb 2017 18:53:10 -0500 Original-Received: from homiemail-a13.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTP id 5D430334075; Sun, 5 Feb 2017 15:53:08 -0800 (PST) Original-Received: from localhost.linkov.net (m213-100-245-249.cust.tele2.ee [213.100.245.249]) (Authenticated sender: jurta@jurta.org) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id 15CE333406C; Sun, 5 Feb 2017 15:53:06 -0800 (PST) In-Reply-To: <8737fvl5r0.fsf@drachen> (Michael Heerdegen's message of "Fri, 03 Feb 2017 15:16:03 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129014 Archived-At: >> "While still adding characters" is not a useful qualification in >> incremental search, because the user has no means to tell Emacs when >> this phase is over. I think you meant to say "until the next C-s". > > Sure. I didn't suggest to add what I said literally that to the docs. > I rather just wanted to point to a deficiency. Thanks for the > clarification anyway. Thanks for the suggestion. What do you think about this? diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index fa69ba4..a76141e 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -609,6 +609,8 @@ Word Search so that the matching can proceed incrementally as you type. This additional laxity does not apply to the lazy highlight (@pxref{Incremental Search}), which always matches whole words. +While you are typing the search string, @samp{Pending} appears in the +search prompt until you use a search repeating key like @kbd{C-s}. The word search commands don't perform character folding, and toggling lax whitespace matching (@pxref{Lax Search, lax space @@ -662,7 +664,9 @@ Symbol Search direction of the search and the current search string; you can disable symbol search by typing @kbd{M-s _} again. In incremental symbol search, only the beginning of the search string is required to match -the beginning of a symbol. +the beginning of a symbol while you are typing the search string, +@samp{Pending} appears in the search prompt until you use a search +repeating key like @kbd{C-s}. To begin a nonincremental symbol search, type @kbd{M-s _ @key{RET}} for a forward search, or @kbd{M-s _ C-r @key{RET}} or a backward