From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Antoine Levitt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Jan 2017 11:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25562 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 25562@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148560260531335 (code B ref -1); Sat, 28 Jan 2017 11:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2017 11:23:25 +0000 Received: from localhost ([127.0.0.1]:48821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXR6K-00089L-Vw for submit@debbugs.gnu.org; Sat, 28 Jan 2017 06:23:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXR6J-00089A-OU for submit@debbugs.gnu.org; Sat, 28 Jan 2017 06:23:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXR6E-0007Is-0W for submit@debbugs.gnu.org; Sat, 28 Jan 2017 06:23:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53187) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cXR6D-0007Il-TZ for submit@debbugs.gnu.org; Sat, 28 Jan 2017 06:23:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXR6C-0003JO-VC for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 06:23:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXR69-0007IO-Sf for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 06:23:16 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:35317) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXR69-0007ID-MV for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 06:23:13 -0500 Received: by mail-wm0-x22b.google.com with SMTP id r126so150833309wmr.0 for ; Sat, 28 Jan 2017 03:23:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=B5r38lMBOXG6MCYCB07d88Zvqlpt5u8ki8OFOWY4pnk=; b=KO63zH0YOVg5/9Q9tGNV+PqcSVNtEMUdxHHV8rXtsA4LWAEh5DeJeJvpMWGKYswlN5 kjpq1HLKtzCyeDKMUpVbAs7n1c0rb4cXNlfdzSrclLp+ZFByf2gpxUEgMhh5C/MOu7VB yHtJsNANmP2U++p/jS3t+5Nl8rA7vHakS14/IFN4jlRxdgzu+9+nTwvN6oxmdt7chLn9 5PGib9alMQg8CcHvbZIk2kSCZ9MzI3kbk/j+ewWrrJ9aqshxIbe448rV424hr28zuGFE OcXxz6CfCEFOjh59xma0sguVXD3Eb6utIbITtXSG0roQALbaZXhoK1AIWJ6IpTvHp9G/ gR4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=B5r38lMBOXG6MCYCB07d88Zvqlpt5u8ki8OFOWY4pnk=; b=PD+D5Jr+7xOYNcrxWtrF+KFzJ4FVGVJrrH/zv2ftbPkdhh9cOI3GtYQUALWZ0hd6MZ p8hVtxZVfncPmKDKIuFLTiSoVehFfXT8/o/qNq4aRNcSLF+sLHCKNHa9JUbzaugTb9RT HXXGEq33ArcV1cXzbH9HVag3j/ESgTKPknap3oK+cbW8xazWwMX5jeQ3ktC0QB601UUF ySZrLHeFcKR2HWgTUk5/e74tePSpOtyjGbhmJ6MgBzSOl6Y26OrM+CDIlfwF/TbOv9WH LK+zxXO651eCnhbzPl3U1wvGVgoUpUWxifIZazj9opqkEIWB3+IY0ET4c7h/+tKLjvzN n+dg== X-Gm-Message-State: AIkVDXJ5NExfRO26X5+LEWt/svWD3kWA+T7y1bemyo+6NaF8pA5Erk9Mk3WsEoMKG6f4YA== X-Received: by 10.28.41.1 with SMTP id p1mr1704505wmp.59.1485602590733; Sat, 28 Jan 2017 03:23:10 -0800 (PST) Received: from epsilon (arkoon.centredepathologie.com. [109.203.69.18]) by smtp.gmail.com with ESMTPSA id t123sm8425144wmt.8.2017.01.28.03.23.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jan 2017 03:23:09 -0800 (PST) User-agent: mu4e 0.9.17; emacs 25.1.1 From: Antoine Levitt Date: Sat, 28 Jan 2017 12:23:08 +0100 Message-ID: <87r33njun7.fsf@inria.fr> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) emacs -Q M-< M-s w it see that the "it" of "visit" is matched, and should not be. Subsequent C-s fix this. Best, Antoine From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jan 2017 00:52: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: To: Antoine Levitt Cc: 25562@debbugs.gnu.org Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148565106218965 (code B ref 25562); Sun, 29 Jan 2017 00:52:02 +0000 Received: (at 25562) by debbugs.gnu.org; 29 Jan 2017 00:51:02 +0000 Received: from localhost ([127.0.0.1]:49564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXdhu-0004vj-19 for submit@debbugs.gnu.org; Sat, 28 Jan 2017 19:51:02 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:45203 helo=homiemail-a23.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXdhq-0004v7-IV; Sat, 28 Jan 2017 19:50:58 -0500 Received: from homiemail-a23.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a23.g.dreamhost.com (Postfix) with ESMTP id E53014B007C; Sat, 28 Jan 2017 16:50:57 -0800 (PST) Received: from localhost.linkov.net (m213-100-238-78.cust.tele2.ee [213.100.238.78]) (Authenticated sender: jurta@jurta.org) by homiemail-a23.g.dreamhost.com (Postfix) with ESMTPA id D521C4B0063; Sat, 28 Jan 2017 16:50:56 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> Date: Sun, 29 Jan 2017 02:29:03 +0200 In-Reply-To: <87r33njun7.fsf@inria.fr> (Antoine Levitt's message of "Sat, 28 Jan 2017 12:23:08 +0100") Message-ID: <87mvea3feg.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 22589 25562 thanks > emacs -Q > M-< > M-s w > it > > see that the "it" of "visit" is matched, and should not be. Subsequent > C-s fix this. Thanks for the report. Please see the rationale for this behavior in https://debbugs.gnu.org/22589 [...] Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [69.163.253.7 listed in dnsbl.sorbs.net] 0.0 RCVD_IN_MSPIKE_L5 RBL: Very bad reputation (-5) [69.163.253.7 listed in bl.mailspike.net] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [69.163.253.7 listed in psbl.surriel.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [69.163.253.7 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 22589 25562 thanks > emacs -Q > M-< > M-s w > it > > see that the "it" of "visit" is matched, and should not be. Subsequent > C-s fix this. Thanks for the report. Please see the rationale for this behavior in https://debbugs.gnu.org/22589 [...] Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source [69.163.253.7 listed in dnsbl.sorbs.net] 0.0 RCVD_IN_MSPIKE_L5 RBL: Very bad reputation (-5) [69.163.253.7 listed in bl.mailspike.net] 2.7 RCVD_IN_PSBL RBL: Received via a relay in PSBL [69.163.253.7 listed in psbl.surriel.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [69.163.253.7 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted merge 22589 25562 thanks > emacs -Q > M-< > M-s w > it > > see that the "it" of "visit" is matched, and should not be. Subsequent > C-s fix this. Thanks for the report. Please see the rationale for this behavior in https://debbugs.gnu.org/22589 Do you think the proposed change suits your case? From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Antoine Levitt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Jan 2017 06:53:01 +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: To: Juri Linkov Cc: 25562@debbugs.gnu.org Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148567276625286 (code B ref 25562); Sun, 29 Jan 2017 06:53:01 +0000 Received: (at 25562) by debbugs.gnu.org; 29 Jan 2017 06:52:46 +0000 Received: from localhost ([127.0.0.1]:49625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXjLy-0006Zm-HT for submit@debbugs.gnu.org; Sun, 29 Jan 2017 01:52:46 -0500 Received: from mail-oi0-f49.google.com ([209.85.218.49]:35791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXjLx-0006Za-9B for 25562@debbugs.gnu.org; Sun, 29 Jan 2017 01:52:45 -0500 Received: by mail-oi0-f49.google.com with SMTP id j15so179704483oih.2 for <25562@debbugs.gnu.org>; Sat, 28 Jan 2017 22:52:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RXqNkzrneCNgPZuROiYGezWq8f1JrtWHqXmHBsyop/s=; b=jZFEQZ1mozfKRE/QI4Izu0KHZJ8IJZksCWhjbfBXIvQ8hbu8RFM5JJAYPMTnxY/K+v 6JyMA8cPcAPi0N0Mx5zo93ZxE2GArzHbjS6j+/AOSwsk7ykBzWYHKPKJECouH3kPHBkm YKCg8X+xnWXaM9GaO0qOS61Re4dHKr4cUf0wuMzIvrek+5UDFFq8pZK/ujWydJWboPGu Sz+Sjv6CaUSWoSvhHJpPHbxfWEooMuIILJHbBwpdP9CMHi06D1t9JzJ/QeRCh/Cki1fr AqDSgexYdsHru3rBeEHaljzaBYZxe2amAXGH+H2SVgRUq3IBJZh2Y44E1mPKqzMrlYXg cZQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RXqNkzrneCNgPZuROiYGezWq8f1JrtWHqXmHBsyop/s=; b=ZTKWSfuIRrFlB0zlueURMR5VZfmbsAQSKXfaDE8dwy/5NdW284L7WXPNVJ5V0+BILE v+gbaGIdpPxc/4NKWWNAj7N7y8o3rTVCWBQHHKUpehWP78DQGM7LRqgPDWO07jckC8cN P0IcZB34MVcld0JguLFp9wNo/2SPy2xuOf+cL+wl6OqNdZ/ieVk7B2jYdqaB/2eBlb2j MDJuJuD3mu9DZdNB+5+O/Qs/Hjz7S4SFKn4SF6KScCLGVe4ykXi+uoano/+raBa0XE0H xX6477sLqNHretj3MrKsp1P0gva8+fe0HbkY+auzviuTEwCVB5y+cSXtY5AJvJJ/XkOo pixw== X-Gm-Message-State: AIkVDXKjoFc8ao9jq/RjCbH5RrKVm+J2NWyUL5WeycWix6yxUE41MW3jInwAmpSK+O0M+/iA612GHPHnvM1Otg== X-Received: by 10.202.49.82 with SMTP id x79mr9379899oix.200.1485672759209; Sat, 28 Jan 2017 22:52:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.12.202 with HTTP; Sat, 28 Jan 2017 22:52:38 -0800 (PST) Received: by 10.157.12.202 with HTTP; Sat, 28 Jan 2017 22:52:38 -0800 (PST) In-Reply-To: <87mvea3feg.fsf@mail.linkov.net> References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> From: Antoine Levitt Date: Sun, 29 Jan 2017 07:52:38 +0100 Message-ID: Content-Type: multipart/alternative; boundary=001a113cdc0810b67b0547362535 X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --001a113cdc0810b67b0547362535 Content-Type: text/plain; charset=UTF-8 I see, thanks for the explanation. That's still unsatisfactory to me. I think an ideal incremental word search would just start over from the current point each time a new character is typed (that's what most users would expect). Then any non-insertion command would make the user "commit" to the particular search and the incremental search proper would begin. Is that compatible with the current design of isearch? Best, Antoine On 29 Jan 2017 01:50, "Juri Linkov" wrote: > merge 22589 25562 > thanks > > > emacs -Q > > M-< > > M-s w > > it > > > > see that the "it" of "visit" is matched, and should not be. Subsequent > > C-s fix this. > > Thanks for the report. Please see the rationale for this behavior in > https://debbugs.gnu.org/22589 > > Do you think the proposed change suits your case? > --001a113cdc0810b67b0547362535 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I see, thanks for the explanation. That's still unsat= isfactory to me. I think an ideal incremental word search would just start = over from the current point each time a new character is typed (that's = what most users would expect). Then any non-insertion command would make th= e user "commit" to the particular search and the incremental sear= ch proper would begin. Is that compatible with the current design of isearc= h?=C2=A0

Best,
Antoine=C2=A0

On 29 Jan 2017 01:50, "Juri Linkov" <juri@linkov.net> wrote:
merge 22589 25562
thanks

> emacs -Q
> M-<
> M-s w
> it
>
> see that the "it" of "visit" is matched, and shoul= d not be. Subsequent
> C-s fix this.

Thanks for the report.=C2=A0 Please see the rationale for this behavior in<= br> https://debbugs.gnu.org/22589

Do you think the proposed change suits your case?
--001a113cdc0810b67b0547362535-- From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2017 00:35:03 +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: To: Antoine Levitt Cc: 25562@debbugs.gnu.org Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148573645428026 (code B ref 25562); Mon, 30 Jan 2017 00:35:03 +0000 Received: (at 25562) by debbugs.gnu.org; 30 Jan 2017 00:34:14 +0000 Received: from localhost ([127.0.0.1]:50537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXzvC-0007Ht-9b for submit@debbugs.gnu.org; Sun, 29 Jan 2017 19:34:14 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:41956 helo=homiemail-a13.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXzvB-0007He-9L for 25562@debbugs.gnu.org; Sun, 29 Jan 2017 19:34:13 -0500 Received: from homiemail-a13.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTP id BA512334076; Sun, 29 Jan 2017 16:34:12 -0800 (PST) Received: from localhost.linkov.net (m213-100-238-78.cust.tele2.ee [213.100.238.78]) (Authenticated sender: jurta@jurta.org) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id EA57B33406C; Sun, 29 Jan 2017 16:34:11 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> Date: Mon, 30 Jan 2017 02:30:41 +0200 In-Reply-To: (Antoine Levitt's message of "Sun, 29 Jan 2017 07:52:38 +0100") Message-ID: <87fuk1wfri.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > I see, thanks for the explanation. That's still unsatisfactory to me. I > think an ideal incremental word search would just start over from the > current point each time a new character is typed (that's what most user= s > would expect). Then any non-insertion command would make the user "comm= it" > to the particular search and the incremental search proper would begin.= Is > that compatible with the current design of isearch? What you describe looks like isearch-barrier used for subsequent \| in re= gexps, e.g. typing =E2=80=98C-M-s ^\=E2=80=99 and then =E2=80=98\|=E2=80=99= moves point back to the beginning of the search. But wouldn't this make the search too =E2=80=9Cjumpy=E2=80= =9D, especially while typing long words? From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Antoine Levitt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2017 08:12: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: To: Juri Linkov Cc: 25562@debbugs.gnu.org Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148576386423390 (code B ref 25562); Mon, 30 Jan 2017 08:12:02 +0000 Received: (at 25562) by debbugs.gnu.org; 30 Jan 2017 08:11:04 +0000 Received: from localhost ([127.0.0.1]:50698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cY73I-00065B-1O for submit@debbugs.gnu.org; Mon, 30 Jan 2017 03:11:04 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:33110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cY73G-00064h-5M for 25562@debbugs.gnu.org; Mon, 30 Jan 2017 03:11:02 -0500 Received: by mail-wm0-f49.google.com with SMTP id t18so8101565wmt.0 for <25562@debbugs.gnu.org>; Mon, 30 Jan 2017 00:11:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:in-reply-to:from:to:cc:subject:date :message-id:mime-version:content-transfer-encoding; bh=a2q5aUis3DejqtNz7SUzmsm+3nIAxQ8y1M69sbV5RoI=; b=tJtQe+paYc2/z36ddQTmi8lOwVALocLl55fZsMj0jC3kTkHX+vftGRtc6gKvg31akH pYFqYHrAByX9aD/SG3QtQ9bhRnsapt88QUNDbLom3sJcRGqrUkCuPWkrx697JXOHyXeE g7UXrSuxsUeD7DwtsVBdfuwMEORz+/qdralsFyYUoyuK9NT40v40kCITP6N7cshOZfJZ pr52EWLfc5AnCYbeaUJd2OleLHhYcyVU86ZgaKNcRyxnX5hfxaH4tsN34bd6mFH864rG +UM777CvLEDulL0EiCJhcn968jrAiUDl6A9IZK0CaGGYztIXVgco0Ew766RVXQ4TXIZy DpCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:in-reply-to:from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; bh=a2q5aUis3DejqtNz7SUzmsm+3nIAxQ8y1M69sbV5RoI=; b=CV6T2pGqY0UUo5nzG0rYJmKdW0PFISNzpurEbVohcbAPdYBkLOwpfRYUQw0pRlNT/0 /JxJSkL/MAJRnCvmB1adNbpGaO2zJ375/99up83iqCROSukChZEUlmnDPJRx/PTepSmc WayCBBbS3t1aBvvkLYNxN0egS2ke3r/cyruaOcfulo5FZ38mdVBJelYaV+FmOcLinFrA oAcYhhYUMmLG95BrXZtp6KIB3Cn0Cp+gijdlpBBlwjmTdTBz6zvlivM7jc/eLURt3uQn h1x6/aq3jYqdxjOdifZWPYDMAr8Rf8SVUpSeW/nKN1DFwOsYdZzMdvTWlVtyovVfA2x9 Um4Q== X-Gm-Message-State: AIkVDXI9M3S27w/tNO42rN/KNpp9AgrZXPZJ6yxyJHV+A7daBePjCrcP4aEi68W8Ctggng== X-Received: by 10.28.6.78 with SMTP id 75mr14158073wmg.81.1485763856189; Mon, 30 Jan 2017 00:10:56 -0800 (PST) Received: from lambda (fw.enpc.fr. [194.57.247.3]) by smtp.gmail.com with ESMTPSA id t123sm17439474wmt.8.2017.01.30.00.10.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 00:10:55 -0800 (PST) References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87fuk1wfri.fsf@mail.linkov.net> User-agent: mu4e 0.9.17; emacs 25.1.2 In-reply-to: <87fuk1wfri.fsf@mail.linkov.net> From: Antoine Levitt Date: Mon, 30 Jan 2017 09:12:20 +0100 Message-ID: <87r33l7yqj.fsf@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) 30 January 2017 01:30 +0100, Juri Linkov : >> I see, thanks for the explanation. That's still unsatisfactory to me. I >> think an ideal incremental word search would just start over from the >> current point each time a new character is typed (that's what most users >> would expect). Then any non-insertion command would make the user "commit" >> to the particular search and the incremental search proper would begin. Is >> that compatible with the current design of isearch? > > What you describe looks like isearch-barrier used for subsequent \| in regexps, > e.g. typing ‘C-M-s ^\’ and then ‘\|’ moves point back to the beginning > of the search. But wouldn't this make the search too “jumpy”, especially > while typing long words? My use case of isearch-word is mainly short words, e.g. variable names such as f in f(x) in latex. I'd guess that's a pretty common pattern. Even for long words, I think an user would type a word quickly, and be confused that their first match is not really a match. That offsets the potential jumpiness (ie what happens when the user is typing the word) for me. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2017 23:29: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: To: Antoine Levitt Cc: 25562@debbugs.gnu.org Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148581893930154 (code B ref 25562); Mon, 30 Jan 2017 23:29:02 +0000 Received: (at 25562) by debbugs.gnu.org; 30 Jan 2017 23:28:59 +0000 Received: from localhost ([127.0.0.1]:51474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYLNb-0007qF-3K for submit@debbugs.gnu.org; Mon, 30 Jan 2017 18:28:59 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:43195 helo=homiemail-a17.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYLNZ-0007q5-TM for 25562@debbugs.gnu.org; Mon, 30 Jan 2017 18:28:58 -0500 Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id 6730B2B206E; Mon, 30 Jan 2017 15:28:52 -0800 (PST) Received: from localhost.linkov.net (m213-102-76-140.cust.tele2.ee [213.102.76.140]) (Authenticated sender: jurta@jurta.org) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id 8D20D2B206D; Mon, 30 Jan 2017 15:28:51 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87fuk1wfri.fsf@mail.linkov.net> <87r33l7yqj.fsf@inria.fr> Date: Tue, 31 Jan 2017 01:24:07 +0200 In-Reply-To: <87r33l7yqj.fsf@inria.fr> (Antoine Levitt's message of "Mon, 30 Jan 2017 09:12:20 +0100") Message-ID: <877f5cf7xk.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >>> I see, thanks for the explanation. That's still unsatisfactory to me.= I >>> think an ideal incremental word search would just start over from the >>> current point each time a new character is typed (that's what most us= ers >>> would expect). Then any non-insertion command would make the user "co= mmit" >>> to the particular search and the incremental search proper would begi= n. Is >>> that compatible with the current design of isearch? >> >> What you describe looks like isearch-barrier used for subsequent \| in= regexps, >> e.g. typing =E2=80=98C-M-s ^\=E2=80=99 and then =E2=80=98\|=E2=80= =99 moves point back to the beginning >> of the search. But wouldn't this make the search too =E2=80=9Cjumpy=E2= =80=9D, especially >> while typing long words? > > My use case of isearch-word is mainly short words, e.g. variable names > such as f in f(x) in latex. I'd guess that's a pretty common pattern. > Even for long words, I think an user would type a word quickly, and be > confused that their first match is not really a match. That offsets the > potential jumpiness (ie what happens when the user is typing the word) > for me. You can try yourself using the minimal patch below that demonstrates your= idea. But from what I see, it's not too good, using the recipe from your top po= st: emacs -Q M-< M-s w i After typing the letter =E2=80=9Ci=E2=80=9D, isearch fails, beeps, flashe= s the screen, with a clear indication that something went wrong. This is more confusin= g for a user, because now a user has to stop and think about what is wrong. Here is the patch to help seeing this in action: diff --git a/lisp/isearch.el b/lisp/isearch.el index 5c48c30..85b9365 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1616,6 +1616,7 @@ (defun word-search-regexp (string &optional lax) =20 Used in `word-search-forward', `word-search-backward', `word-search-forward-lax', `word-search-backward-lax'." + (setq lax nil) (cond ((equal string "") "") ((string-match-p "\\`\\W+\\'" string) "\\W+") @@ -2465,6 +2466,11 @@ (defun isearch-process-search-char (char &optional= count) ;; } and | are special in regexps when preceded by \. ;; Nothing special for + because it matches at least once. (cond + ((eq isearch-regexp-function t) + (goto-char isearch-barrier) + (setq isearch-other-end isearch-barrier + isearch-success t + isearch-error nil)) ((memq char '(?* ??)) (isearch-fallback nil)) ((eq char ?\}) (isearch-fallback t t)) ((eq char ?|) (isearch-fallback t nil t))) From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2017 03:29: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: To: Juri Linkov Cc: 25562@debbugs.gnu.org, antoine.levitt@gmail.com Reply-To: Eli Zaretskii Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.14858333403512 (code B ref 25562); Tue, 31 Jan 2017 03:29:02 +0000 Received: (at 25562) by debbugs.gnu.org; 31 Jan 2017 03:29:00 +0000 Received: from localhost ([127.0.0.1]:51569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYP7s-0000uY-0K for submit@debbugs.gnu.org; Mon, 30 Jan 2017 22:29:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYP7p-0000u4-Mc for 25562@debbugs.gnu.org; Mon, 30 Jan 2017 22:28:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYP7g-0003vj-Io for 25562@debbugs.gnu.org; Mon, 30 Jan 2017 22:28:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYP7g-0003vf-FU; Mon, 30 Jan 2017 22:28:48 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4538 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cYP7e-0001de-K0; Mon, 30 Jan 2017 22:28:47 -0500 Date: Tue, 31 Jan 2017 05:28:27 +0200 Message-Id: <83o9ynx604.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <877f5cf7xk.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 31 Jan 2017 01:24:07 +0200) References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87fuk1wfri.fsf@mail.linkov.net> <87r33l7yqj.fsf@inria.fr> <877f5cf7xk.fsf@mail.linkov.net> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) > From: Juri Linkov > Date: Tue, 31 Jan 2017 01:24:07 +0200 > Cc: 25562@debbugs.gnu.org > > You can try yourself using the minimal patch below that demonstrates your idea. > > But from what I see, it's not too good, using the recipe from your top post: > > emacs -Q > M-< > M-s w > i > > After typing the letter “i”, isearch fails, beeps, flashes the screen, > with a clear indication that something went wrong. This is more confusing > for a user, because now a user has to stop and think about what is wrong. I think this is a consequence of the simple fact that "word search" and "incremental search" contradict each other: as long as "the word" was not fully specified, searching for it incrementally is not a well-defined operation. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Antoine Levitt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2017 07:58:01 +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: To: Eli Zaretskii Cc: 25562@debbugs.gnu.org, Juri Linkov Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.14858494658066 (code B ref 25562); Tue, 31 Jan 2017 07:58:01 +0000 Received: (at 25562) by debbugs.gnu.org; 31 Jan 2017 07:57:45 +0000 Received: from localhost ([127.0.0.1]:51668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYTJx-000262-4s for submit@debbugs.gnu.org; Tue, 31 Jan 2017 02:57:45 -0500 Received: from mail-oi0-f46.google.com ([209.85.218.46]:33649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYTJv-00025p-II for 25562@debbugs.gnu.org; Tue, 31 Jan 2017 02:57:43 -0500 Received: by mail-oi0-f46.google.com with SMTP id w204so210110503oiw.0 for <25562@debbugs.gnu.org>; Mon, 30 Jan 2017 23:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2d2zly2xm/RkEOjapntC/SH/y0BaBoBr5fvFds4Y+Bo=; b=faZCefCRAQtx4KA5sowHZhAm/zFx79SMfD5MaQRP1xQq0/3wYYiKjbfGCAlM65B3yW H5JknC4QoF4Pow4GsBi3LkZJDMSxo+3I2GYjFIfUXNcJ+GmIO0hUP2uSSPxHrWUIii9s kR56HeoenZMh0KF13dAdgZ8AsKeOg4ayHgT6KgSJyWYlVJQb9JuykcJuRcrPOGNQxDOi P/ntNiJzIK434xQMK70Z+K/Gq5GRYsIdl7D879nOlJz+qEJ+vBSkhzRy/f9BFotDHPgM hVaBsg5hMfElvyPt6XoUnm+/615MyXKYKwBLz4XIa8AAxR6shDsuyFAa5ReuFomyCVVE ud5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2d2zly2xm/RkEOjapntC/SH/y0BaBoBr5fvFds4Y+Bo=; b=WeHF/FvDXFXB3iW6FNfuBAfgFEePfz0/ceEoXTWOqqC9xvGLB42DDwg1NN/cF/f5rR zmt5TqItRq4cG6CeG9eePuO+Q8eq5I0RlwP2psW32JVeV4e1A2CKnsV3Z4k9Rp2CKVL2 s6Hh9xm/JYsj8qt6lAE0bn4pZ5HYAKWuollAQOlE10owp5NFsp8qmmL8a85k2gGQqN0p JIlun9gfe1ODUWEhvbisH7WPo+AoKLV66c4LniomYNBexjQ2AKy6ixllZ7N0dGS4vrRE oXqydFrtrq0sLURIPZcGdTKmgvJxDME/Vb1ocyWfPBuEC5+UJvei2CgOEbrPl0pit3fU EcBQ== X-Gm-Message-State: AIkVDXIm2j9SjofEly/XK5ew6DmPbk1dAWqPxlE/DMIEwOs6sanrKRcL2iRJG0LnMUsPWOr21ezvxf3mpi0l5A== X-Received: by 10.202.171.146 with SMTP id u140mr12983889oie.191.1485849457832; Mon, 30 Jan 2017 23:57:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.12.202 with HTTP; Mon, 30 Jan 2017 23:57:37 -0800 (PST) Received: by 10.157.12.202 with HTTP; Mon, 30 Jan 2017 23:57:37 -0800 (PST) In-Reply-To: References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87fuk1wfri.fsf@mail.linkov.net> <87r33l7yqj.fsf@inria.fr> <877f5cf7xk.fsf@mail.linkov.net> <83o9ynx604.fsf@gnu.org> From: Antoine Levitt Date: Tue, 31 Jan 2017 08:57:37 +0100 Message-ID: Content-Type: multipart/alternative; boundary=001a113c32ea1fb98705475f49fc X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a113c32ea1fb98705475f49fc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I agree it's an ill defined problem ; but then, so is isearching for foo\|bar. I disabled the beeping and screen flashing, so it doesn't bother me, but I get the point. In the end, it's mostly a matter of personal convenience. The patched behavior suits me better, and seems more consistent with the way regexp are handled. Best, Antoine On 31 Jan 2017 04:29, "Eli Zaretskii" wrote: > From: Juri Linkov > Date: Tue, 31 Jan 2017 01:24:07 +0200 > Cc: 25562@debbugs.gnu.org > > You can try yourself using the minimal patch below that demonstrates your idea. > > But from what I see, it's not too good, using the recipe from your top post: > > emacs -Q > M-< > M-s w > i > > After typing the letter =E2=80=9Ci=E2=80=9D, isearch fails, beeps, flashe= s the screen, > with a clear indication that something went wrong. This is more confusin= g > for a user, because now a user has to stop and think about what is wrong. I think this is a consequence of the simple fact that "word search" and "incremental search" contradict each other: as long as "the word" was not fully specified, searching for it incrementally is not a well-defined operation. --001a113c32ea1fb98705475f49fc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I agree it's an ill defined problem ; but then, = so is isearching for foo\|bar.

