SavchenkoValeriy / emacs-powerthesaurus

Powerthesaurus integration for Emacs
GNU General Public License v3.0
270 stars 11 forks source link

Candidate selection breaks with Company mode #33

Closed ntrocado closed 1 year ago

ntrocado commented 1 year ago

While using company mode with the ispell backend, I followed these steps:

  1. write "foo" and wait;
  2. the company completion box appears;
  3. call M-x powerthesaurus-lookup-dwim RET RET RET;
  4. a candidate list will appear in the minibuffer, but it's not possible to use the arrow keys (or C-n C-p) to move the selection up or down. There's also a message: funcall-interactively: Wrong type argument: number-or-marker-p, nil.
SavchenkoValeriy commented 1 year ago

Oh wow, that's a very interesting case. Thank you so much for taking your time and reporting it!

SavchenkoValeriy commented 1 year ago

Thanks for a detailed description, I managed to reproduce it and I believe I have a fix. Cheers!