Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
EverardNisse opened this issue Oct 25, 2023 · 1 comment
Closed

Comments

@EverardNisse
Copy link

EverardNisse commented Oct 25, 2023

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 EverardNisse changed the title Key-chord failures due to flyspell mode if trying any chord quickly after typing Flyspell + Key-chord, chords are ignored while typing / spellchecking Nov 10, 2023
@EverardNisse
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant