I'm getting this error when I run Flyspell spell-checker in GNU Emacs 24.4.1 (i686-pc-mingw32) on Windows 7 (32 bits).
Error in post-command-hook (flyspell-post-command-hook): (error "No data for dictionary \"italian"\ , neither in ispell-local-dictionary-alist' nor in ispell-dictionary-alist' ")
Here are the parts of my .emacs file that concern Aspell and Flyspell.
(setq-default ispell-program-name "aspell")
(add-to-list 'exec-path "C:/Program Files/Aspell/bin/")
(setq ispell-dictionary "italian") ; do M-x ispell-change-dictionary RET to change dictionary
I looked for possible solutions to this problem on Google but couldn't understand the problem in the first place since I'm not well-versed in the use of Emacs – I've only started using it a month ago.
Could it be some conflict with YASnippett 0.8.0? The spell-checker used to work fine upto a ~2 weeks ago, then I installed YASnippet via Elpa M-x list-packages, customized it for Org-mode and AUCTeX (the 2 modes I use), found and solved a conflict b/w YASnippet and Org-mode as instructed by the manual and now this… Can anyone give me a hint?