Dear Agustin, many thanks for your response!

> No problem. dictionaries-common used to ship {ispell,flyspell}.el also for
> GNU Emacs, containing the most recent version patched to work with XEmacs
> and older Emacs, but that is no longer true because of compatibility
> issues.

I see. Just a few weeks ago I had a bug that I oculd fix by upgrading
dictionaries-common, the problem fixed by version 1.27.4.

So I really thought the problem was there again.

> > > ispell.el has recently
> > > been patched in Emacs to work around this issue, but since XEmacs does not
> > > use hunspell auto-detection I do not think this change is needed in
> > > dictionaries-common ispell.el.
> > 
> > OK so I am using GNU Emacs, not xemacs. IS there a way for me to get the
> > correct (patched) version of ispell.el by installing debian packages, or
> > do I have to do something different, like installing an upstream version
> > of GNU Emacs?
> 
> One possibility is to wait for Emacs 26 to be packaged. I think this change
> was not pushed to the Emacs25 (master) branch. Installing Emacs from
> upstream is an overkill and will become old at some time.
> 
> A temporary hack would be to add an entry to your .emacs file, something
> like (if none is explicitly set)
> 
> ;; ----------------------------
> (setq ispell-local-dictionary-alist
>       (append ispell-local-dictionary-alist
>               '(
>               ("castellano8"
>                  "[[:alpha:]]"
>                  "[^[:alpha:]]"
>                  "[-]" t ("-d" "es_ES") nil utf-8)
>                 )))
> ;; ---------------------------
> 
> adapted to your language. Do not forget to remove it once either hunspell or
> Emacs are fixed.

Thanks! Unfortuantely, I don't think this would work because, as far as
I understand it, the list of dictionaries is computed when a
spell-checking command is run for the first time so I'd expect that such
a definition in the .emacs.el file would be overwritten.

Sébastien.

Reply via email to