On Mon, 28 Oct 2024 at 23:05, Agustin Martin <agmar...@debian.org> wrote:
> Did not mention that I could never reproduce that. Ah, thanks for letting me know; in that case, I'll look into it more myself when I can find a moment. > One other thing: in recent versions, Enchant is rather more liberal about > > the format of language tags it allows (they need not be just locales). I > > was wondering where "castellano" comes from: when I install aspell-es, > > `aspell dump dicts` does not list it. > > Things like castellano8 are the traditional emacsen names for some entries, > defined in ispell.el function `ispell-dictionary-base-alist'. You may > expect > documents setting language to one of those entries, and is good if they get > the right result. > I'm a bit confused now. Does aspell understand the name "castellano8"? If so, how does it know about it? If not, presumably Emacs translates the name into one that aspell understands? Recent versions of Enchant are no longer strict about the format of the language/dictionary name, so "castellano" would be perfectly valid, it's just that Enchant would typically not be able to find a dictionary of that name. -- https://rrt.sc3d.org