I disabled the beeping and screen flashing, so it doesn't bother me, b= ut I get the point.=C2=A0

In the end, it's mostly a matter of personal convenience. The patched= behavior suits me better, and seems more consistent with the way regexp ar= e handled.

Best,
Antoine=C2=A0


On 31 Jan 2017 04:29, "Eli Zaretskii" <<= a href=3D"mailto:eliz@gnu.org">eliz@gnu.org> wrote:
> From: Juri Linkov <juri@linkov.net>
> Date: Tue, 31 Jan 2017 01:24:07 +0200
> Cc: 25562@debbugs.gnu.org=
>
> You can try yourself using the minimal patch below that demonstrates y= our idea.
>
> But from what I see, it's not too good, using the recipe from your= top post:
>
> emacs -Q
> M-<
> M-s w
> i
>
> After typing the letter =E2=80=9Ci=E2=80=9D, isearch fails, beeps, fla= shes the screen,
> with a clear indication that something went wrong.=C2=A0 This is more = confusing
> for a user, because now a user has to stop and think about what is wro= ng.

I think this is a consequence of the simple fact that "word sear= ch"
and "incremental search" contradict each other: as long as "= the word"
was not fully specified, searching for it incrementally is not a
well-defined operation.

--001a113c32ea1fb98705475f49fc-- From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2017 15:40: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: To: Antoine Levitt Cc: 25562@debbugs.gnu.org, juri@linkov.net Reply-To: Eli Zaretskii Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148587716024132 (code B ref 25562); Tue, 31 Jan 2017 15:40:02 +0000 Received: (at 25562) by debbugs.gnu.org; 31 Jan 2017 15:39:20 +0000 Received: from localhost ([127.0.0.1]:52377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYaWd-0006HA-Ti for submit@debbugs.gnu.org; Tue, 31 Jan 2017 10:39:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYaWb-0006Gu-OK for 25562@debbugs.gnu.org; Tue, 31 Jan 2017 10:39:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYaWR-0006SQ-VU for 25562@debbugs.gnu.org; Tue, 31 Jan 2017 10:39:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYaWR-0006SL-Rs; Tue, 31 Jan 2017 10:39:07 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4908 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cYaWQ-0002Oj-TQ; Tue, 31 Jan 2017 10:39:07 -0500 Date: Tue, 31 Jan 2017 17:38:46 +0200 Message-Id: <83h94fw86x.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Antoine Levitt on Tue, 31 Jan 2017 08:57:37 +0100) References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87fuk1wfri.fsf@mail.linkov.net> <87r33l7yqj.fsf@inria.fr> <877f5cf7xk.fsf@mail.linkov.net> <83o9ynx604.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Antoine Levitt > Date: Tue, 31 Jan 2017 08:57:37 +0100 > Cc: Juri Linkov , 25562@debbugs.gnu.org > > I agree it's an ill defined problem ; but then, so is isearching for foo\|bar. > > I disabled the beeping and screen flashing, so it doesn't bother me, but I get the point. > > In the end, it's mostly a matter of personal convenience. The patched behavior suits me better, and seems > more consistent with the way regexp are handled. Did you try typing RET right after "C-s M-s w", then typing the word to search, and then typing "C-s C-s" again to repeat that? This might be better suited to your needs, I think, and it doesn't require any changes. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2017 16:46: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: To: Antoine Levitt Cc: 25562@debbugs.gnu.org, Juri Linkov Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148588112031514 (code B ref 25562); Tue, 31 Jan 2017 16:46:02 +0000 Received: (at 25562) by debbugs.gnu.org; 31 Jan 2017 16:45:20 +0000 Received: from localhost ([127.0.0.1]:52451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYbYW-0008Bw-Fv for submit@debbugs.gnu.org; Tue, 31 Jan 2017 11:45:20 -0500 Received: from mout.web.de ([212.227.15.3]:55387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYbYU-00084R-Ru for 25562@debbugs.gnu.org; Tue, 31 Jan 2017 11:45:19 -0500 Received: from drachen.dragon ([92.74.166.229]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Ljron-1c1je00qBF-00bt0k; Tue, 31 Jan 2017 17:45:09 +0100 From: Michael Heerdegen References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> Date: Tue, 31 Jan 2017 17:45:08 +0100 In-Reply-To: (Antoine Levitt's message of "Sun, 29 Jan 2017 07:52:38 +0100") Message-ID: <87mve7p4a3.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:wIRuKg47CXwDlYO+Lt3EB2gE8NVyge9IsCJLtJ+oGClXo9kSdNz ZZxIX4N4rmQNZ2Q/W/BDCe4+lrvVZ4ZN9PndXWQS/5cBI9qL8CqvQv3m+h3dy1txKxKsN5A iUw7pF+LJ0uNONnVt71Y3aAXFff2Q4YSZ85zDpz09Sztw7bzdYi7I61BXPBUVWxIT0AZ4IK bYuOUOlnviFbw/E55yB9A== X-UI-Out-Filterresults: notjunk:1;V01:K0:FQwxMs4fEks=:n5+5SOqDIZhnIQdTSjcadP mvbUleNls1hm7saPNulBcPD+KweEpwNPJNJP/L0rshqDN61U9wV3KOw0HoFiLjGobLDs/P/Fz uf1pq1BidkTm91/mKZ+SPGES/aOgyemp8LT2IAi4Q/AmI1Oqal20+ntqAhbQEO5dvK31DaP0j +pyKr6EuT0E7T+a1mmqZduizAL+vz2NR4kReiT1qThhS3t1QaHJRQQOQrN7AuFUL4JO81F+3G wXJJwhodSGejx7ckmEmo+paN7/QuLxqZcAhZ69nuPaCMM1PyiHKsVP2084sCsS8mMTWeMlEj7 W9Ty14juchVZViwpKI/oYmbkZFp4+eQw+SyWnis01rrVjUrUN9Z9x8zZ/kHuJTAArFvreCIxC oP3NrSNzDTBCfOApw2S2bWjERh3OJFoEEWD1zoEWTKGqpnqphDaj09z8JLGS8KOLTPosGcvux wIyQhPmLyoZeH+Fg6mWJ5AmOUyjX8FLkUQ5WHjatN4r4Fe3qtp7w0Yufa+TYTO6sMISGpps3o mSnSW8dlDpmHwufU7dJoaAu9lTNCOkqbunpU74TWnVgQ+5HGBUgz1UwW46LgzMlmAPw/tnKdj UP6Nda1bCAND20uBrJ0Lto6Uy1U27usxqOpB5NNKJ1JUCLNj92EG+7EwP2h5BpYbP3gPYBd5e LgtqZi2AiCDSiHWuofNtwDcr/UWQPEWtH6jCV1+usUj0IqCzjRRG0gTzHI4l3XBmBhgi0XVcE KGZk2UMQPxGpJH+H3A0Tehu+vjoEyiFMZoCe4Qrsqu0Gt8UR7gwJLcgHA2tWsj2jk5O3viMQD VSS0UHc X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Antoine Levitt writes: > I see, thanks for the explanation. That's still unsatisfactory to > me. I think an ideal incremental word search would just start over > from the current point each time a new character is typed (that's what > most users would expect). It's what I had expected, too. But after I had tried it, I changed my mind. AFAIR I was especially annoyed that i could not anymore use C-w to extend the search string because isearch did not go to partial matches any more. Michael. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2017 16:52: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: To: Juri Linkov Cc: 25562@debbugs.gnu.org, Antoine Levitt Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.14858815145073 (code B ref 25562); Tue, 31 Jan 2017 16:52:02 +0000 Received: (at 25562) by debbugs.gnu.org; 31 Jan 2017 16:51:54 +0000 Received: from localhost ([127.0.0.1]:52461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYber-0001Jl-Sa for submit@debbugs.gnu.org; Tue, 31 Jan 2017 11:51:54 -0500 Received: from mout.web.de ([217.72.192.78]:52604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYbeq-0001JU-5v for 25562@debbugs.gnu.org; Tue, 31 Jan 2017 11:51:52 -0500 Received: from drachen.dragon ([92.74.166.229]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LgYSP-1c56Oe25qP-00nvq9; Tue, 31 Jan 2017 17:51:41 +0100 From: Michael Heerdegen References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> Date: Tue, 31 Jan 2017 17:51:39 +0100 In-Reply-To: <87mvea3feg.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 29 Jan 2017 02:29:03 +0200") Message-ID: <87h94fp3z8.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:qUXnC/oh+1Z/TMeXhEUwsYTHKiXX8gNDv/ym+2u/2qPQw4t8Eb2 bnX/2O5AvFzFJCnG9HoRdkc/AAXuRtMOCldcdehBcu05piI9VP/RYD3qW76FiyKGacAamdk KNzvdc7sqErie4IRfuojC4VYNcKkWEtCAtwXirNXOe7fMb/9W/NtA8Hub1bShaa0exTUf9J amzolqFyXbzmaDhLYP4GA== X-UI-Out-Filterresults: notjunk:1;V01:K0:VQXHNX8vvR8=:JSbqhz2AP9mfpsEARgmT87 PgkNZpTKmg49vfoHsB0MedMwf4zRz2PQJQHgyPYEGOAHmeCpCz1N17dkjs1mjVYJo8aZlL2Pw kebYzT25WVbAqhFP33YuRmzL5RG0HG4NLp4KH5rvQ5pDtKJ11wfKQUfSLucq/pOkSrRnGUQZ0 u4Z4A+SAJBVZ/DA7fvU+S7zohpc3FXlTdqvE48o+cG1EMX7nbm0z0LGowlaUQgCSP0J/Fdpvu ADlASsWaVyFGoy2KoaPL0xRrGDRL2kGbHDBUWyFzX0vPEIyM4Pk+95MyIhaxNnVmJjvewZ2g5 zB2KSW3e2jKqTD/ZIZCP21PWfaX7wrgL6BvLxLujlrMbJhOr4xZ8A9bVH/EEdXuxlMyWKGhYR gqGBBSZF7a1jRXw+pV9Rz1UOTrQQcU+3I8Tg6CeVJWsgpmrNmhEp1Z6NC9QvYIFOY+SGROqS2 QhhJapaDaohpl2gRwQVq+vjaLyKTqnW6V2AylRZ8eG5SDHVfiLDPlQ/hOCTTtPbf5tR0oqddv Sid5iwb4m/bKNjiKSO4+lHMRVPkNQ/wa1EWJKeTNGdTxEhDAMHh0VE9GLf7tXm58G2OiRtC3R n65IV3LmfhJ8FJg5oiWEkaZ4Ab2htv4J7IK/HxVH3oVtuwafti5gnQIqm/dh8lT7hXpy1oDny RG4ZjrOegvKNhSCORw3VyU0hGtRa8fPBGOg369qB3EjiKgT+U4dI50258rB0ukevFjrMCRsyZ nwNA6/nIwgour3V2qIYTX20WvP6eTaBdjFTwGRZsSdkmjwxOms9my89pNyw01HlGZBOcEPisO F8dodwX X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Juri Linkov writes: > merge 22589 25562 > thanks AFAIK you didn't yet make the change so that the lax matching state is recognizable from the prompt. No hurry, but I think this report shows that the current behavior is at first surprising to users. Maybe even a stronger term than your suggested "Pending" would be appropriate. Thanks, Michael. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Feb 2017 00:49:01 +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: To: Michael Heerdegen Cc: 25562@debbugs.gnu.org, Antoine Levitt Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.14859101128748 (code B ref 25562); Wed, 01 Feb 2017 00:49:01 +0000 Received: (at 25562) by debbugs.gnu.org; 1 Feb 2017 00:48:32 +0000 Received: from localhost ([127.0.0.1]:52673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYj67-0002H2-Ux for submit@debbugs.gnu.org; Tue, 31 Jan 2017 19:48:32 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:40695 helo=homiemail-a76.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYj64-0002Gg-Rm for 25562@debbugs.gnu.org; Tue, 31 Jan 2017 19:48:29 -0500 Received: from homiemail-a76.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a76.g.dreamhost.com (Postfix) with ESMTP id 40D6E45807B; Tue, 31 Jan 2017 16:48:28 -0800 (PST) Received: from localhost.linkov.net (m213-102-76-140.cust.tele2.ee [213.102.76.140]) (Authenticated sender: jurta@jurta.org) by homiemail-a76.g.dreamhost.com (Postfix) with ESMTPA id 3DF8B458071; Tue, 31 Jan 2017 16:48:27 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87h94fp3z8.fsf@drachen> Date: Wed, 01 Feb 2017 02:38:16 +0200 In-Reply-To: <87h94fp3z8.fsf@drachen> (Michael Heerdegen's message of "Tue, 31 Jan 2017 17:51:39 +0100") Message-ID: <877f5avj7r.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) >> merge 22589 25562 >> thanks > > AFAIK you didn't yet make the change so that the lax matching state is > recognizable from the prompt. No hurry, but I think this report shows > that the current behavior is at first surprising to users. Maybe even a > stronger term than your suggested "Pending" would be appropriate. Thanks for confirming that it would be a good solution. We are already using "Pending" indication in the search prompt in other places to show that the search is not yet fully accepted. This could do the same for word search as well: diff --git a/lisp/isearch.el b/lisp/isearch.el index 5c48c30..3c9dff1 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -2741,6 +2747,8 @@ (defun isearch-search-fun-default () (if isearch-forward #'re-search-forward #'re-search-backward) (cond (isearch-regexp-function (let ((lax (isearch--lax-regexp-function-p))) + (when lax + (setq isearch-adjusted t)) (if (functionp isearch-regexp-function) (funcall isearch-regexp-function string lax) (word-search-regexp string lax)))) From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Feb 2017 00:49: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: To: Eli Zaretskii Cc: 25562@debbugs.gnu.org, Antoine Levitt Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.14859101148757 (code B ref 25562); Wed, 01 Feb 2017 00:49:02 +0000 Received: (at 25562) by debbugs.gnu.org; 1 Feb 2017 00:48:34 +0000 Received: from localhost ([127.0.0.1]:52675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYj6A-0002HB-60 for submit@debbugs.gnu.org; Tue, 31 Jan 2017 19:48:34 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:40702 helo=homiemail-a76.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYj67-0002Gv-9y for 25562@debbugs.gnu.org; Tue, 31 Jan 2017 19:48:31 -0500 Received: from homiemail-a76.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a76.g.dreamhost.com (Postfix) with ESMTP id AF34E45807B; Tue, 31 Jan 2017 16:48:30 -0800 (PST) Received: from localhost.linkov.net (m213-102-76-140.cust.tele2.ee [213.102.76.140]) (Authenticated sender: jurta@jurta.org) by homiemail-a76.g.dreamhost.com (Postfix) with ESMTPA id A893B458071; Tue, 31 Jan 2017 16:48:29 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87fuk1wfri.fsf@mail.linkov.net> <87r33l7yqj.fsf@inria.fr> <877f5cf7xk.fsf@mail.linkov.net> <83o9ynx604.fsf@gnu.org> <83h94fw86x.fsf@gnu.org> Date: Wed, 01 Feb 2017 02:44:36 +0200 In-Reply-To: <83h94fw86x.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Jan 2017 17:38:46 +0200") Message-ID: <87zii6u4cr.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) >> I agree it's an ill defined problem ; but then, so is isearching for f= oo\|bar. >> >> I disabled the beeping and screen flashing, so it doesn't bother me, b= ut I get the point. >> >> In the end, it's mostly a matter of personal convenience. The patched = behavior suits me better, and seems >> more consistent with the way regexp are handled. > > Did you try typing RET right after "C-s M-s w", then typing the word > to search, and then typing "C-s C-s" again to repeat that? This might > be better suited to your needs, I think, and it doesn't require any > changes. Since incrementality of word search is not well-defined, it makes sense to type the word in non-incremental mode indeed. One problem I noticed is that it's not easy to get back to incremental mode: after typing a word in non-incremental mode =E2=80=98M-s w RET it=E2= =80=99 typing =E2=80=98C-s=E2=80=99 in the minibuffer doesn't go back to increme= ntal mode. Also =E2=80=98C-s C-s=E2=80=99 doesn't reuse the previous word search. We need to fix this. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Feb 2017 17:52:01 +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: To: Juri Linkov Cc: 25562@debbugs.gnu.org, Antoine Levitt Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148597151829630 (code B ref 25562); Wed, 01 Feb 2017 17:52:01 +0000 Received: (at 25562) by debbugs.gnu.org; 1 Feb 2017 17:51:58 +0000 Received: from localhost ([127.0.0.1]:53606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYz4Y-0007hp-0r for submit@debbugs.gnu.org; Wed, 01 Feb 2017 12:51:58 -0500 Received: from mout.web.de ([212.227.17.11]:54140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYz4W-0007hc-EY for 25562@debbugs.gnu.org; Wed, 01 Feb 2017 12:51:57 -0500 Received: from drachen.dragon ([188.98.96.108]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Ljrlt-1c2PPP1Jwv-00bwaP; Wed, 01 Feb 2017 18:51:46 +0100 From: Michael Heerdegen References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87h94fp3z8.fsf@drachen> <877f5avj7r.fsf@mail.linkov.net> Date: Wed, 01 Feb 2017 18:51:42 +0100 In-Reply-To: <877f5avj7r.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 01 Feb 2017 02:38:16 +0200") Message-ID: <87tw8dztn5.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:5vHEKI/HZ8iG1bKTB3/qBskAERpRpSuHwppnjdvixmpvSK5oBv/ arujH7ykm2bvDK/YfSFEiQLtgVmcchthJY8/ccYlNYSaEsZpj7sXKzY/N4MA2k9m9r42ig8 YhYy5YrYZOxyWPFlvRRlWLJILtZ2wwnzpm653raa4YyC3+46vrXqOuugI9HS67wkdANfaM/ NtyIqiwJ10XXu7xVhV4Xg== X-UI-Out-Filterresults: notjunk:1;V01:K0:kGZ7h6CgiCM=:TqqxurT+BJGbp/tuZ/8ZIe zvTSN4SAqMXo5keuWGY/u7I0XRK1nMtq/YiAAPJrz1dUWP1Rh8UVkgXXs3fpdJkiIwWj9EhJI u+1fyj9/ie17k/wag8vDtwKkZ392RZrcUf3SnspGBQ6QjcZ1U/zHUKbfsdxwpmbAjVhSHjfwi I0I7hyMR/Q1XicrtLyOmx87a5Da3IE8sEL5rbkKUNddxcVcc7yGx8qMjxoXkpDdjRC6STJ2pC BBo1QDi2yz3fvLdBQCJG8WJtWxlSfdSwTsjRVdFXdnTmLMWELlwFsZkM3pIoGNoDNPJpqcvRr eEKhjVKbrARYiUccvUvyqtllCW7OgD7x1TNsYc1u/6TYFvuPpkERoTaiqmAwrnhYYEHBEy8KA e4uQLMbyp11V89SRBFT64khTlkVH5mckMNDzhuPerr38+g3vXKMry/SQF9JtX9OlnvXS9hz1+ n78wVbKOWK8+shiNpopH5alZRvVbs03bpPYk/WnFeq1N+CZt7py1cIUMS4t9mEN3XPhCgxfDu ZHCmulLn+QFSO94VtxEAIaeCwfsbLm0Fx6TDASoLcHkEqqBbqv4//5lhV9exJABFhDuJw0vt3 odzwuFzq33b5Zm+FN5COLxhIIKwLmJUK+JP+gG6d7zT05XksXiOYOzPccSCddvW/83PyKdvNG VLIuAS88NDv0L9j8WcNBIxrIQ8Cb0tf1LMyFjHQWWyIPZDk5BEgoI43wV55iQ7PRs3qRhhPtc ldHdXMjDS5Revz58judK0XETrShUR+sCddpG2OxERi9xlkbDoY+LZe/yPpK0Bv9+DWri7uQ5C xiIqMzT X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Juri Linkov writes: > Thanks for confirming that it would be a good solution. We are > already using "Pending" indication in the search prompt in other > places to show that the search is not yet fully accepted. Ok, then let's just do this. > This could do the same for word search as well: > > diff --git a/lisp/isearch.el b/lisp/isearch.el > index 5c48c30..3c9dff1 100644 > --- a/lisp/isearch.el > +++ b/lisp/isearch.el > @@ -2741,6 +2747,8 @@ (defun isearch-search-fun-default () > (if isearch-forward #'re-search-forward #'re-search-backward) > (cond (isearch-regexp-function > (let ((lax (isearch--lax-regexp-function-p))) > + (when lax > + (setq isearch-adjusted t)) > (if (functionp isearch-regexp-function) > (funcall isearch-regexp-function string lax) > (word-search-regexp string lax)))) I tried it. Works as I would expect in *scratch* and dired, but hmm, not in Info (the prompt just doesn't contain "pending" there). I tried with emacs -Q, and in any buffer I started a word search and just began typing characters. BTW, a different question: when I delete characters from my input (with backspace) in a word search and then add some new characters, I somehow expected that isearch would return to that "pending" state. But I got the jumpy (nonlax) incremental search behavior instead. I don't have an opinion about that, just wanted to mention it. Regards, Michael. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Feb 2017 01:31:01 +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: To: Michael Heerdegen Cc: 25562@debbugs.gnu.org, Antoine Levitt Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148599900811619 (code B ref 25562); Thu, 02 Feb 2017 01:31:01 +0000 Received: (at 25562) by debbugs.gnu.org; 2 Feb 2017 01:30:08 +0000 Received: from localhost ([127.0.0.1]:53727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZ6Dv-00031K-N8 for submit@debbugs.gnu.org; Wed, 01 Feb 2017 20:30:08 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:51169 helo=homiemail-a11.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZ6Dt-00030O-Vi for 25562@debbugs.gnu.org; Wed, 01 Feb 2017 20:30:06 -0500 Received: from homiemail-a11.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTP id 80585314C06D; Wed, 1 Feb 2017 17:30:02 -0800 (PST) Received: from localhost.linkov.net (m91-131-77-171.cust.tele2.ee [91.131.77.171]) (Authenticated sender: jurta@jurta.org) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 6A6D1314C069; Wed, 1 Feb 2017 17:30:01 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87h94fp3z8.fsf@drachen> <877f5avj7r.fsf@mail.linkov.net> <87tw8dztn5.fsf@drachen> Date: Thu, 02 Feb 2017 02:51:08 +0200 In-Reply-To: <87tw8dztn5.fsf@drachen> (Michael Heerdegen's message of "Wed, 01 Feb 2017 18:51:42 +0100") Message-ID: <87zii52y8j.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I tried it. Works as I would expect in *scratch* and dired, but hmm, > not in Info (the prompt just doesn't contain "pending" there). I tried > with emacs -Q, and in any buffer I started a word search and just began > typing characters. Thanks for discovering the problem in Info, it will be fixed by the next = patch. It seems to work while I used it to search for the mentions of the word =E2=80=9Cpending=E2=80=9D in the Emacs manual - there is no one, so we co= uld document it in (info "(emacs) Word Search") with the second patch below. > BTW, a different question: when I delete characters from my input (with > backspace) in a word search and then add some new characters, I somehow > expected that isearch would return to that "pending" state. But I got > the jumpy (nonlax) incremental search behavior instead. I don't have a= n > opinion about that, just wanted to mention it. =E2=80=9CPending=E2=80=9D is not displayed in the prompt while deleting w= ith backspace since this state in not stored in isearch-cmds. But I see no problem because =E2=80=9Cpending=E2=80=9D appears again when you continue typing = new characters. diff --git a/lisp/info.el b/lisp/info.el index e32b6b3..3eb2021 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -2107,11 +2107,10 @@ (defun Info-isearch-search () (cond (isearch-regexp-function ;; Lax version of word search - (let ((lax (not (or isearch-nonincremental - (eq (length string) - (length (isearch--state-string - (car isearch-cmds)))))))) - (if (functionp isearch-regexp-function) + (let ((lax (isearch--lax-regexp-function-p string))) + (when lax + (setq isearch-adjusted t)) + (if (functionp isearch-regexp-function) (funcall isearch-regexp-function string lax) (word-search-regexp string lax)))) (isearch-regexp string) diff --git a/lisp/isearch.el b/lisp/isearch.el index 5c48c30..856738e 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -2718,11 +2718,11 @@ (defun isearch-search-fun () Can be changed via `isearch-search-fun-function' for special needs." (funcall (or isearch-search-fun-function 'isearch-search-fun-default))= ) =20 -(defun isearch--lax-regexp-function-p () +(defun isearch--lax-regexp-function-p (&optional string) "Non-nil if next regexp-function call should be lax." (not (or isearch-nonincremental (null (car isearch-cmds)) - (eq (length isearch-string) + (eq (length (or string isearch-string)) (length (isearch--state-string (car isearch-cmds))))))) =20 @@ -2741,6 +2741,8 @@ (defun isearch-search-fun-default () (if isearch-forward #'re-search-forward #'re-search-backward) (cond (isearch-regexp-function (let ((lax (isearch--lax-regexp-function-p))) + (when lax + (setq isearch-adjusted t)) (if (functionp isearch-regexp-function) (funcall isearch-regexp-function string lax) (word-search-regexp string lax)))) diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index b728258..1296b3b 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}. =20 The word search commands don't perform character folding, and toggling lax whitespace matching (@pxref{Lax Search, lax space From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Feb 2017 21:08:01 +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: To: Juri Linkov Cc: 25562@debbugs.gnu.org, Antoine Levitt Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148606966425782 (code B ref 25562); Thu, 02 Feb 2017 21:08:01 +0000 Received: (at 25562) by debbugs.gnu.org; 2 Feb 2017 21:07:44 +0000 Received: from localhost ([127.0.0.1]:54283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZObY-0006hm-98 for submit@debbugs.gnu.org; Thu, 02 Feb 2017 16:07:44 -0500 Received: from mout.web.de ([212.227.15.14]:53317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZObW-0006hV-OP for 25562@debbugs.gnu.org; Thu, 02 Feb 2017 16:07:43 -0500 Received: from drachen.dragon ([92.74.174.61]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MMn8x-1cXRBz2Gf1-008aoa; Thu, 02 Feb 2017 22:07:32 +0100 From: Michael Heerdegen 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> Date: Thu, 02 Feb 2017 22:07:30 +0100 In-Reply-To: <87zii52y8j.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 02 Feb 2017 02:51:08 +0200") Message-ID: <87o9yk5mjx.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:2HhpcOLSimcHQHRXNxGapgCKK21HvXC0iIpqbYLZk4VygEXWNHW bXE7CAmOzhs7BnFy5+A1w0ZMteHhd82Aa+Ug3WYW5dXpS3mYtHFuekeE9oG+A/KXrd0C7U0 mjw4sI+gMgzi58810HwHyPnP3zDy0fQuUku9oz2+CNwPUjcokm2x/MA1kqZtAo2fkzQJjBf HrwPV9K9J47/zfwPzo09g== X-UI-Out-Filterresults: notjunk:1;V01:K0:EzQt1l9B3cA=:9LdUQS14tTnivxAaSL8BhV 0nsM6IYNZnlP+wDq0wHK+bRd3WvfFLMoGh4sa/Xlekj3l9o+arXovl23ELE6XzZ4qBAwLMcRC a0gQC32cq3VEbE/jNJGIuP6KNYT9U6YiZEEuIcwnGHpAfWNT82DfcQdt41iRYp2FX1SbbeU1B eSMhtrbv14LL4boPncXkIYjsN78py2oy22Hyj0qyyi7bHOK959hlmJj6n/n04c9+s790/7wpE 2JJ1CS4UZbYz6eAUXdyqFAbQlkkK6d6piZY2VsyroaRJfdd0GCH4GGaJiZGAJdt0fueaLeWep uH7D7Hu+JHQIpHOf5KPTAlILa3cbaMAIvEEVV94NQLsu3UAP0SiDsNkCEnAegZfT/UZ1z1KzR it+BuldJ5HiM6MG52CKerVrObQ2znqnpvD4/U/fyHfqpZU2BIq1K7+76CtXxbtOA/7FoasKTv ERq0MlTAEsJgHOxVsckvP4hcacQtlvDubqC4RCUVwjr+uru3bMDvvLj2dIDjDlLv6PSXNPALE 3XBsu9uQ8EAwbJAXmRJQOWmTPgiQFwBmGf+/X+PlXcSgDdLAdzAtZAXwXYOH3soO17D/suBYd tcBWhCE++pIlOFfMIZrBZQGexc0JALtDCGmJjYedyhYNs5lLvUqVfyaKRSW+JM0nUQGXUOeUz 0sbuMpZFJiOnaFWNHg2yTDov+nhOhcEMBTw+6pvYd1GL9wwZ094XSKOEYaBp/KGeZlaz9F17R 6hwUXkpwDbYeusFh5bYbJQQvqxJjchoH4bENuTov+IDFcot5Fs4b2dB+frTmhvxWBYdMkURUM 10kuX+e X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Juri Linkov writes: > =E2=80=9CPending=E2=80=9D is not displayed in the prompt while deleting w= ith backspace > since this state in not stored in isearch-cmds. But I see no problem > because =E2=80=9Cpending=E2=80=9D appears again when you continue typing = new > characters. Indeed, it's alright, maybe I had tried with the normal (literal) search, dunno, I can't reproduce what I remembered to have seen yesterday. Michael. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2017 11:05:01 +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: To: Juri Linkov Cc: 25562@debbugs.gnu.org, Antoine Levitt Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148611985827820 (code B ref 25562); Fri, 03 Feb 2017 11:05:01 +0000 Received: (at 25562) by debbugs.gnu.org; 3 Feb 2017 11:04:18 +0000 Received: from localhost ([127.0.0.1]:54509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZbf7-0007Ee-So for submit@debbugs.gnu.org; Fri, 03 Feb 2017 06:04:18 -0500 Received: from mout.web.de ([212.227.17.11]:56893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZbf6-0007EP-Gf for 25562@debbugs.gnu.org; Fri, 03 Feb 2017 06:04:17 -0500 Received: from drachen.dragon ([92.74.181.85]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M57Vi-1cFM1Q3AJq-00zE4J; Fri, 03 Feb 2017 12:04:07 +0100 From: Michael Heerdegen 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> Date: Fri, 03 Feb 2017 12:04:05 +0100 In-Reply-To: <87zii52y8j.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 02 Feb 2017 02:51:08 +0200") Message-ID: <87k297r0wq.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:h04gZPGnm3crV6atDeYo1er3BlcA2Dpl5Tns6kkZvHnjYK5h/9Q AmXcHaANdv38V0HgxFURW131eTvPlGb6cZMvPqOYoyHHCuoxw0wdv0sxwCwZ4xqaBSvbG6z SC/qyO/67e0yN5ZyVhB6gpDwDkQVGs76h2GkPWHfb6g8VmY1xP5IDVib6RMNOx12vbtbVp4 rSbMbrsoYkdT4qOKY+zhg== X-UI-Out-Filterresults: notjunk:1;V01:K0:IUo01QzZ00U=:ZLKHqyWqKdR3t3SINqITia B/jQrPYJs9AstOiRdtmj0uhJEFbu+PzCwV4CXA6yX5oNz6S6T2MQbRMyXKnMfGrmp4XJEluhd S3eXAOgWdk2Ljf9NVbu45kIfypkyvgqlJ4ehKYcqj/+lXF6LONgvxZ1c/GJiZjW1RPsdw03M0 WxK4NMW6p+F4SRrDgDVeun6MgD5LvPWdAXvI1sS5CKZKKuZPt80dUCCLbKLAzLD5cchSf5Yy9 u4+zQWeEAr2rDFgCwrmi7Ax5IMlEE4wNWwG+gI8hisXHVD8vR4Amc6U9taqziMfcPaZaf4o+6 /NhIPy+fuuRH5WkUIjMqmDqnbtYNC6R1pOqBM/1LKaLN4d0mcx9GsUgbKz3PBElgLOoDDplnu VzfY1gcf/YvyS70gYnhZTZXNbWSxXOzCy1qLFIX8gi4azZ3diQHgSqFR2StIG/eC5mV0m/ceE JEwbf9xzvd6ceHtGMh/HvoXzkcOeHvn0Xw558mGQfIIUc033DC9CN2W21zfQGdzJymF0utPP9 mTVvmLznwKrtNoY2MU14SIoqdOE2BPQy+XXNb2622eN7bBkXUynFN17fBp6lZKhPVFoReS3rD /LgHfpyVLJYG5ORaVqBQYBeUEA8c0GcmUXxb8qL4neV74zNQKUM2FVLD632oeKeujXhKbXcvv kPIpI2XCQtwJFiAXGHEV0JSPXOnr0jtpoB9hoKRFLJYaIz42sEJ0J/m9BryIvYOZNA69nxMjf vaW/gLtPx3Ycfk0Jk3uDlhkP8kfThtYhctRe5838MDw9lSewqVkVBnD9dEEnHJOo2H+XyYV2R dsPAqWh X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Juri Linkov writes: > diff --git a/lisp/info.el b/lisp/info.el > index e32b6b3..3eb2021 100644 Works ok for me, thanks. I wonder however if we should similarly also update/improve the manual page about symbol search. In particular, this sentence seems to speak about lax matching: "In incremental symbol search, only the beginning of the search string is required to match the beginning of a symbol." but as it stands, the sentence is false - this is only true while still adding characters to the input. Thanks, Michael. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2017 13:07:01 +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: To: Michael Heerdegen Cc: antoine.levitt@gmail.com, 25562@debbugs.gnu.org, juri@linkov.net Reply-To: Eli Zaretskii Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148612720512895 (code B ref 25562); Fri, 03 Feb 2017 13:07:01 +0000 Received: (at 25562) by debbugs.gnu.org; 3 Feb 2017 13:06:45 +0000 Received: from localhost ([127.0.0.1]:54612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZdZd-0003Lv-Hy for submit@debbugs.gnu.org; Fri, 03 Feb 2017 08:06:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZdZc-0003Lj-6d for 25562@debbugs.gnu.org; Fri, 03 Feb 2017 08:06:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZdZW-0005EB-6L for 25562@debbugs.gnu.org; Fri, 03 Feb 2017 08:06:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZdZQ-00050U-2s; Fri, 03 Feb 2017 08:06:32 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3246 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cZdZO-0006fw-Ml; Fri, 03 Feb 2017 08:06:31 -0500 Date: Fri, 03 Feb 2017 15:06:11 +0200 Message-Id: <8337fvv2yk.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87k297r0wq.fsf@drachen> (message from Michael Heerdegen on Fri, 03 Feb 2017 12:04:05 +0100) 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> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Heerdegen > Date: Fri, 03 Feb 2017 12:04:05 +0100 > Cc: 25562@debbugs.gnu.org, Antoine Levitt > > "In incremental symbol search, only the beginning of the search string > is required to match the beginning of a symbol." > > but as it stands, the sentence is false - this is only true while still > adding characters to the input. "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". From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2017 14:17: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: To: Eli Zaretskii Cc: antoine.levitt@gmail.com, 25562@debbugs.gnu.org, juri@linkov.net Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148613137618810 (code B ref 25562); Fri, 03 Feb 2017 14:17:02 +0000 Received: (at 25562) by debbugs.gnu.org; 3 Feb 2017 14:16:16 +0000 Received: from localhost ([127.0.0.1]:54628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZeeu-0004tJ-Jp for submit@debbugs.gnu.org; Fri, 03 Feb 2017 09:16:16 -0500 Received: from mout.web.de ([217.72.192.78]:62669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZeet-0004t6-AA for 25562@debbugs.gnu.org; Fri, 03 Feb 2017 09:16:15 -0500 Received: from drachen.dragon ([92.216.135.217]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MCZh8-1cj2Zj2Jn8-009Lh6; Fri, 03 Feb 2017 15:16:05 +0100 From: Michael Heerdegen 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> Date: Fri, 03 Feb 2017 15:16:03 +0100 In-Reply-To: <8337fvv2yk.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 03 Feb 2017 15:06:11 +0200") Message-ID: <8737fvl5r0.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:QzXHF4MKb+6qVJhZZVkReQ9vdpDrdJylKXe/m0RPmxj6lRCqh9N T+2uaWuVCif2VfwZuJ+jenKi6o4qIlrEOrnt/0fFik7hJ4PsjN17Kzo8xFnjlsYLtZgTAcK bJSLQKAjkZJiAXL3Mmkj4gtCJm3VJ/TY4A0pB61syh0PLdw0lGFrsfXjSSWabj5aaIBLNQu dZ/+7a2EsjNWA+UkykS/g== X-UI-Out-Filterresults: notjunk:1;V01:K0:KcslLGnxB7s=:KsCqwvmykLrl8QSe8Vks6Z 8q50Zk8Ggci4KgkwLow2UzHFr2hM5Y1om/s+csIao4kw09bveJSIls61Tpxi+Qsfj3tvSBpeQ 2mGdlNYv74pCJ6lOiVkdy13baLOYJmtua/s7wWYJcVaajhE7J+LNv2uPxOjJIxJfHVOl2JCi1 HUiBOTd7oLAd/iBKcI8pCf8nMKq1MpYE2PFekTROmmgG2nPD9Dn/2hFocTZ3vsZo7zJY/I+tr AcAIRkIt6Yg+xdJEDcnLB/RTS3ZI/KZdDx1CczLw4Ew9vc2D5tEx8P0t6w4DTMvySJ9yJ+KdP e8EelaZAEfu3oG7Co8wKVROxx2WcIsE22h4NDa1dNX6OlnFX8abNHbyqTk9IeVkJQ0lay8FIf GtFULSu+aAl2lDRMhisqg8dfanyh3QQmF/c4+Pu2PJMf1fTPUjuoJCV26XlWFhH1sArEGzdQ2 EgUtoTeuFbtc1KpMq/4ptJs90E6OEqh+VbzHtyGDSQsh+T16W6TpYAdXbY9ny6w8f1WnxiNeE RIzUbXSjUa4qLjftjtudnFUamGkRdOyWJ4h2iYiuyxaU55ypU4q1NxtvMIxfEV86rhRIgG1bD xGqkxbapuZpxRyMIzlbuYQbl4UrhbzWUTn7x5wDlKzcz3kfRChC1OHcj4pbwjAiAwb/48d62z jsl5OFGk29yWkxfaX3qOVd3bLi0exiwzTL4dHtbEcLETkqntmmobBrEFx36c+F5ONzwh3mBF4 4LLMx0OTexlwZYXuoUx5j91NJxfJaNZ2OnfwhGzEG+Yuw7cK8dbVcGSHO24vJCFvr9HaP3nRc 2Kn+wGi X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) Eli Zaretskii writes: > "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. Michael. From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word 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: To: Michael Heerdegen Cc: Eli Zaretskii , 25562@debbugs.gnu.org, antoine.levitt@gmail.com Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.14863387912756 (code B ref 25562); Sun, 05 Feb 2017 23:54:02 +0000 Received: (at 25562) by debbugs.gnu.org; 5 Feb 2017 23:53:11 +0000 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 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 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) 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) From: Juri Linkov Organization: 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> Date: Mon, 06 Feb 2017 01:48:21 +0200 In-Reply-To: <8737fvl5r0.fsf@drachen> (Michael Heerdegen's message of "Fri, 03 Feb 2017 15:16:03 +0100") Message-ID: <877f54td16.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) >> "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 From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Feb 2017 20:03:01 +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: To: Juri Linkov Cc: 25562@debbugs.gnu.org, antoine.levitt@gmail.com Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.14864977666637 (code B ref 25562); Tue, 07 Feb 2017 20:03:01 +0000 Received: (at 25562) by debbugs.gnu.org; 7 Feb 2017 20:02:46 +0000 Received: from localhost ([127.0.0.1]:59303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbByQ-0001iy-0X for submit@debbugs.gnu.org; Tue, 07 Feb 2017 15:02:46 -0500 Received: from mout.web.de ([212.227.17.12]:51834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbByO-0001ii-1t for 25562@debbugs.gnu.org; Tue, 07 Feb 2017 15:02:44 -0500 Received: from drachen.dragon ([88.67.111.141]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Llna8-1c28CY13hI-00ZSQB; Tue, 07 Feb 2017 21:02:34 +0100 From: Michael Heerdegen 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> <877f54td16.fsf@mail.linkov.net> Date: Tue, 07 Feb 2017 21:02:32 +0100 In-Reply-To: <877f54td16.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 06 Feb 2017 01:48:21 +0200") Message-ID: <87a89xydk7.fsf@drachen> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:/kpjnev7+PxNG4J1Sp9/vvVk0ltcOwpDkgBOSdtGZ+5WOqKMzVL hFhLCv1rBa49KuMQDeDUH3X5wD876vBWtXcrR/qzPpu66uC6jPoqYzc5V+HF4WLqLfJSPnu klU+iBr1voL1u7cytoN9PAp6/LYfj2H8eE+Gv8yXFqprXuHpzfBCa2cWYi6r3yTA5ViH2AX eQrxDLE673HUqSJEXXhng== X-UI-Out-Filterresults: notjunk:1;V01:K0:KFLnTts3XJo=:7nJL4rRnWxWg5TNNcnVmwq y+QrzrSicGiOSg3f8mOCo+zzYCwEVRxTn9H7i78vkUYFNoKkC1LhV9NHDvkuFfNN97ycY8acU duQNfTCIYdNsU1e9iAKUoZ39Bs8IjvwrYSPNDc1YvGM3K60wjIFriLn8954j6chgRV2pRcH7q yNYF8XU6M3DVZsCDfZpq3nv/w0OvfMgB7beTYjqKvi+EGQi4Ngo/m/tKSmxbFPL7Jh6v7axin qygJTIJyquKxSVraMxQWRD4Kt21TYvB4IFTCyPucjNX+39pwGmgcqzVmJnrwXu1ct+fZqKlgq 7GmgKL9QIWnm4BevzA150X8uM853C3osnyO0njKlCeM112MBxsRrV6izS2uq5eiIYdmt/e/nr dU6s3bIKr66G0261pXS0Af674RDNx7sR8XvKwrVRd7I9JRk8ZnD8TLEGbMBlBGG6Nw6lTZ5Bg scE4T96SClxxwMviAOkjv/Tsoa0ZQeA9AEi9UUG+DGS3jA+XOHo+dLYWj7hbxwOigw/cpJLt5 +uTHyiQNOHS9DFyG1jVjPiDAOUsCHqD7QYBac8hsUIBy/B0L6TzMEmjTs2Eehzk+LwCstU4x8 Yz4CR71B+RxD4KQsBVhTF+7CPD4QxIlNZfHRTTY1itNdmVtq18RJdq32R3nTPYKQAj1yQDUjg ZuFLBPyBAEwx9FKFpvVxxU149PQL49+rUllgMZCoZXo02ARWnTxVEtPM+d/kQavZaA0cjwaM4 lOCWLcIRe0h610dwZK+aW6sts3MH7S8/D1oiCYN+MpQcNkp41Ltx9eL8rXRELVT2+sPCxcoHa gXEzTu3 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Juri Linkov writes: > Thanks for the suggestion. What do you think about this? Seems appropriate. > -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}. Should we maybe replace the comma with "and" to make clear that those two parts (lax matching behavior and "Pending" in the prompt) refer exactly to the same situation? Michael. From unknown Fri Jun 20 07:29:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Antoine Levitt Subject: bug#25562: closed (Re: bug#25562: 25.1; isearch-forward-word first matches a non-word) Message-ID: References: <874m03ouuo.fsf@localhost> <87r33njun7.fsf@inria.fr> X-Gnu-PR-Message: they-closed 25562 X-Gnu-PR-Package: emacs Reply-To: 25562@debbugs.gnu.org Date: Thu, 09 Feb 2017 22:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1486679822-9880-1" This is a multi-part message in MIME format... ------------=_1486679822-9880-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25562: 25.1; isearch-forward-word first matches a non-word which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 25562@debbugs.gnu.org. --=20 25562: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25562 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1486679822-9880-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25562-done) by debbugs.gnu.org; 9 Feb 2017 22:36:35 +0000 Received: from localhost ([127.0.0.1]:33547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbxKN-0002Yi-1E for submit@debbugs.gnu.org; Thu, 09 Feb 2017 17:36:35 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:45852 helo=homiemail-a18.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbxKL-0002YY-FC for 25562-done@debbugs.gnu.org; Thu, 09 Feb 2017 17:36:33 -0500 Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id 1A8A6258066; Thu, 9 Feb 2017 14:36:30 -0800 (PST) Received: from localhost.linkov.net (m83-180-111-97.cust.tele2.ee [83.180.111.97]) (Authenticated sender: jurta@jurta.org) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id 41D50258065; Thu, 9 Feb 2017 14:36:29 -0800 (PST) From: Juri Linkov To: Michael Heerdegen Subject: Re: bug#25562: 25.1; isearch-forward-word first matches a non-word Organization: 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> <877f54td16.fsf@mail.linkov.net> <87a89xydk7.fsf@drachen> Date: Fri, 10 Feb 2017 00:35:59 +0200 In-Reply-To: <87a89xydk7.fsf@drachen> (Michael Heerdegen's message of "Tue, 07 Feb 2017 21:02:32 +0100") Message-ID: <874m03ouuo.fsf@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25562-done Cc: 25562-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> -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}. > > Should we maybe replace the comma with "and" to make clear that those > two parts (lax matching behavior and "Pending" in the prompt) refer > exactly to the same situation? Thanks for the help, now installed and closed. ------------=_1486679822-9880-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Jan 2017 11:23:25 +0000 Received: from localhost ([127.0.0.1]:48821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXR6K-00089L-Vw for submit@debbugs.gnu.org; Sat, 28 Jan 2017 06:23:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXR6J-00089A-OU for submit@debbugs.gnu.org; Sat, 28 Jan 2017 06:23:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXR6E-0007Is-0W for submit@debbugs.gnu.org; Sat, 28 Jan 2017 06:23:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53187) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cXR6D-0007Il-TZ for submit@debbugs.gnu.org; Sat, 28 Jan 2017 06:23:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXR6C-0003JO-VC for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 06:23:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXR69-0007IO-Sf for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 06:23:16 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:35317) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXR69-0007ID-MV for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2017 06:23:13 -0500 Received: by mail-wm0-x22b.google.com with SMTP id r126so150833309wmr.0 for ; Sat, 28 Jan 2017 03:23:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=B5r38lMBOXG6MCYCB07d88Zvqlpt5u8ki8OFOWY4pnk=; b=KO63zH0YOVg5/9Q9tGNV+PqcSVNtEMUdxHHV8rXtsA4LWAEh5DeJeJvpMWGKYswlN5 kjpq1HLKtzCyeDKMUpVbAs7n1c0rb4cXNlfdzSrclLp+ZFByf2gpxUEgMhh5C/MOu7VB yHtJsNANmP2U++p/jS3t+5Nl8rA7vHakS14/IFN4jlRxdgzu+9+nTwvN6oxmdt7chLn9 5PGib9alMQg8CcHvbZIk2kSCZ9MzI3kbk/j+ewWrrJ9aqshxIbe448rV424hr28zuGFE OcXxz6CfCEFOjh59xma0sguVXD3Eb6utIbITtXSG0roQALbaZXhoK1AIWJ6IpTvHp9G/ gR4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=B5r38lMBOXG6MCYCB07d88Zvqlpt5u8ki8OFOWY4pnk=; b=PD+D5Jr+7xOYNcrxWtrF+KFzJ4FVGVJrrH/zv2ftbPkdhh9cOI3GtYQUALWZ0hd6MZ p8hVtxZVfncPmKDKIuFLTiSoVehFfXT8/o/qNq4aRNcSLF+sLHCKNHa9JUbzaugTb9RT HXXGEq33ArcV1cXzbH9HVag3j/ESgTKPknap3oK+cbW8xazWwMX5jeQ3ktC0QB601UUF ySZrLHeFcKR2HWgTUk5/e74tePSpOtyjGbhmJ6MgBzSOl6Y26OrM+CDIlfwF/TbOv9WH LK+zxXO651eCnhbzPl3U1wvGVgoUpUWxifIZazj9opqkEIWB3+IY0ET4c7h/+tKLjvzN n+dg== X-Gm-Message-State: AIkVDXJ5NExfRO26X5+LEWt/svWD3kWA+T7y1bemyo+6NaF8pA5Erk9Mk3WsEoMKG6f4YA== X-Received: by 10.28.41.1 with SMTP id p1mr1704505wmp.59.1485602590733; Sat, 28 Jan 2017 03:23:10 -0800 (PST) Received: from epsilon (arkoon.centredepathologie.com. [109.203.69.18]) by smtp.gmail.com with ESMTPSA id t123sm8425144wmt.8.2017.01.28.03.23.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jan 2017 03:23:09 -0800 (PST) User-agent: mu4e 0.9.17; emacs 25.1.1 From: Antoine Levitt To: bug-gnu-emacs@gnu.org Subject: 25.1; isearch-forward-word first matches a non-word Date: Sat, 28 Jan 2017 12:23:08 +0100 Message-ID: <87r33njun7.fsf@inria.fr> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) emacs -Q M-< M-s w it see that the "it" of "visit" is matched, and should not be. Subsequent C-s fix this. Best, Antoine ------------=_1486679822-9880-1-- From unknown Fri Jun 20 07:29:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Bastian Beischer Subject: bug#22589: closed (Re: bug#25562: 25.1; isearch-forward-word first matches a non-word) Message-ID: References: <874m03ouuo.fsf@localhost> <87zivc45j5.fsf@gmail.com> X-Gnu-PR-Message: they-closed 22589 X-Gnu-PR-Package: emacs Reply-To: 22589@debbugs.gnu.org Date: Thu, 09 Feb 2017 22:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1486679822-9880-3" This is a multi-part message in MIME format... ------------=_1486679822-9880-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #25562: 25.0.90; First match found by isearch-forward-symbol is not necessa= rily a symbol. which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22589@debbugs.gnu.org. --=20 25562: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25562 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1486679822-9880-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 25562-done) by debbugs.gnu.org; 9 Feb 2017 22:36:35 +0000 Received: from localhost ([127.0.0.1]:33547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbxKN-0002Yi-1E for submit@debbugs.gnu.org; Thu, 09 Feb 2017 17:36:35 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:45852 helo=homiemail-a18.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbxKL-0002YY-FC for 25562-done@debbugs.gnu.org; Thu, 09 Feb 2017 17:36:33 -0500 Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id 1A8A6258066; Thu, 9 Feb 2017 14:36:30 -0800 (PST) Received: from localhost.linkov.net (m83-180-111-97.cust.tele2.ee [83.180.111.97]) (Authenticated sender: jurta@jurta.org) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id 41D50258065; Thu, 9 Feb 2017 14:36:29 -0800 (PST) From: Juri Linkov To: Michael Heerdegen Subject: Re: bug#25562: 25.1; isearch-forward-word first matches a non-word Organization: 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> <877f54td16.fsf@mail.linkov.net> <87a89xydk7.fsf@drachen> Date: Fri, 10 Feb 2017 00:35:59 +0200 In-Reply-To: <87a89xydk7.fsf@drachen> (Michael Heerdegen's message of "Tue, 07 Feb 2017 21:02:32 +0100") Message-ID: <874m03ouuo.fsf@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25562-done Cc: 25562-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> -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}. > > Should we maybe replace the comma with "and" to make clear that those > two parts (lax matching behavior and "Pending" in the prompt) refer > exactly to the same situation? Thanks for the help, now installed and closed. ------------=_1486679822-9880-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Feb 2016 22:41:44 +0000 Received: from localhost ([127.0.0.1]:37682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSY1X-0005Va-Fs for submit@debbugs.gnu.org; Sun, 07 Feb 2016 17:41:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59707) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSW9g-0007sC-Oy for submit@debbugs.gnu.org; Sun, 07 Feb 2016 15:42:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSW9Y-0000VU-Rd for submit@debbugs.gnu.org; Sun, 07 Feb 2016 15:41:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW9Y-0000VO-Oh for submit@debbugs.gnu.org; Sun, 07 Feb 2016 15:41:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW9V-0007lT-St for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 15:41:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSW9S-0000UG-JG for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 15:41:49 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:38470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSW9S-0000UA-41 for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 15:41:46 -0500 Received: by mail-wm0-x22e.google.com with SMTP id p63so91827985wmp.1 for ; Sun, 07 Feb 2016 12:41:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=v7m1hmvN2+D051dEPMOUWkNxjgScQQ2JYuikf1u6Eoo=; b=NcD8ztAJCNziGm0GWqdJvBUTp0v3kNR4BQdLTK75EgKAMNJb+TW/95ogslzXE8c0fe 60Uzt1kolKHiOJcOxzRIHAzpm97LgVNJVycHEm60wzVjPC/goDfoQ0vRrblD5+8pZgId 4T9Z1AH3LWgB6Ve9NKsvX6zO4WzFkNbloiV5YRNViqCP4Mc4D5vCK58KgY1EVe44me9S vsrAUfU/0ZZXtyEzIt3nTDkViPVnlmfhhW8pse8p+ovOb2QD16u2j2kdjgUZbx9pLbeQ 7927nruMka5DUPQTJQZxH9jYAL0rZ6w9xhat0LP6hxMS7felFeD7FHExKUboc7ji1M6p KxpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=v7m1hmvN2+D051dEPMOUWkNxjgScQQ2JYuikf1u6Eoo=; b=M+mslO2Kx5s/ZmCktH0QiMz24aXmQ01p7vRwLqwxXdnPvo6o6mOFvtvA5+wRRMiWh6 hFq9kbRGNv6cvfHRljymO3MD60Zn5KYfJHUIMZOc8ROtszZZVSy8hCOLiOgchKvSC8hj r4JRfgv46850OVpCfZAFbySD/6dXhdk/cCqcbyPV6z7ix6n1JWVIRkrsRmKLXPBFo1U1 s3UP1QFc9QJ9gXCzLx1PgYyALgY+U0o9dW5uNBlWHm48pf+2Vazq/FmwJVH0fnFTUeMh D4O4l914o/uNKNVGzEzZwDNE0uoCgDHK4/LDZSABpGFEcb6+tCj9RMMugMIAjIDAZqEa dloQ== X-Gm-Message-State: AG10YOQ0xHpSqDuUkCTyDqVEaHn/prdyySsqUckMzQ/bjnwsMdvU3A2QV0oV9tcXQgVsKw== X-Received: by 10.28.111.10 with SMTP id k10mr38155097wmc.86.1454877705180; Sun, 07 Feb 2016 12:41:45 -0800 (PST) Received: from bastian-desktop.gmail.com (b2b-130-180-23-226.unitymedia.biz. [130.180.23.226]) by smtp.gmail.com with ESMTPSA id r10sm26303353wjz.24.2016.02.07.12.41.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Feb 2016 12:41:43 -0800 (PST) From: Bastian Beischer To: bug-gnu-emacs@gnu.org Subject: 25.0.90; First match found by isearch-forward-symbol is not necessarily a symbol. Date: Sun, 07 Feb 2016 21:41:34 +0100 Message-ID: <87zivc45j5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 07 Feb 2016 17:41:42 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Instructions to reproduce: 1) emacs -Q 2) open a new file called "test.c" 3) enter this text: int main() { int i = 0; return 0; } 4) go to the beginning of the buffer 5) hit M-s _ and search for the symbol "i" ---> The very first character in "int main" is highlighted as a match even though the first match should be "i" in "int i =0". In GNU Emacs 25.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.7) of 2016-02-07 built on bastian-desktop Repository revision: 67fcd5addcd91169f79dc5d51d0a71eb2b486aed Windowing system distributor 'The X.Org Foundation', version 11.0.11800000 Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --pdfdir=/usr/share/doc/emacs/pdf --with-sound=alsa --without-gconf --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect: whitespace-mode: t subword-mode: t ggtags-mode: t function-args-mode: t projectile-global-mode: t projectile-mode: t yas-global-mode: t yas-minor-mode: t window-numbering-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t flx-ido-mode: t ido-everywhere: t global-srecode-minor-mode: t srecode-minor-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-idle-scheduler-mode: t semantic-decoration-mode: t global-semantic-decoration-mode: t semantic-highlight-func-mode: t global-semantic-highlight-func-mode: t semantic-stickyfunc-mode: t global-semantic-stickyfunc-mode: t semantic-show-parser-state-mode: t global-semantic-show-parser-state-mode: t semantic-mode: t global-ede-mode: t ede-minor-mode: t shell-dirtrack-mode: t show-paren-mode: t global-hi-lock-mode: t hi-lock-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t hs-minor-mode: t Recent messages: [yas] Loading for `c++-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /home/beischer/.emacs.d/snippets/c++-mode) (quote c++-mode)))! [yas] Loading snippet files from /home/beischer/.emacs.d/snippets/c++-mode [yas] Loading for `cc-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /home/beischer/.emacs.d/elpa/yasnippet-20160131.948/snippets/cc-mode) (quote cc-mode)))! [yas] Loading snippet files from /home/beischer/.emacs.d/elpa/yasnippet-20160131.948/snippets/cc-mode [yas] Loading for `cc-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /home/beischer/.emacs.d/snippets/cc-mode) (quote cc-mode)))! [yas] Loading snippet files from /home/beischer/.emacs.d/snippets/cc-mode Mark saved where search started [4 times] Quit Mark saved where search started C-c C-c is undefined Load-path shadows: /home/beischer/.emacs.d/elpa/helm-20160207.525/helm-multi-match hides /home/beischer/.emacs.d/elpa/helm-core-20160203.219/helm-multi-match /home/beischer/.emacs.d/elpa/ivy-20150331.36/ivy hides /home/beischer/.emacs.d/elpa/swiper-20160207.229/ivy /home/beischer/.emacs.d/elpa/cmake-mode-20151012.726/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs/site-lisp/various/buff-menu hides /usr/share/emacs/25.0.90/lisp/buff-menu /home/beischer/.emacs.d/elpa/org-20160201/ob-gnuplot hides /usr/share/emacs/25.0.90/lisp/org/ob-gnuplot /home/beischer/.emacs.d/elpa/org-20160201/ob-scala hides /usr/share/emacs/25.0.90/lisp/org/ob-scala /home/beischer/.emacs.d/elpa/org-20160201/org-id hides /usr/share/emacs/25.0.90/lisp/org/org-id /home/beischer/.emacs.d/elpa/org-20160201/ob-ruby hides /usr/share/emacs/25.0.90/lisp/org/ob-ruby /home/beischer/.emacs.d/elpa/org-20160201/ob-io hides /usr/share/emacs/25.0.90/lisp/org/ob-io /home/beischer/.emacs.d/elpa/org-20160201/ob-scheme hides /usr/share/emacs/25.0.90/lisp/org/ob-scheme /home/beischer/.emacs.d/elpa/org-20160201/ob-awk hides /usr/share/emacs/25.0.90/lisp/org/ob-awk /home/beischer/.emacs.d/elpa/org-20160201/org-feed hides /usr/share/emacs/25.0.90/lisp/org/org-feed /home/beischer/.emacs.d/elpa/org-20160201/org-src hides /usr/share/emacs/25.0.90/lisp/org/org-src /home/beischer/.emacs.d/elpa/org-20160201/ob-fortran hides /usr/share/emacs/25.0.90/lisp/org/ob-fortran /home/beischer/.emacs.d/elpa/org-20160201/org-element hides /usr/share/emacs/25.0.90/lisp/org/org-element /home/beischer/.emacs.d/elpa/org-20160201/ox-html hides /usr/share/emacs/25.0.90/lisp/org/ox-html /home/beischer/.emacs.d/elpa/org-20160201/org-capture hides /usr/share/emacs/25.0.90/lisp/org/org-capture /home/beischer/.emacs.d/elpa/org-20160201/ob-keys hides /usr/share/emacs/25.0.90/lisp/org/ob-keys /home/beischer/.emacs.d/elpa/org-20160201/org-w3m hides /usr/share/emacs/25.0.90/lisp/org/org-w3m /home/beischer/.emacs.d/elpa/org-20160201/org-ctags hides /usr/share/emacs/25.0.90/lisp/org/org-ctags /home/beischer/.emacs.d/elpa/org-20160201/org-bibtex hides /usr/share/emacs/25.0.90/lisp/org/org-bibtex /home/beischer/.emacs.d/elpa/org-20160201/ob-exp hides /usr/share/emacs/25.0.90/lisp/org/ob-exp /home/beischer/.emacs.d/elpa/org-20160201/ob-eval hides /usr/share/emacs/25.0.90/lisp/org/ob-eval /home/beischer/.emacs.d/elpa/org-20160201/ob-ledger hides /usr/share/emacs/25.0.90/lisp/org/ob-ledger /home/beischer/.emacs.d/elpa/org-20160201/ob-sass hides /usr/share/emacs/25.0.90/lisp/org/ob-sass /home/beischer/.emacs.d/elpa/org-20160201/org-table hides /usr/share/emacs/25.0.90/lisp/org/org-table /home/beischer/.emacs.d/elpa/org-20160201/org-mhe hides /usr/share/emacs/25.0.90/lisp/org/org-mhe /home/beischer/.emacs.d/elpa/org-20160201/ob-perl hides /usr/share/emacs/25.0.90/lisp/org/ob-perl /home/beischer/.emacs.d/elpa/org-20160201/org-rmail hides /usr/share/emacs/25.0.90/lisp/org/org-rmail /home/beischer/.emacs.d/elpa/org-20160201/ox-icalendar hides /usr/share/emacs/25.0.90/lisp/org/ox-icalendar /home/beischer/.emacs.d/elpa/org-20160201/org-macro hides /usr/share/emacs/25.0.90/lisp/org/org-macro /home/beischer/.emacs.d/elpa/org-20160201/org-docview hides /usr/share/emacs/25.0.90/lisp/org/org-docview /home/beischer/.emacs.d/elpa/org-20160201/org-bbdb hides /usr/share/emacs/25.0.90/lisp/org/org-bbdb /home/beischer/.emacs.d/elpa/org-20160201/org-footnote hides /usr/share/emacs/25.0.90/lisp/org/org-footnote /home/beischer/.emacs.d/elpa/org-20160201/ob-picolisp hides /usr/share/emacs/25.0.90/lisp/org/ob-picolisp /home/beischer/.emacs.d/elpa/org-20160201/org-attach hides /usr/share/emacs/25.0.90/lisp/org/org-attach /home/beischer/.emacs.d/elpa/org-20160201/ox-latex hides /usr/share/emacs/25.0.90/lisp/org/ox-latex /home/beischer/.emacs.d/elpa/org-20160201/org-protocol hides /usr/share/emacs/25.0.90/lisp/org/org-protocol /home/beischer/.emacs.d/elpa/org-20160201/ob-screen hides /usr/share/emacs/25.0.90/lisp/org/ob-screen /home/beischer/.emacs.d/elpa/org-20160201/org-inlinetask hides /usr/share/emacs/25.0.90/lisp/org/org-inlinetask /home/beischer/.emacs.d/elpa/org-20160201/org-loaddefs hides /usr/share/emacs/25.0.90/lisp/org/org-loaddefs /home/beischer/.emacs.d/elpa/org-20160201/org-datetree hides /usr/share/emacs/25.0.90/lisp/org/org-datetree /home/beischer/.emacs.d/elpa/org-20160201/ob-sql hides /usr/share/emacs/25.0.90/lisp/org/ob-sql /home/beischer/.emacs.d/elpa/org-20160201/ob hides /usr/share/emacs/25.0.90/lisp/org/ob /home/beischer/.emacs.d/elpa/org-20160201/org-mobile hides /usr/share/emacs/25.0.90/lisp/org/org-mobile /home/beischer/.emacs.d/elpa/org-20160201/ox-odt hides /usr/share/emacs/25.0.90/lisp/org/ox-odt /home/beischer/.emacs.d/elpa/org-20160201/org-pcomplete hides /usr/share/emacs/25.0.90/lisp/org/org-pcomplete /home/beischer/.emacs.d/elpa/org-20160201/ob-makefile hides /usr/share/emacs/25.0.90/lisp/org/ob-makefile /home/beischer/.emacs.d/elpa/org-20160201/ob-matlab hides /usr/share/emacs/25.0.90/lisp/org/ob-matlab /home/beischer/.emacs.d/elpa/org-20160201/ob-ocaml hides /usr/share/emacs/25.0.90/lisp/org/ob-ocaml /home/beischer/.emacs.d/elpa/org-20160201/ob-java hides /usr/share/emacs/25.0.90/lisp/org/ob-java /home/beischer/.emacs.d/elpa/org-20160201/org-compat hides /usr/share/emacs/25.0.90/lisp/org/org-compat /home/beischer/.emacs.d/elpa/org-20160201/org-crypt hides /usr/share/emacs/25.0.90/lisp/org/org-crypt /home/beischer/.emacs.d/elpa/org-20160201/ox-texinfo hides /usr/share/emacs/25.0.90/lisp/org/ox-texinfo /home/beischer/.emacs.d/elpa/org-20160201/ox-man hides /usr/share/emacs/25.0.90/lisp/org/ox-man /home/beischer/.emacs.d/elpa/org-20160201/ob-tangle hides /usr/share/emacs/25.0.90/lisp/org/ob-tangle /home/beischer/.emacs.d/elpa/org-20160201/ob-dot hides /usr/share/emacs/25.0.90/lisp/org/ob-dot /home/beischer/.emacs.d/elpa/org-20160201/ob-ref hides /usr/share/emacs/25.0.90/lisp/org/ob-ref /home/beischer/.emacs.d/elpa/org-20160201/org-entities hides /usr/share/emacs/25.0.90/lisp/org/org-entities /home/beischer/.emacs.d/elpa/org-20160201/ob-ditaa hides /usr/share/emacs/25.0.90/lisp/org/ob-ditaa /home/beischer/.emacs.d/elpa/org-20160201/org-gnus hides /usr/share/emacs/25.0.90/lisp/org/org-gnus /home/beischer/.emacs.d/elpa/org-20160201/org-indent hides /usr/share/emacs/25.0.90/lisp/org/org-indent /home/beischer/.emacs.d/elpa/org-20160201/ob-R hides /usr/share/emacs/25.0.90/lisp/org/ob-R /home/beischer/.emacs.d/elpa/org-20160201/ob-lilypond hides /usr/share/emacs/25.0.90/lisp/org/ob-lilypond /home/beischer/.emacs.d/elpa/org-20160201/ob-css hides /usr/share/emacs/25.0.90/lisp/org/ob-css /home/beischer/.emacs.d/elpa/org-20160201/ob-mscgen hides /usr/share/emacs/25.0.90/lisp/org/ob-mscgen /home/beischer/.emacs.d/elpa/org-20160201/ox-md hides /usr/share/emacs/25.0.90/lisp/org/ox-md /home/beischer/.emacs.d/elpa/org-20160201/org-mouse hides /usr/share/emacs/25.0.90/lisp/org/org-mouse /home/beischer/.emacs.d/elpa/org-20160201/org-install hides /usr/share/emacs/25.0.90/lisp/org/org-install /home/beischer/.emacs.d/elpa/org-20160201/ob-table hides /usr/share/emacs/25.0.90/lisp/org/ob-table /home/beischer/.emacs.d/elpa/org-20160201/ob-latex hides /usr/share/emacs/25.0.90/lisp/org/ob-latex /home/beischer/.emacs.d/elpa/org-20160201/ob-python hides /usr/share/emacs/25.0.90/lisp/org/ob-python /home/beischer/.emacs.d/elpa/org-20160201/ob-js hides /usr/share/emacs/25.0.90/lisp/org/ob-js /home/beischer/.emacs.d/elpa/org-20160201/org-faces hides /usr/share/emacs/25.0.90/lisp/org/org-faces /home/beischer/.emacs.d/elpa/org-20160201/ob-lob hides /usr/share/emacs/25.0.90/lisp/org/ob-lob /home/beischer/.emacs.d/elpa/org-20160201/ob-plantuml hides /usr/share/emacs/25.0.90/lisp/org/ob-plantuml /home/beischer/.emacs.d/elpa/org-20160201/ob-sqlite hides /usr/share/emacs/25.0.90/lisp/org/ob-sqlite /home/beischer/.emacs.d/elpa/org-20160201/ob-octave hides /usr/share/emacs/25.0.90/lisp/org/ob-octave /home/beischer/.emacs.d/elpa/org-20160201/org-archive hides /usr/share/emacs/25.0.90/lisp/org/org-archive /home/beischer/.emacs.d/elpa/org-20160201/ob-lisp hides /usr/share/emacs/25.0.90/lisp/org/ob-lisp /home/beischer/.emacs.d/elpa/org-20160201/ob-C hides /usr/share/emacs/25.0.90/lisp/org/ob-C /home/beischer/.emacs.d/elpa/org-20160201/org-agenda hides /usr/share/emacs/25.0.90/lisp/org/org-agenda /home/beischer/.emacs.d/elpa/org-20160201/org-list hides /usr/share/emacs/25.0.90/lisp/org/org-list /home/beischer/.emacs.d/elpa/org-20160201/org-irc hides /usr/share/emacs/25.0.90/lisp/org/org-irc /home/beischer/.emacs.d/elpa/org-20160201/ob-haskell hides /usr/share/emacs/25.0.90/lisp/org/ob-haskell /home/beischer/.emacs.d/elpa/org-20160201/org-timer hides /usr/share/emacs/25.0.90/lisp/org/org-timer /home/beischer/.emacs.d/elpa/org-20160201/org-plot hides /usr/share/emacs/25.0.90/lisp/org/org-plot /home/beischer/.emacs.d/elpa/org-20160201/org-habit hides /usr/share/emacs/25.0.90/lisp/org/org-habit /home/beischer/.emacs.d/elpa/org-20160201/ob-core hides /usr/share/emacs/25.0.90/lisp/org/ob-core /home/beischer/.emacs.d/elpa/org-20160201/ob-comint hides /usr/share/emacs/25.0.90/lisp/org/ob-comint /home/beischer/.emacs.d/elpa/org-20160201/ox-beamer hides /usr/share/emacs/25.0.90/lisp/org/ox-beamer /home/beischer/.emacs.d/elpa/org-20160201/org-colview hides /usr/share/emacs/25.0.90/lisp/org/org-colview /home/beischer/.emacs.d/elpa/org-20160201/ob-shen hides /usr/share/emacs/25.0.90/lisp/org/ob-shen /home/beischer/.emacs.d/elpa/org-20160201/org-macs hides /usr/share/emacs/25.0.90/lisp/org/org-macs /home/beischer/.emacs.d/elpa/org-20160201/ox-publish hides /usr/share/emacs/25.0.90/lisp/org/ox-publish /home/beischer/.emacs.d/elpa/org-20160201/ox-ascii hides /usr/share/emacs/25.0.90/lisp/org/ox-ascii /home/beischer/.emacs.d/elpa/org-20160201/ob-calc hides /usr/share/emacs/25.0.90/lisp/org/ob-calc /home/beischer/.emacs.d/elpa/org-20160201/org-eshell hides /usr/share/emacs/25.0.90/lisp/org/org-eshell /home/beischer/.emacs.d/elpa/org-20160201/ob-asymptote hides /usr/share/emacs/25.0.90/lisp/org/ob-asymptote /home/beischer/.emacs.d/elpa/org-20160201/org-clock hides /usr/share/emacs/25.0.90/lisp/org/org-clock /home/beischer/.emacs.d/elpa/org-20160201/ob-emacs-lisp hides /usr/share/emacs/25.0.90/lisp/org/ob-emacs-lisp /home/beischer/.emacs.d/elpa/org-20160201/ob-clojure hides /usr/share/emacs/25.0.90/lisp/org/ob-clojure /home/beischer/.emacs.d/elpa/org-20160201/org hides /usr/share/emacs/25.0.90/lisp/org/org /home/beischer/.emacs.d/elpa/org-20160201/ob-org hides /usr/share/emacs/25.0.90/lisp/org/ob-org /home/beischer/.emacs.d/elpa/org-20160201/ox hides /usr/share/emacs/25.0.90/lisp/org/ox /home/beischer/.emacs.d/elpa/org-20160201/org-info hides /usr/share/emacs/25.0.90/lisp/org/org-info /home/beischer/.emacs.d/elpa/org-20160201/ox-org hides /usr/share/emacs/25.0.90/lisp/org/ox-org /home/beischer/.emacs.d/elpa/org-20160201/ob-maxima hides /usr/share/emacs/25.0.90/lisp/org/ob-maxima /home/beischer/.emacs.d/elpa/org-20160201/org-version hides /usr/share/emacs/25.0.90/lisp/org/org-version /home/beischer/.emacs.d/elpa/emms-20160207.420/tq hides /usr/share/emacs/25.0.90/lisp/emacs-lisp/tq Features: (shadow mail-extr emacsbug sendmail semantic/tag-file whitespace cap-words superword subword ggtags ewoc semantic/db-file data-debug cedet-files function-args semantic-directory semantic/ia character-fold misearch multi-isearch jka-compr company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-edbi edbi sql view jedi jedi-core python-environment epc ctable concurrent deferred auto-complete popup cmake-project gist gh-gist gh-oauth gh-api logito gh-cache pcache gh-auth gh-common gh-url eieio-compat url-http tls gnutls url-auth url-gw gh-profile json map timezone emms-librefm-stream xml emms-librefm-scrobbler emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-mode-line-icon emms-player-xine emms-info-ogginfo emms-player-vlc emms-player-mplayer emms-player-mpd tq emms-tag-editor emms-mark emms-info-mp3info emms-mode-line emms-info-metaflac emms-cue emms-playing-time emms-streams emms-browser sort emms-playlist-sort emms-playlist-mode emms-source-playlist emms-last-played emms-cache emms-info later-do emms-lyrics emms-url emms-source-file locate emms-player-simple emms-setup emms emms-compat org-install tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap xml-parse doxymacs projectile ibuf-ext ibuffer dropdown-list yasnippet cl my-term term disp-table ehelp f s etags-table etags xref project cmake-mode thingatpt rx qt-pro pastebin window-numbering company magit-topgit magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode derived magit-git crm magit-section magit-utils git-commit recentf tree-widget log-edit easy-mmode message idna rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async tramp-sh server dash hide-lines buff-menu+ hideshow flx-ido flx ido seq dired-x dired srecode/mode semantic/senator semantic/wisent semantic/wisent/wisent srecode/insert srecode/filters srecode/args srecode/find srecode/map srecode/ctxt srecode/compile srecode/dictionary srecode/table semantic/db-mode srecode semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp semantic/idle semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/ctxt semantic/format semantic/decorate/include semantic/db-find semantic/db-ref semantic/db semantic/decorate/mode semantic/tag-ls semantic/find semantic/decorate pulse semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe eieio-custom wid-edit cedet cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs flymake finder-inf ack-and-a-half-autoloads tex-site dropdown-list-autoloads etags-table-autoloads helm-git-autoloads helm-git-grep-autoloads jira-autoloads logito-autoloads pastebin-autoloads pymacs-autoloads pysmell-autoloads syslog-mode-autoloads info package epg-config vc-cvs tramp tramp-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv gnus-util mm-util help-fns help-mode easymenu mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice edmacro kmacro cl-loaddefs pcase cl-lib emacs-x-theme paren grep compile comint ansi-color ring linum hi-lock cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 671947 27404) (symbols 48 53448 2) (miscs 40 246 548) (strings 32 146657 25021) (string-bytes 1 4093934) (vectors 16 78402) (vector-slots 8 1403481 16512) (floats 8 1680 128) (intervals 56 2241 6432) (buffers 976 16) (heap 1024 61004 6597)) ------------=_1486679822-9880-3-- From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Feb 2017 23:30: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: To: Eli Zaretskii Cc: 25562@debbugs.gnu.org Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148668296714626 (code B ref 25562); Thu, 09 Feb 2017 23:30:02 +0000 Received: (at 25562) by debbugs.gnu.org; 9 Feb 2017 23:29:27 +0000 Received: from localhost ([127.0.0.1]:33570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cby9W-0003nq-RX for submit@debbugs.gnu.org; Thu, 09 Feb 2017 18:29:27 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:59705 helo=homiemail-a18.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cby9U-0003nh-LH for 25562@debbugs.gnu.org; Thu, 09 Feb 2017 18:29:25 -0500 Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id C62A8258065; Thu, 9 Feb 2017 15:29:22 -0800 (PST) Received: from localhost.linkov.net (m83-180-111-97.cust.tele2.ee [83.180.111.97]) (Authenticated sender: jurta@jurta.org) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id 2E78D258062; Thu, 9 Feb 2017 15:29:21 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87fuk1wfri.fsf@mail.linkov.net> <87r33l7yqj.fsf@inria.fr> <877f5cf7xk.fsf@mail.linkov.net> <83o9ynx604.fsf@gnu.org> <83h94fw86x.fsf@gnu.org> <87zii6u4cr.fsf@mail.linkov.net> Date: Fri, 10 Feb 2017 01:28:55 +0200 In-Reply-To: <87zii6u4cr.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 01 Feb 2017 02:44:36 +0200") Message-ID: <87h943lzg8.fsf@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >>> I agree it's an ill defined problem ; but then, so is isearching for = foo\|bar. >>> >>> I disabled the beeping and screen flashing, so it doesn't bother me, = but I get the point. >>> >>> In the end, it's mostly a matter of personal convenience. The patched= behavior suits me better, and seems >>> more consistent with the way regexp are handled. >> >> Did you try typing RET right after "C-s M-s w", then typing the word >> to search, and then typing "C-s C-s" again to repeat that? This might >> be better suited to your needs, I think, and it doesn't require any >> changes. > > Since incrementality of word search is not well-defined, > it makes sense to type the word in non-incremental mode indeed. > > One problem I noticed is that it's not easy to get back to incremental > mode: after typing a word in non-incremental mode =E2=80=98M-s w RET it= =E2=80=99 > typing =E2=80=98C-s=E2=80=99 in the minibuffer doesn't go back to incre= mental mode. IIRC, it was supposed to work this way, i.e.: =E2=80=98M-s w RET it RET=E2=80=99 to quit isearch and search the word no= nincrementally, as documented in (info "(emacs) Word Search") =E2=80=98M-s w RET it C-s=E2=80=99 to enter the word and continue searchi= ng incrementally, as documented in the docstrings of =E2=80=98isearch-forward-exit-minibuff= er=E2=80=99 and =E2=80=98isearch-reverse-exit-minibuffer=E2=80=99, but at some point the = implementation deviated from its documentation. Here is the patch to restore it: diff --git a/lisp/isearch.el b/lisp/isearch.el index 4b35f25..23ca18c 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -638,6 +638,9 @@ (defvar isearch-recursive-edit nil) ;; Should isearch be terminated after doing one search? (defvar isearch-nonincremental nil) =20 +;; New value of isearch-nonincremental after isearch-edit-string. +(defvar isearch-new-nonincremental nil) + ;; New value of isearch-forward after isearch-edit-string. (defvar isearch-new-forward nil) =20 @@ -1228,7 +1231,7 @@ (defmacro with-isearch-suspended (&rest body) "Exit Isearch mode, run BODY, and reinvoke the pending search. You can update the global isearch variables by setting new values to `isearch-new-string', `isearch-new-message', `isearch-new-forward', -`isearch-new-regexp-function', `isearch-new-case-fold'." +`isearch-new-nonincremental', `isearch-new-regexp-function', `isearch-ne= w-case-fold'." ;; This code is very hairy for several reasons, explained in the code. ;; Mainly, isearch-mode must be terminated while editing and then rest= arted. ;; If there were a way to catch any change of buffer from the minibuff= er, @@ -1236,7 +1239,7 @@ (defmacro with-isearch-suspended (&rest body) ;; Editing doesn't back up the search point. Should it? `(condition-case nil (progn - (let ((isearch-nonincremental isearch-nonincremental) + (let ((isearch-new-nonincremental isearch-nonincremental) =20 ;; Locally bind all isearch global variables to protect them ;; from recursive isearching. @@ -1315,6 +1318,7 @@ (defmacro with-isearch-suspended (&rest body) (setq isearch-string isearch-new-string isearch-message isearch-new-message isearch-forward isearch-new-forward + isearch-nonincremental isearch-new-nonincremental isearch-regexp-function isearch-new-regexp-function isearch-case-fold-search isearch-new-case-fold multi-isearch-current-buffer multi-isearch-current-buffer-new @@ -1405,22 +1409,22 @@ (defun isearch-edit-string () =20 (defun isearch-nonincremental-exit-minibuffer () (interactive) - (setq isearch-nonincremental t) + (setq isearch-new-nonincremental t) (exit-minibuffer)) -;; Changing the value of `isearch-nonincremental' has no effect here, -;; because `isearch-edit-string' ignores this change. Thus marked as ob= solete. +;; It makes no sense to change the value of `isearch-new-nonincremental' +;; from nil to t during `isearch-edit-string'. Thus marked as obsolete= . (make-obsolete 'isearch-nonincremental-exit-minibuffer 'exit-minibuffer = "24.4") =20 (defun isearch-forward-exit-minibuffer () "Resume isearching forward from the minibuffer that edits the search s= tring." (interactive) - (setq isearch-new-forward t) + (setq isearch-new-forward t isearch-new-nonincremental nil) (exit-minibuffer)) =20 (defun isearch-reverse-exit-minibuffer () "Resume isearching backward from the minibuffer that edits the search = string." (interactive) - (setq isearch-new-forward nil) + (setq isearch-new-forward nil isearch-new-nonincremental nil) (exit-minibuffer)) =20 From unknown Fri Jun 20 07:29:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25562: 25.1; isearch-forward-word first matches a non-word Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Feb 2017 23:30:03 +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: To: 25562@debbugs.gnu.org Received: via spool by 25562-submit@debbugs.gnu.org id=B25562.148711500119994 (code B ref 25562); Tue, 14 Feb 2017 23:30:03 +0000 Received: (at 25562) by debbugs.gnu.org; 14 Feb 2017 23:30:01 +0000 Received: from localhost ([127.0.0.1]:40310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdmXp-0005CQ-5h for submit@debbugs.gnu.org; Tue, 14 Feb 2017 18:30:01 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:48258 helo=homiemail-a39.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdmXm-0005C9-3p for 25562@debbugs.gnu.org; Tue, 14 Feb 2017 18:29:58 -0500 Received: from homiemail-a39.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a39.g.dreamhost.com (Postfix) with ESMTP id 86D6015006D for <25562@debbugs.gnu.org>; Tue, 14 Feb 2017 15:29:57 -0800 (PST) Received: from localhost.linkov.net (m83-191-240-183.cust.tele2.ee [83.191.240.183]) (Authenticated sender: jurta@jurta.org) by homiemail-a39.g.dreamhost.com (Postfix) with ESMTPA id E8783150069 for <25562@debbugs.gnu.org>; Tue, 14 Feb 2017 15:29:56 -0800 (PST) From: Juri Linkov Organization: LINKOV.NET References: <87r33njun7.fsf@inria.fr> <87mvea3feg.fsf@mail.linkov.net> <87fuk1wfri.fsf@mail.linkov.net> <87r33l7yqj.fsf@inria.fr> <877f5cf7xk.fsf@mail.linkov.net> <83o9ynx604.fsf@gnu.org> <83h94fw86x.fsf@gnu.org> <87zii6u4cr.fsf@mail.linkov.net> <87h943lzg8.fsf@localhost> Date: Wed, 15 Feb 2017 01:28:39 +0200 In-Reply-To: <87h943lzg8.fsf@localhost> (Juri Linkov's message of "Fri, 10 Feb 2017 01:28:55 +0200") Message-ID: <87efz0qrmg.fsf@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > IIRC, it was supposed to work this way, i.e.: > > =E2=80=98M-s w RET it RET=E2=80=99 to quit isearch and search the word = nonincrementally, > as documented in (info "(emacs) Word Search") > > =E2=80=98M-s w RET it C-s=E2=80=99 to enter the word and continue searc= hing incrementally, > as documented in the docstrings of =E2=80=98isearch-forward-exit-minibu= ffer=E2=80=99 and > =E2=80=98isearch-reverse-exit-minibuffer=E2=80=99, but at some point th= e implementation > deviated from its documentation. Here is the patch to restore it: Installed as well. I guess updating NEWS is not needed because it already used to work this way some time ago, and the Emacs manual mentions this feature in several places, e.g. in =E2=80=98(emacs) Repeat = Isearch=E2=80=99: =E2=80=9CType , `C-s' or `C-r' to finish editing the string and sear= ch for it.=E2=80=9D