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: Thu, 3 Nov 2022 18:34:18 +0100 Message-ID: <20221103173418.GC9807@zira.vinc17.org> References: <87tu3gasjn.fsf@zira.vinc17.org> <83iljw6kbk.fsf@gnu.org> <20221103172157.GB9807@zira.vinc17.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35341"; 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 Thu Nov 03 18:35:16 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 1oqe7X-00090o-QD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Nov 2022 18:35:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqe7R-0003tZ-2h; Thu, 03 Nov 2022 13:35:09 -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 1oqe7M-0003so-V2 for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 13:35:07 -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 1oqe7K-0004UM-2I for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 13:35:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqe7J-0003X1-MS for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 13:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Nov 2022 17:35:01 +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.166749686313519 (code B ref 58992); Thu, 03 Nov 2022 17:35:01 +0000 Original-Received: (at 58992) by debbugs.gnu.org; 3 Nov 2022 17:34:23 +0000 Original-Received: from localhost ([127.0.0.1]:50386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqe6g-0003Vz-Ow for submit@debbugs.gnu.org; Thu, 03 Nov 2022 13:34:23 -0400 Original-Received: from joooj.vinc17.net ([155.133.131.76]:50160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqe6e-0003Vq-5r for 58992@debbugs.gnu.org; Thu, 03 Nov 2022 13:34:21 -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 EC3082A6; Thu, 3 Nov 2022 18:34:18 +0100 (CET) Original-Received: by zira.vinc17.org (Postfix, from userid 1000) id BF2DD2800234; Thu, 3 Nov 2022 18:34:18 +0100 (CET) Content-Disposition: inline In-Reply-To: <20221103172157.GB9807@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:246994 Archived-At: On 2022-11-03 18:21:57 +0100, Vincent Lefevre wrote: > On 2022-11-03 19:04:31 +0200, Eli Zaretskii wrote: > > > From: Vincent Lefevre > > > Date: Thu, 03 Nov 2022 17:53:16 +0100 > > > > > > The Emacs manual says: > > > > > > 15.9 Lax Matching During Searching > > > ================================== > > > [...] > > > By default, search commands perform “lax space matching”: each space, > > > or sequence of spaces, matches any sequence of one or more whitespace > > > characters in the text. (Incremental regexp search has a separate > > > default; see *note Regexp Search::.) Hence, ‘foo bar’ matches > > > ‘foo bar’, ‘foo bar’, ‘foo bar’, and so on (but not ‘foobar’). More > > > [...] > > > > > > This is working with GNU Emacs 27, but not with GNU Emacs 28.2 > > > (tested under Debian/unstable). > > > > If it works for you by default in Emacs 27, then you either didn't > > test with "emacs -Q" there or your Emacs 27 is customized wrt the > > upstream. > > I tested with "emacs -Q", and I've just tested again. I confirm the > behavior I could see: a newline character is matched. That's Debian's > package emacs-gtk 1:27.1+1-3.1+b1. So perhaps Debian has changed the > default (but no changes were announced in Debian for Emacs 28, whose > behavior is different). In the officiel lisp/isearch.el file from the Debian/stable package (i.e. *not* in the debian subdirectory): (defcustom search-whitespace-regexp (purecopy "\\s-+") So it doesn't seem to be a Debian customization. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)