On Sat, Oct 26, 2024 at 02:44:32PM +0100, Reuben Thomas wrote: > On Tue, 8 Oct 2024 at 08:46, Agustin Martin <[email protected]> wrote: > > > > I have pushed to https://salsa.debian.org/debian/dictionaries-common.git > > a couple of commits to deal with this. Seem to work reasonably here. > > > > I'm sorry that I didn't get to this sooner. I have now done a quick test by > installing dictionaries-common 1.30.1 on my Ubuntu 24.04 system (so, > apologies if I'm messing things up with my mismatched system), and I get > the same error as before when I try to spellcheck with ispell, caused by a > nil first entry in the argument to debian-ispell-build-startup-menu.
Hi, Did not mention that I could never reproduce that. I tried again with an extremely simple emacs-test.el containing only (setq ispell-program-name "enchant-2"), $ emacs -q -l emacs-test.el & >From the Messages buffer I run ^$ on "Emacs" string to spellcheck it. Everything seems to work as expected. The only remarkable thing is that enchant process seems to take a bit long to start. ... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell (native compiled elisp)... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell (native compiled elisp)...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done ... Beginning of buffer Starting new Ispell process enchant-2 with castellano8 dictionary...done Checking spelling of EMACS... Mark set > 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. Regards, -- Agustin

