emacs-evil / evil

The extensible vi layer for Emacs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Input method in search and in replace modes doesn't match the currently activated one in insert mode

mhdna opened this issue · comments

Issue type

  • Bug

Environment

Emacs version: 29.1
Operating System: Arch Linux
Evil version: 1.15.0
Evil installation type: MELPA
Graphical/Terminal: Graphical
Tested in a make emacs session (see CONTRIBUTING.md): No

Reproduction steps

  • Start Emacs
  • Switch Emacs's input method to some other language, different from the default one
  • Search for something or try to replace something using r in normal mode

Expected behavior

The input-method in the search minibuffer should be the same as the input-method of the window I'm searching in (E.g. When I'm using the Arabic input-method in my window, searching for something should be in Arabic as well).

Edit: I noticed that this is also an issue in replace mode, so when you try to replace something, it doesn't replace characters using the input method that matches the one activated in insert mode, but rather with the default input method (english-qwerty in my case).

Actual behavior

Unlike Emacs's default behavior, the input-method switches back to the default one in the search minibuffer and does not match the window's, even when using isearch as the default evil-search-module. Similarly, the input method used to replace characters in replace mode, should match the one used in insert mode.