emacsorphanage / key-chord

Map pairs of simultaneously pressed keys to commands
http://emacswiki.org/emacs/download/key-chord.el
116 stars 23 forks source link

Flyspell + Key-chord, chords are ignored while typing / spellchecking #10

Closed EverardNisse closed 10 months ago

EverardNisse commented 1 year ago

With Flyspell mode enabled, key-chord combinations are ignored if Flyspell hasn't finished marking incorrect words, chord characters are typed instead.

To reproduce

  1. Install the key-chord package from MELPA
  2. M-: (key-chord-define-global "jk" "testing")
  3. key-chord-mode & flyspell-mode
  4. Type and quickly try to invoke the "jk" chord (press both keys at the same time)
  5. Result should be "testing" being inserted in the buffer but instead the chord is ignored and "jk" is typed

Workarounds to resume chord recognition:

  1. Waiting a few moments, Flypsell finishes marking incorrect words
  2. Issuing C-g quickly after typing (does mark incorrect words)
  3. Pressing Space, Delete or typing numbers/symbols

Reproduced on v30.0.50 native-comp with no other configuration present via "$ env HOME=testing emacs"

EverardNisse commented 10 months ago

Closing this issue as well, as it seems the direct culprit was the same as #9 and updating to v0.7 with the revert fixes all the issues. Sadly I did not relate the two, a lesson to check other issues and recent commits next time.

Thank you for your time