has anyone encountered a Selecting deleted buffer error with *cider-result*? it happens when i C-c C-p (eval and show result) directly after starting Emacs and connecting a REPL (so no buffers have been closed):
Debugger entered--Lisp error: (error "Selecting deleted buffer")
cider--handle-stacktrace-response(((dict "class" "clojure.lang.ArityException" "id" "20" "message" "Wrong number of args (2) passed to: clojure.lang.PersistentVector" "phase" nil "session" "53710a19-064f-4bb3-8d8e-e5bbf25277bf" "stacktrace" ...)) nil #)
if i C-x C-e (eval in place) i get *cider-error* just fine, and, if the eval doesn't throw, i get *cider-result* just fine, so popups are definitely working. it's just when the eval throws and i want the result buffer, that this happensHey, sorry for taking so long. Fixed in the latest melpa.
thanks so much 🤩 🙏
oh, amazing! thank you @alexyakushev
I see that too. I've currently resorted to swearing and running it again with C-x C-e or whatever, fixing the error and running again. I suspect that I should spend some time using the inspector instead ... but I haven't got around to that yet.
Yeah, I was just going to come on here and ask about this - you beat me to it.
Also seeing the issue, so just adding my voice as this issue is affecting me - my default move is to C-c C-p everything rather than C-x C-e
It happened after I upgraded to 1.18, but also happens with 1.19
I think someone had filed an issue about this, but I haven't had time to take a closer look. Likely we messed something up while were refactoring some request handlers a while back.
See https://github.com/clojure-emacs/cider/issues/3827 and feel free to add more to it. Details always help with bugs.