-
-
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
There have been so many reports from users that want to eval code from random context into whatever their most recent REPL is that we should probably add an option to allow this. #2464
Comments
Opening this issue for those interested in an option to mimic the behavior of previous versions of CIDER, in which code is I find the new behavior frustrating because I run many separate instances of emacs, each one connected to zero or one nREPL connections. That means I never had any confusion about where the code was being evaluated, and could easily eval code in a checkout or even just a fork of some dependency. Such an option would be useful for those of us who launch separate Emacsen for separate projects. |
I found a workaround that does what I want. YMMV. In my (sesman-link-with-buffer (current-buffer) (car (hash-table-values sesman-sessions-hashmap))) and it seems to behave like the old CIDER. |
Yeah, I completely agree we should add some extra configuration for this. Seems we just failed to anticipate all the ways in which people were using CIDER. In the classic style of software engineering - we managed to solve a problem for some of the users, by creating a problem for another part of the users. 😆 Anyways, I believe that some behaviour of the type "if there's no session for this context just use the most recent session" should be very easy to implement. I'm taking a break from CIDER to focus on some other things, but I'm hoping that @vspinu or someone else will be able to take a look at this soon. |
Okay, that description helps me grok what's relevant, perhaps I can add such an option. I'm happy with my Thank you for making CIDER so fun and useful @bbatsov ... 🍻 |
I am traveling till 9th. Will have a look then. The automatic linking of
dependency projects should go a long way in solving this. I will also add
an option to sesman to pick first available repl if no link is in place.
On 30 Sep 2018 20:51, "Blake Miller" <[email protected]> wrote:
Okay, that description helps me grok what's relevant, perhaps I can add
such an option. I'm happy with my cider-connect-mode-hook hack for right
now and I can't work on this today but I'll come back to it.
Thank you for making CIDER so fun and useful @bbatsov
<https://github.com/bbatsov> ... 🍻
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2464 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABTOC-12lPHUFvWYWOe3nNAe8c0j9JYjks5ugRLKgaJpZM4XApRz>
.
|
Sounds like a plan to me! |
There's at least 1 person complaining about the changes we've made every day. :-)
For that particular issue I agree with your second suggestion.
Originally posted by @bbatsov in #2446 (comment)
The text was updated successfully, but these errors were encountered: