Subject: bug#60740: 29.0.60; Broken isearch-emoji-by-name

From: Robert Pluim <[email-masked]>
Date: Thu, 12 Jan 2023 10:57:34 +0100

>>>>> On Thu, 12 Jan 2023 11:47:08 +0200, Eli Zaretskii <[email-masked]> said:

    >> But typing e.g. 'C-s C-x 8 e RET waving hand RET' fails with:
    >> 
    >> ⛔ Error (transient): Inconsistent transient state detected.
    >> This should never happen.
    >> Please open an issue and post the shown command log.
    >> This is a heisenbug, so any additional details might help.
    >> Thanks!

I get it straight from 'emacs -Q', so obviously the quantum
probabilities are different here 😀

    Eli> Looks like a problem with any Emoji that has variants, where you need
    Eli> to select one of the variants?

Could be. The transient command log looks like this:

    e           ;; transient:emoji--command-Choose Emoji:👋🏾
    C-s         ;; isearch-repeat-forward
    C-x 8 e RET ;; isearch-emoji-by-name
    w           ;; self-insert-command
    a           ;; self-insert-command
    v           ;; self-insert-command
    i           ;; self-insert-command
    n           ;; self-insert-command
    g           ;; self-insert-command
    SPC         ;; minibuffer-complete-word
    h           ;; self-insert-command
    a           ;; self-insert-command
    n           ;; self-insert-command
    d           ;; self-insert-command
    RET         ;; minibuffer-complete-and-exit
    e           ;; isearch-printing-char

(should that really be calling `isearch-printing-char' at the end
there?)

'C-x 8 e RET' for the same emoji works fine.

Robert
--