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, 03 Nov 2022 17:53:16 +0100 Message-ID: <87tu3gasjn.fsf@zira.vinc17.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17664"; mail-complaints-to="usenet@ciao.gmane.io" To: 58992@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 03 17:54: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 1oqdTw-0004Mf-TC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Nov 2022 17:54:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqdTf-0000ox-OC; Thu, 03 Nov 2022 12:54:03 -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 1oqdTe-0000om-Ts for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 12:54: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 1oqdTe-0005tg-Lc for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqdTe-0006Lk-HB for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 12:54: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: Thu, 03 Nov 2022 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58992 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166749440924347 (code B ref -1); Thu, 03 Nov 2022 16:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Nov 2022 16:53:29 +0000 Original-Received: from localhost ([127.0.0.1]:50231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqdT4-0006Ka-Un for submit@debbugs.gnu.org; Thu, 03 Nov 2022 12:53:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqdSz-0006KM-Pe for submit@debbugs.gnu.org; Thu, 03 Nov 2022 12:53:26 -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 1oqdSz-0000Py-HZ for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 12:53:21 -0400 Original-Received: from joooj.vinc17.net ([155.133.131.76]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqdSx-0005js-G2 for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 12:53: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 3628B2A6; Thu, 3 Nov 2022 17:53:17 +0100 (CET) Original-Received: by zira.vinc17.org (Postfix, from userid 1000) id 0314F2800234; Thu, 3 Nov 2022 17:53:16 +0100 (CET) Received-SPF: none client-ip=155.133.131.76; envelope-from=vincent@vinc17.net; helo=joooj.vinc17.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:246987 Archived-At: The Emacs manual says: 15.9 Lax Matching During Searching =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D [...] By default, search commands perform =E2=80=9Clax space matching=E2=80=9D= : 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, =E2=80=98foo bar=E2=80=99 matc= hes =E2=80=98foo bar=E2=80=99, =E2=80=98foo bar=E2=80=99, =E2=80=98foo bar= =E2=80=99, and so on (but not =E2=80=98foobar=E2=80=99). More [...] This is working with GNU Emacs 27, but not with GNU Emacs 28.2 (tested under Debian/unstable). To reproduce with emacs -Q, consider a file with ab cd ab cd and search for "b c" with C-s b c Only the one in the 3rd line is found. In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cair= o version 1.16.0) of 2022-10-29, modified by Debian built on x86-conova-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/28.2/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/28.2/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/28.2/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/28.2/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --with-cairo --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -ffile-prefix-map=3D/build/emacs-SkJhIb/emacs-28.2+1=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_COLLATE: POSIX value of $LC_CTYPE: C.UTF-8 value of $LC_TIME: en_DK.utf8 value of $LANG: POSIX locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 Load-path shadows: /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-11/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-11/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-11/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-12/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-12/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-12/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-13/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-13/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-13/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-14/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-14/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-14/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-15/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-15/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-15/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-3.5/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-3.5/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-3.5/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-3.6/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-3.6/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-3.6/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-3.7/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-3.7/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-3.7/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-7/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-7/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-7/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-8/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-8/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-8/tablegen-mode /usr/share/emacs/site-lisp/llvm-10/llvm-mode hides /usr/share/emacs/site-li= sp/llvm-9/llvm-mode /usr/share/emacs/site-lisp/llvm-10/emacs hides /usr/share/emacs/site-lisp/l= lvm-9/emacs /usr/share/emacs/site-lisp/llvm-10/tablegen-mode hides /usr/share/emacs/sit= e-lisp/llvm-9/tablegen-mode /usr/share/emacs/site-lisp/elpa/cmake-mode-3.24.2/cmake-mode hides /usr/sha= re/emacs/site-lisp/elpa-src/cmake-mode-3.24.2/cmake-mode /usr/share/emacs/site-lisp/elpa/cmake-mode-3.24.2/cmake-mode-autoloads hide= s /usr/share/emacs/site-lisp/elpa-src/cmake-mode-3.24.2/cmake-mode-autoloads /usr/share/emacs/site-lisp/elpa/cmake-mode-3.24.2/cmake-mode-pkg hides /usr= /share/emacs/site-lisp/elpa-src/cmake-mode-3.24.2/cmake-mode-pkg /usr/share/emacs/site-lisp/elpa/po-mode-0.21/po-mode hides /usr/share/emacs= /site-lisp/elpa-src/po-mode-0.21/po-mode /usr/share/emacs/site-lisp/elpa/po-mode-0.21/po-mode-pkg hides /usr/share/e= macs/site-lisp/elpa-src/po-mode-0.21/po-mode-pkg /usr/share/emacs/site-lisp/elpa/po-mode-0.21/po-mode-autoloads hides /usr/s= hare/emacs/site-lisp/elpa-src/po-mode-0.21/po-mode-autoloads /usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/= 28.2/lisp/language/thai-word Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-edit pp cus-start wid-edit time cus-load cc-styles cc-align cc-engine cc-vars cc-defs edmacro kmacro mmm-auto mmm-vars mmm-utils mmm-compat package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core eieio-loaddefs password-cache json map url-vars comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 121759 7537) (symbols 48 11984 1) (strings 32 34388 5478) (string-bytes 1 1117991) (vectors 16 19182) (vector-slots 8 306771 8771) (floats 8 40 15) (intervals 56 282 0) (buffers 992 12))