Bug#916125: hunspell: "hunspell -D" does not print loaded dictionary
> $ apt-file search flyspell
> dictionaries-common:
> /usr/share/dictionaries-common/site-elisp/flyspell.el
> emacs-common: /usr/share/emacs/25.2/lisp/textmodes/flyspell.elc
> emacs-el: /usr/share/emacs/25.2/lisp/textmodes/flyspell.el.gz
> emacspeak:
> /usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-flyspell.el
> jed-extra: /usr/share/jed/jed-extra/drop-in/flyspell.sl
> xemacs21-basesupport:
> /usr/share/xemacs21/xemacs-packages/lisp/text-modes/flyspell.elc
> xemacs21-basesupport-el:
> /usr/share/xemacs21/xemacs-packages/lisp/text-modes/flyspell.el.gz
>
> Erm, which one of these is the real(tm) one?
For emacs 25 (which I use):
emacs-common: /usr/share/emacs/25.2/lisp/textmodes/flyspell.elc
source in emacs-el: /usr/share/emacs/25.2/lisp/textmodes/flyspell.el.gz
>
> > Reverting the commit, or moving the leave logic a little later,
> > solves this.
>
> Or fixing emacs, see
> https://github.com/hunspell/hunspell/issues/608#issuecomment-444955561
> ff.
Well, hunspell's manpage definitely asserts that -D should print the loaded dictionary path.
Adding a null file is more of a hack than a proper fix.
Cheers,
Itaï.
Reply to: