3

I am editing documents in Italian with GNU Emacs and I am used to spell-check my files with ispell. I have an Italian dictionary already installed (the iitalian package for ispell), but it doesn't recognize accented characters, such as "í". For Spanish and Catalan I have castellano8 and catala8 options which recognize accented characters, and also French dictionary works fine. Could anyone tell me how to obtain such an Italian dictionary for ispell?

2

Finally, the solution I found is to tell Emacs to use aspell instead of ispell. This is an spellchecker that works in the same way as ispell. This can be accomplished by adding this line in the .emacs file:

(setq-default ispell-program-name "aspell")

To install the Italian dictionary I executed

sudo apt-get install aspell-it

and similarly for dictionaries for other languages. All these dictionaries recognize correctly accented characters and work fine.

0
0

The iitalian file list may give you a hint.

2
  • I'm sorry, I had a look at all these files, but it didn't help. I can't figure out why my ispell dictionaries recognize accented characters in Spanish, French and Catalan, but not in Italian. – Charo Jul 11 '14 at 15:48
  • @Charo: Ok.. Originally you asked how to install a dictionary, which gave me the impression that you already had a better Italian one. – Gunnar Hjalmarsson Jul 11 '14 at 21:53

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.