bug#81667: 32.0.50; `query-replace-show-preview' includes Quail IME UI and suggestions in buffer preview
समीर सिंह Sameer Singh <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <CAOR1sLzR0E8yt-NWbzv1c-cr8cnYvrtQoQLEA2NV8pf+dSYd7Q@mail.gmail.com> |
Eli Zaretskii <[email protected]> writes: >> From: समीर सिंह Sameer Singh <[email protected]> >> Date: Thu, 20 Aug 2026 21:12:16 -0700 >> Cc: [email protected], [email protected], [email protected] >> >> Hi Rahul, >> >> Thanks for the patch. >> I see one problem with the patch applied. The cursor, if not inserting >> text, appears in the second line of the minibuffer now (where the >> completion suggestions usually appear) >> >> Maybe Eli or Juri can tell what is happening wrong here? > > In the case of query-replace-show-preview, or when using IM in > general? When using the IM in general in the minibuffer with the patch applied. > > Cursor positioning with overlays is problematic in general. I haven't > looked at this specific case, but if we want to place the cursor on a > specific character of the overlay string, we can use the 'cursor' > property on that string. -- समीरसिंह