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

Warning (emacs): :events-buffer-scrollback-size deprecated. Use events-buffer-config

Open eastwood opened this issue 1 year ago • 2 comments

Getting a cheeky little warning every time I open a file.

Reference in code: https://github.com/copilot-emacs/copilot.el/blob/535ef61e82f09d744cd5b097b1fc99f08cce175c/copilot.el#L307

eastwood avatar Jul 26 '24 12:07 eastwood

I solved this using the following code added to my .emacs file: ;; Set the warning level (setq warning-minimum-level :error)

  • This will not show any warnings unless they of the error level instead of info or debug. Whatever may be the default.

  • Actually, more of a band-aid. Not at all a solution.

djhunter67 avatar Sep 02 '24 13:09 djhunter67

I am still having the same issue, did you perhaps manage to solve it as of now? It has to do something with the jsonrpc-package, but I am still not quite sure how to fix it, other than reverting to previous versions of eglot.jl.

I have a hunch that perhaps it will be resolved when upgrading Emacs, but I prefer not too as it's typically a hassle that I do not want to deal with right now. I can also just change that line in eglot.el, but again, this not desired. Is it perhaps the fact that I am still on Emacs 28? The latest version of eglot that I can upgrade to is 20221020.1010.

johannesnauta avatar Sep 13 '24 11:09 johannesnauta