While using company mode with the ispell backend, I followed these steps:
- write "foo" and wait;
- the company completion box appears;
- call
M-x powerthesaurus-lookup-dwim RET RET RET;
- 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.