emacs-evil / evil

The extensible vi layer for Emacs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`evil-search` with `isearch` module does not respect `dired-isearch-filenames-mode` starting with Emacs 29

leungbk opened this issue · comments

Issue type

Bug report

Environment

Emacs version: 29.1
Operating System: NixOS 24.05 unstable
Evil version: c4f95fd
Evil installation type: Tested with Nix and also with Straight
Graphical/Terminal: Both
Tested in a make emacs session: "No", but I made a clean Nix build, with both Emacs 28 and 29, adding no external packages other than evil.

Reproduction steps

  • emacs -q
  • M-x evil-mode, M-x dired-isearch-filenames-mode
  • Search for the letter r with both evil-search-forward and with isearch-forward in a dired buffer.

Expected behavior

The letter r should match only within filenames.

Actual behavior

When using evil-search-forward, the letter r matches the r corresponding to the read permission displayed by dired.

Further notes

evil-search-forward complies with dired-isearch-filenames-mode in Emacs 28.2 and below.