-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
cider-eldoc try to display doc when point on weird symbols like on image content-type #2286
Comments
I can't test/fix this, as the image display doesn't work for me at all as mentioned in #2277. I'm also puzzled how the two can be related at all. I'd expect that eldoc simply won't work, but it should not break eval. |
I guess because |
You can test with a simple call: (cider-sync-request:eldoc "\266J\206\306\251\347\355") P.S I just copied the weird text, but it might direct copy is not original weird character. |
About upper cider-eldoc op cause nrepl connection crash problem. I found why now. Because the funciton |
When use cider display image content-type. I move point backward, then CIDER REPL can't evaluate sexp anymore.
Steps to reproduce:
Toggle nrepl log messaging.
Disable eldoc-mode in CIDER REPL buffer, then display image, then movie point backward around, on the image etc. All things fine, no weird symbol in nrepl log.
Enable eldoc-mode in CIDER REPL buffer, then move point backward around, on the image, then nrepl log displays those weird symbols. then input (+ 1 1) does not work any more. even though I disable eldoc-mode again.
Here is the nrepl log:
This weird symbol is from display image which eldoc try to get doc for them.
Guess might
cider-eldoc
need to filter on non-standard symbols?With reference as background to original issue: #2277
The text was updated successfully, but these errors were encountered: