Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to use the package leads to a max-lisp-eval-depth error #326

Open
safijari opened this issue Jul 17, 2024 · 0 comments
Open

Trying to use the package leads to a max-lisp-eval-depth error #326

safijari opened this issue Jul 17, 2024 · 0 comments

Comments

@safijari
Copy link

safijari commented Jul 17, 2024

I'm getting the following error (alongside CPU getting saturated for a bit) when trying to activate copilot with this package. Emacs 29.3 installed on NixOs.

advice-add: Lisp nesting exceeds ‘max-lisp-eval-depth’: 1601
Error running timer ‘copilot--post-command-debounce’: (excessive-lisp-nesting 1601)

My config is

(use-package copilot
  :straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el"))
  :ensure t)

  (setq copilot-enable-delay 1.00)
  (define-key copilot-completion-map (kbd "<return>") 'copilot-accept-completion)
  (define-key copilot-completion-map (kbd "<backspace>") 'copilot-clear-overlay)
  (global-set-key (kbd "C-SPC") 'copilot-complete)
  (setq copilot-node-executable "/run/current-system/sw/bin/node")

Would appreciate guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant