cider

robert-stuttaford 2025-08-08T11:07:43.185599Z

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 happens

oyakushev 2025-08-27T13:00:49.777519Z

Hey, sorry for taking so long. Fixed in the latest melpa.

🎉 1
danielneal 2025-08-27T13:09:48.191229Z

thanks so much 🤩 🙏

robert-stuttaford 2025-08-27T14:45:07.204789Z

oh, amazing! thank you @alexyakushev

Ed 2025-08-08T12:04:51.295129Z

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.

danielneal 2025-08-11T11:10:15.626859Z

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

danielneal 2025-08-11T11:10:56.336939Z

It happened after I upgraded to 1.18, but also happens with 1.19

bozhidar 2025-08-11T15:35:12.327729Z

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.

bozhidar 2025-08-11T15:36:17.802669Z

See https://github.com/clojure-emacs/cider/issues/3827 and feel free to add more to it. Details always help with bugs.