Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mhdna opened this issue Sep 8, 2023 · 0 comments

Comments

@mhdna
Copy link

mhdna commented Sep 8, 2023

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.

@mhdna mhdna changed the title Search's input-method is different from the window's Input method in search and in replace modes doesn't match the currently activated one in insert mode Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant