bug#81667: 32.0.50; `query-replace-show-preview' includes Quail IME UI and suggestions in buffer preview

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
> 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?

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.