On Sat, Aug 11, 2007 at 04:34:45PM +0200, Vincent Lefevre wrote: > On 2007-08-11 12:51:37 +0200, Agustin Martin wrote: > > You would have get the same result by setting `ispell-program-name' to > > "aspell" in your .emacs file, > > > > (setq ispell-program-name "aspell") > > > > so aspell is used from all emacs flavours. > > Yes, I tried that, but this didn't change much: the "en" dictionary > still wasn't found with emacs22 if changed via a function. I get: > > Undefined dictionary: en > > with: > > (defun ispell-region-en (reg-start reg-end) > "Interactively check a region for spelling errors, in English." > (interactive "r") > (ispell-change-dictionary "en") > (ispell-region reg-start reg-end)) > > No problem with emacs-snapshot (or even emacs22 in Mac OS X).
What about (ispell-change-dictionary "english") which should do the same. Pristine emacs22 (and -snapshot) make a list of all possible aspell entries (at least all possible .multi and .alias files, and I think that more). If you have a number of aspell dicts installed, this makes useless the pop-up menu because of the number of entries, and that is why has been disabled in upstream emacs22. In the dict-common system the aspell entries rely in the info supplied by aspell dicts maintainers. If I succeed in adapting upstream ispell.el I will try to revive the pop-up menu with a list of names supplied by maintainers while allowing the full list be used through ispell-change-dictionary. If this becomes too hard I will consider backporting the aspell stuff, which I think is the only important thing not in dict-common ispell.el. In the meantime I have some ideas about a better separation between ispell and aspell lists, which will be useful later. All this is also a good chance to fine tune our code. -- Agustin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]