-
-
Notifications
You must be signed in to change notification settings - Fork 649
cider-find-var on java code works every other time in Emacs 28 #2887
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
Comments
I rarely test CIDER with Emacs pre-releases, mostly because things there tend to change too dynamically. Recently we had done one change for Eldoc on Emacs 28, then something else got changed and this broke again. Fun times. :-) |
I'm actively using |
Got it.
It'd be great if you can send here the nREPL message log from a case when this work and doesn't work for you. I'll check out your repro steps when I can myself, but those logs would definitely be helpful as well. |
will do in a couple of days |
Sorry for the delay (gosh, 20 days already, I've thought only 4 days passed). Here are messages: Repro recipe is still actual, however it seems that now it works more often, though not always. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding! |
Nice! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding! |
|
I've tested this on the 1.2 release and it seems to work now. Closing, thanks! |
A problem that solves itself - my favorite kind. :-) |
I was looking why CIDER jumps to the Clojure code without any issues, but can't jump to the Java sources, even if everything seem to be configured correctly. I've read #2819 (I'm unsure if this is the same issue, as I can't repro it in Emacs 26.3 or 27.1-rc2), #2745 also seems a bit different, and still was unable to achieve expected behaviour. Well, this is strange, but I've finally figured out that this is not the issue with my config, and something with CIDER itself. And this is really weird thing.
Here's a zip archive with minimal
repro-init.el
, and a sample project to test on:repro.zip
Problem description
cider-find-var
pointed at Java code works but only sometimes.I can't describe it better, but it feels that it's just random.
Steps to reproduce the problem
unzip repro.zip -d cider_bug && cd cider_bug
emacs -q -l repro-init.el repro/src/repro/core.clj
Executors/newFixedThreadPool
, and press M-.If you lucky, you'll jump to Java sorces. If not, you can restart Emacs, and try again, and some times it works. Here's a recording of me doing this:
https://asciinema.org/a/Es7NsyVlj0yZKyazpOsMvt6LJ
It took me 8 Emacs restarts until it finally did the thing.
Expected behaviour
Consistent jumps to Java source code.
Environment & Version information
CIDER version information
Lein/Boot version
Leiningen 2.9.3 on Java 1.8.0_262 OpenJDK 64-Bit Server VM
Emacs version
Tested with:
feature/native-comp
branch - does not workConfigured using:
master
branch - does not workconfiguration flags are the same.
Operating system
Fedora 32
The text was updated successfully, but these errors were encountered: