From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.bugs Subject: bug#58992: 28.2; "lax space matching" no longer works Date: Fri, 4 Nov 2022 11:56:37 +0100 Message-ID: <20221104105637.GP9807@zira.vinc17.org> References: <83iljw6kbk.fsf@gnu.org> <20221103172157.GB9807@zira.vinc17.org> <83h6zf7w53.fsf@gnu.org> <20221103183316.GH9807@zira.vinc17.org> <837d0b7uce.fsf@gnu.org> <20221103185207.GI9807@zira.vinc17.org> <835yfv7sij.fsf@gnu.org> <20221104022950.GJ9807@zira.vinc17.org> <83wn8b5gy6.fsf@gnu.org> <20221104104115.GN9807@zira.vinc17.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24337"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.7+51 (a318ca5a) vl-149028 (2022-10-21) Cc: 58992@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 04 11:57:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oquO1-0006Aw-Nt for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Nov 2022 11:57:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oquNk-0006mB-El; Fri, 04 Nov 2022 06:57:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oquNi-0006eK-Lz for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 06:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oquNi-0001dh-AV for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 06:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oquNi-0006T8-6Q for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 06:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Nov 2022 10:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58992 X-GNU-PR-Package: emacs Original-Received: via spool by 58992-submit@debbugs.gnu.org id=B58992.166755940324835 (code B ref 58992); Fri, 04 Nov 2022 10:57:02 +0000 Original-Received: (at 58992) by debbugs.gnu.org; 4 Nov 2022 10:56:43 +0000 Original-Received: from localhost ([127.0.0.1]:51901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oquNP-0006SV-0Y for submit@debbugs.gnu.org; Fri, 04 Nov 2022 06:56:43 -0400 Original-Received: from joooj.vinc17.net ([155.133.131.76]:52138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oquNL-0006SL-Sk for 58992@debbugs.gnu.org; Fri, 04 Nov 2022 06:56:41 -0400 Original-Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id 38C61BD; Fri, 4 Nov 2022 11:56:37 +0100 (CET) Original-Received: by zira.vinc17.org (Postfix, from userid 1000) id 167632800196; Fri, 4 Nov 2022 11:56:37 +0100 (CET) Content-Disposition: inline In-Reply-To: <20221104104115.GN9807@zira.vinc17.org> X-Mailer-Info: https://www.vinc17.net/mutt/ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247058 Archived-At: On 2022-11-04 11:41:15 +0100, Vincent Lefevre wrote: > On 2022-11-04 09:14:57 +0200, Eli Zaretskii wrote: > > > Date: Fri, 4 Nov 2022 03:29:50 +0100 > > > From: Vincent Lefevre > > > Cc: 58992@debbugs.gnu.org > > > > > > > Because the newline's syntax is not "whitespace" in those modes. > > > > > > OK, but then, the question is why the newline's syntax is not > > > "whitespace" in those modes... > > > > Because the mode sets up its syntax tables for various needs, none of > > which is Isearch. > > But the manual does not discourage the use of syntax classes > for searching, and it is not clear from the description that > they won't do what the user expects. I've searched on the web and found the Emacs wiki https://www.emacswiki.org/emacs/RegularExpression It even encourages the use of "\s-" for searching: this is a page mainly for searching (see the first line of the text), and in the "Regexp Syntax Basics" (note: *basics*): \sc character with c syntax (e.g. \s- for whitespace char) So users are very likely to use it. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)