Closed wvxvw closed 5 years ago
I made some modifications for the sake of debugging:
(defun company-robe (command &rest args)
"A `company-mode' completion back-end for `robe-mode'."
(interactive (list 'interactive))
(message "command: %s, args: %s" command args)
(let ((arg (car args)))
(case command ... )))
And now I see that often times this function is given 3 arguments, contrary to the expected 2 arguments. With this change, the function seems to work.
Why "expected 2 arguments", though?
Here is its current signature:
(defun company-robe (command &optional arg &rest ignore)
Well, that's what I've got from MELPA... Then, I'm guessing it must be fixed already.
I kind of doubt that: even melpa-stable (EDIT: I've checked) contains this signature, for years now.
I've reinstalled it, maybe it pulled this version as dependency of something else... Now I'm having different errors. I'll investigate and open a different ticket if necessary.
I'll investigate further, but one thing I've already noticed: completion works, sort of, in
*pry*
buffer.