-
-
Notifications
You must be signed in to change notification settings - Fork 44
Accept cons pair for tcp connections. #34
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
@@ -322,7 +322,9 @@ of `inf-clojure-program'). Runs the hooks from | |||
(if (not (comint-check-proc "*inf-clojure*")) | |||
;; run the new process in the project's root when in a project folder | |||
(let ((default-directory (inf-clojure-project-root)) | |||
(cmdlist (split-string cmd))) | |||
(cmdlist (if (consp cmd) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing the related defcustom should be updated as well.
184f0a6
to
1d2bf1d
Compare
Sorry about that. I updated the defcustom. |
Btw, what exactly is the reasoning behind this change? I'm guessing that I'm not 100% certain what are you trying to achieve here. |
I was trying to connect to a clojure socket repl. And since a cons pair for tcp connections is part of the comint API, it made sense to leverage that option. |
Got it. Well, I guess you should make this a bit more explicit in the |
1d2bf1d
to
7f82c3a
Compare
@bbatsov I updated the defcustom doc string, and the readme. Let me know if that description is what you are looking for. |
👍 |
Btw, see #44 - I think we can extend this to something that would offer a much better planck support out-of-the-box |
Coming takes a cons pair for connecting to tcp connections. This allows
inf-clojure
(or settinginf-clojure-program
) to accept a cons pair for connecting to a clojure socket repl server. I tested this with planck viaplanck -n 5555
.