minad / cape

🦸cape.el - Completion At Point Extensions
GNU General Public License v3.0
573 stars 20 forks source link

ispell-change-dictionary seems to have no effect on cape-ispell #70

Closed vincent-picaud closed 1 year ago

vincent-picaud commented 1 year ago

Changing language thanks to ispell-change-dictionary has no effect on cape-ispell which still presents English words even if I have chosen the "francais" (French) language.

You can test it with "maison" which is a French word (meaning "house") but not an English one.

Thanks !

minad commented 1 year ago

Indeed, I could reproduce this. Unfortunately I don't have an idea why this happens. This needs some digging into ispell.el.

vincent-picaud commented 1 year ago

Thank you for the feedback @minad. So I will let this with the "open" status. Best,

minad commented 1 year ago

In order to change the word list you have to change the variable ispell-complete-word-dict or ispell-alternate-dictionary. For some reason this variable is not modified by ispell-change-dictionary.