nschum / auto-dictionary-mode

Emacs: automatic dictionary switcher for flyspell
http://nschum.de/src/emacs/auto-dictionary/
28 stars 13 forks source link

adict-guess-dictionary fails in org-mode with member-ignore-case: Wrong type argument: stringp, nil #16

Open thblt opened 7 years ago

thblt commented 7 years ago

On my computer (specs below), auto-dictionary-mode is unusable in org-mode.

Steps to reproduce (from emacs -Q)

  1. Evaluate:

    (require 'package)
    (package-initialize)
    (require 'auto-dictionary)
    (require 'flyspell)
  2. Open a new buffer, M-x org-mode
  3. M-x flyspell-mode and M-x auto-dictionary-mode
  4. Type some text in some language.
  5. M-x adict-guess-dictionary

This fails with member-ignore-case: Wrong type argument: stringp, nil (in Messages, the part after ":" also appears in the modeline.

Repeating exactly the same steps in text-mode works perfectly.

Test configuration