Package: dictionaries-common Version: 1.12.9 Severity: grave Justification: Can cause data loss when switching to hunspell
2012/7/19 Christoph Groth: > Hello Agustin, > > This is a late addition to a thread of messages we exchanged roughly two > months ago. My problem was (and still is) that I am unable to use > various hunspell dictionaries with emacs (aspell/ispell are quite bad > for some languages). The result of our conversation was that the > hunspell dictionary packages fail to register themselves with > dictionaries-common (Bug #655113). > > So today, having some time to spare on the train, I tried to write some > of the missing /var/lib/dictionaries-common/hunspell entries. > > However, I realized that now, for some strange reason, > the value of ispell-dictionaries-alist is different from the one I > reported to you two months ago: When I start emacs with > > emacs -q -nw -l ~/.emacs2 > > having only the line > > (setq ispell-program-name "hunspell") > > in ~/.emacs2, ispell-dictionaries-alist doesn't contain the single entry > from debian-hunspell-only-dictionary-alist (for the polish dictionary) > whereas it used to do so. (I'm running testing which I update every > week or so.) Thanks for reporting. This is even worse than you noticed, if after running $ emacs -q --no-splash -l emacs2 I try to spell-check a word, emacs hangs, at least here. If something was written before that and not saved, data will be loss, so I am filing a bug report about this with severity grave to let other people know about this problem. I have been testing the problem and seems caused by a misplaced parenthesis in debian-ispell.el causing hunspell list to be ignored and hunspell called with wrong parameters. Do not know how this exactly caused the hang, but attached patch should fix that and seems to help, Will test further and upload a fixed dictionaries-common if everything seems to work as expected. Thanks for your feedback, -- Agustin
debian-ispell.el_fix-hunspell-list.diff
Description: Binary data