syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.68k stars 4.89k forks source link

Flyspell using hunspell cannot detect apostrophe in words #15527

Closed xuan-w closed 1 year ago

xuan-w commented 2 years ago

Description :octocat:

flyspell using hunspell cannot detect apostrophe in words

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: Words like "isn't" "didn't" "I've" were marked as wrong words because they were separated by apostrophe.

Expected behaviour: :heart: :smile: Emacs should send "isn't" as a whole to hunspell, not "isn" and "t".

System Info :computer:

Backtrace :paw_prints:

<<BACKTRACE IF RELEVANT>>
xuan-w commented 2 years ago

After some more tests, I think it might not be shell layer caused this. So I changed the title and content.

It seems that even vanilla Emacs has this problem with hunspell. So I think it might be related to flyspell/ispell itself.

So actually this is not a spacemacs bug, but something spacemacs can do better than vanilla Emacs?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!