copilot.el icon indicating copy to clipboard operation
copilot.el copied to clipboard

Error running timer ‘copilot--post-command-debounce’: (void-function company--active-p)

Open guibor opened this issue 1 year ago • 6 comments

I recently disabled company and started working with corfu, and am having difficulty understanding how to circumvent this error

guibor avatar Jan 18 '24 16:01 guibor

I have similar issure for Error msg "Error running timer 'copilot--post-command-debounce': (wrong-type-argument sequence 4)"

jidibinlin avatar Jan 22 '24 13:01 jidibinlin

@guibor @jidibinlin Have you customized the variable copilot-enable-predicates or copilot-disable-predicates?

zerolfx avatar Jan 31 '24 09:01 zerolfx

If you're using Robert Krahn's .emacs for configuring copilot, you have to delete the reference to company--active-p here.

oncomouse avatar Jan 31 '24 16:01 oncomouse

@guibor have you indeed managed to solve your problem?

emil-vdw avatar Feb 07 '24 11:02 emil-vdw

@zerolfx I didn`t. this is my value of copilot-enbale-predicates

(evil-insert-state-p copilot--buffer-changed)

jidibinlin avatar Mar 02 '24 07:03 jidibinlin

Same issue here, this is what I have

; ...
(use-package quelpa)
(use-package quelpa-use-package)
; ...

(use-package copilot
  :quelpa (copilot :fetcher github
                   :repo "copilot-emacs/copilot.el"
                   :branch "main"
                   :files ("dist" "*.el")))

(add-hook 'go-mode-hook         'copilot-mode)

Removing elpa/qelpa caches worked for some reason.

arefiev avatar May 21 '24 09:05 arefiev