Problematic Behavior

Special characters appear to split words in flyspell even if the words are in my dictionary:

enter image description here

How can I fix this?

Flyspell Configuration Details

I am using the ispell backend for Flyspell. I have added these words to my ispell-personal-dictionary. Adding words without special characters to my personal dictionary works just fine.

  • You need to give much more information. For example does your flyspell use aspell, ispell, etc. What are your dictionary settings? You mention "my dictionary" - is this a personal dictionary and where is it located? Etc. Etc. – user16762 Jan 25 at 14:09
  • 1
    m43cap, you're perfectly right. When I posted this question I did not appreciate the complexity of flyspell. It is a proper framework with pluggable parts, which means that one user's environment may behave quite differently from another. I have resolved this problem for myself by switching to hunspell, which does not break on special characters (although annoyingly it does break on apostrophes in my setup). To improve this question's quality however, I will git checkout my setup at the time of posting and add more information accordingly. – Matthew Piziak Jan 25 at 20:30
  • I'm pleased you've solved the problem - great! – user16762 Jan 26 at 12:58
  • 1
    I think I'm having the same problem as Matthew (post-upgrade): Flyspell seems to be breaking words on apostrophes, so that e.g. doesn't results in doesn being highlighted as a spelling error. I too am using hunspell on OS X. The only spell-check-related configuration options I've set (that I know of) are: (setq-default ispell-program-name "/usr/local/bin/hunspell") \n (setq ispell-really-hunspell t). Any suggestions? – Eric Anderson Jun 14 at 21:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.