You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, so this is clearly related to character folding. In particular, you can run your query through char-fold-to-regexp and get exactly the string that is shown in the prompt (starting with a bunch of Unicode equivalents for c, then a bunch for o, and so on---because your query starts with co).
Apparently, swiper-query-replace uses some mechanism that goes through an interface advised by prescient.el. Not sure why that could be. It is quite bizarre.
When using
swiper-query-replace
withprescient
enabled, the prompt string is broken.System info:
emacs-native-comp-git 28.0.50.146220-1
Expected behavior:
Query replace [query] with:
Actual behavior:
Query replace [a string of unrelated unicode characters like ȫⓝï][actual query] with:
The length of the string and the characters it is composed of seems different every time, but the actual query does show up at the end of the string.
Steps to reproduce:
(require 'ivy)
(require 'ivy-prescient)
(require 'swiper)
M-x ivy-prescient-mode
M-x swiper
M-q
to openswiper-query-replace
EDIT: Added example screenshot for clarification
The text was updated successfully, but these errors were encountered: