clone 745613 -1 reassign -1 igerman98 retitle -1 igerman98: Please declare german-new8 and friends for aspell and myspell/hunspell found -1 igerman98/20131206-4 severity -1 wishlist thanks
On Wed, Apr 23, 2014 at 11:52:23AM +0200, Neal H. Walfield wrote: > Package: dictionaries-common > Version: 1.12.11 > Severity: normal > > Dear Maintainer, Hi, thanks for the info, > On Debian Squeeze, I would run ispell-change-dictionary in emacs to > toggle between my default dictionary (american) and german-new8. german-new8 name is currently provided only by ingerman package as a debian-only name. I think aspell-de and hunspell-* should also provide it for consistency between spellcheckers in Debian. > Despite installing many dictionary packages, I couldn't get > 'german-new8' back in the menu on Wheezy. What is present, however, is > german and german8. Unfortunately, when I select, say, german, I get > '/usr/lib/aspell/german' can not be opened for reading. [...] > it seems to me that not only should dictionaries not included in Debian > be pruned, but not-installed dictionaries should be pruned as well. > > The list of dictionaries appears to be generated by > ispell-find-aspell-dictionaries (from ispell.el). This function merges > entries from the output of 'aspell dicts' with > ispell-dictionary-base-alist, which is a static list. Likely, the > intersection should be taken instead of the union. However, my elisp-fu > is not good enough to come up with a patch. Original behavior comes from upstream FSF Emacs and I think it was done for a good reason, probably because there was no 100% safe test for non availability of some dicts. I do not know the details, that happened before I started contributing to Emacs. I later wrote good part of support for hunspell auto-detection, and there are some things that should help here, like mapping standard dict names in `ispell-dictionary-base-alist' to found dicts with known to match locales. This is already used for hunspell and I am extending it for aspell, so most of the problem gets fixed. A fixed package will be uploaded very soon, and fix also committed to upstream Emacs FSF VCS repo. Note that this will not work for XEmacs (lack of [:alpha:]), so I think it is still desirable to explicitly register expected german-new8 name for aspell and hunspell/myspell dicts. For that reason I am cloning this bug report and reassigning the clon to igerman98 (Hi, Roland). Roland, I am experimenting with a way to make this simpler from dictionaries-common, so I suggest waiting a bit, at least until igerman98 (20131206-4) reaches testing. While dictionaries-common fixing this bug report will also include experimental support for this, I'd prefer to test a bit more, will followup to the cloned bug. Regards, -- Agustin -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

