d1egoaz / c3po.el

🤖 Meet c3po.el, the Emacs droid you’ve been looking for! This package will take your workflow to a galaxy far, far away. 🌟 C3PO.el is an Emacs package for interacting with the ChatGPT API. May the source be with you!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C3po doesnt keymap-local-set

polw1 opened this issue · comments

When writing c3po-dev or assistant options, the following error appears:

save-current-buffer: Symbol’s function definition is void: keymap-local-set

Any thoughts?

What version of Emacs are you using?
Are you also using evil-mode?

I think I have the same problem (with Emacs 28, on debian stable bookworm ).
I'm not using evil-mode (is that required?).

Was keymap-local-set added in Emacs 29? I've tried adding a (require 'compat) to c3po.el (jkbjh@9dac165), which get's rid of that message.

I'm now stuck at:

Contacting host: api.openai.com:443
Wrong type argument: arrayp, nil

(in Messages)

(edit: this remaining problem likely was due to a rate limit / out of credit, so I guess there is an issue of parsing this error message. It works for me now.)