Package: emacs-gtk
Version: 1:28.2+1-3
Severity: normal
Tags: upstream
Forwarded: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58992

(I assume that this is an upstream bug, but I didn't test an official
upstream version.)

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).

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.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages emacs-gtk depends on:
ii  emacs-bin-common     1:28.2+1-3
ii  emacs-common         1:28.2+1-3
ii  libacl1              2.3.1-1
ii  libasound2           1.2.7.2-1
ii  libc6                2.35-1
ii  libcairo2            1.16.0-6
ii  libdbus-1-3          1.14.4-1
ii  libfontconfig1       2.13.1-4.5
ii  libfreetype6         2.12.1+dfsg-3
ii  libgccjit0           12.2.0-7
ii  libgdk-pixbuf-2.0-0  2.42.9+dfsg-1
ii  libgif7              5.2.1-2.5
ii  libglib2.0-0         2.74.1-1
ii  libgmp10             2:6.2.1+dfsg1-1.1
ii  libgnutls30          3.7.8-4
ii  libgpm2              1.20.7-10+b1
ii  libgtk-3-0           3.24.34-3
ii  libharfbuzz0b        5.2.0-2
ii  libice6              2:1.0.10-1
ii  libjansson4          2.14-2
ii  libjpeg62-turbo      1:2.1.2-1+b1
ii  liblcms2-2           2.13.1-1+b1
ii  libm17n-0            1.8.0-4
ii  libotf1              0.9.16-3+b1
ii  libpango-1.0-0       1.50.10+ds-1
ii  libpng16-16          1.6.38-2
ii  librsvg2-2           2.54.5+dfsg-1
ii  libselinux1          3.4-1+b2
ii  libsm6               2:1.2.3-1
ii  libsystemd0          252-2
ii  libtiff5             4.4.0-5
ii  libtinfo6            6.3+20220423-2
ii  libx11-6             2:1.8.1-2
ii  libxext6             2:1.3.4-1+b1
ii  libxfixes3           1:6.0.0-2
ii  libxml2              2.9.14+dfsg-1.1
ii  libxrender1          1:0.9.10-1.1
ii  zlib1g               1:1.2.11.dfsg-4.1

Versions of packages emacs-gtk recommends:
ii  fonts-noto-color-emoji  2.038-1

Versions of packages emacs-gtk suggests:
ii  emacs-common-non-dfsg  1:28.2+1-2

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to