-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Feature: include helper function for starting socket repls #209
Comments
Nobody's perfect. 😉 I guess it'd be useful to add an option to start a socket REPL straight from Emacs, so feel free to convert this to a PR and we can discuss the code there in more details. |
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 18, 2023
inf-clojure-socket is a helper function to create and connect to a socket REPL from within Emacs.
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 18, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 18, 2023
When multiple REPLs are running, it is hardly useful to evaluate Clojurescript inside a Clojure REPL so there are two global inf-clojure buffers now for each 'sub'-language cljs & clj. When running inf-clojure functions, we take into account the major-mode before deciding which REPL should perform evaluation.
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 18, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 19, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 19, 2023
The user gets asked if they want to close each buffer sequentially. Or whatever their process-kill-query-function dictates.
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 20, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
More simplification, more consistent naming conventions and also cleaning up bugs.
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
inf-clojure-socket is a helper function to create and connect to a socket REPL from within Emacs.
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
When multiple REPLs are running, it is hardly useful to evaluate Clojurescript inside a Clojure REPL so there are two global inf-clojure buffers now for each 'sub'-language cljs & clj. When running inf-clojure functions, we take into account the major-mode before deciding which REPL should perform evaluation.
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
The user gets asked if they want to close each buffer sequentially. Or whatever their process-kill-query-function dictates.
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
More simplification, more consistent naming conventions and also cleaning up bugs.
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 24, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 26, 2023
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 26, 2023
inf-clojure-socket is a helper function to create and connect to a socket REPL from within Emacs. [clojure-emacs#209] pass :repl-type to inf-clojure-connect [clojure-emacs#209] Automatic REPL selection by type When multiple REPLs are running, it is hardly useful to evaluate Clojurescript inside a Clojure REPL so there are two global inf-clojure buffers now for each 'sub'-language cljs & clj. When running inf-clojure functions, we take into account the major-mode before deciding which REPL should perform evaluation. [clojure-emacs#209] Correct changelog PR link [clojure-emacs#209] fix modeline + better socket form support [clojure-emacs#209] close socket buffer when REPL buffer closed The user gets asked if they want to close each buffer sequentially. Or whatever their process-kill-query-function dictates. [clojure-emacs#209] ensure space for clojure cli args [clojure-emacs#209] remove cljs/dual buffer & keep this PR simple [clojure-emacs#209] clean up! [clojure-emacs#209] implement PR feedback More simplification, more consistent naming conventions and also cleaning up bugs. [clojure-emacs#209] linting fixes [clojure-emacs#209] bug fix with manually set socket-repl cmd [clojure-emacs#209] include node-babashka and fix PR remarks
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 26, 2023
inf-clojure-socket is a helper function to create and connect to a socket REPL from within Emacs. [clojure-emacs#209] pass :repl-type to inf-clojure-connect [clojure-emacs#209] Automatic REPL selection by type When multiple REPLs are running, it is hardly useful to evaluate Clojurescript inside a Clojure REPL so there are two global inf-clojure buffers now for each 'sub'-language cljs & clj. When running inf-clojure functions, we take into account the major-mode before deciding which REPL should perform evaluation. [clojure-emacs#209] Correct changelog PR link [clojure-emacs#209] fix modeline + better socket form support [clojure-emacs#209] close socket buffer when REPL buffer closed The user gets asked if they want to close each buffer sequentially. Or whatever their process-kill-query-function dictates. [clojure-emacs#209] ensure space for clojure cli args [clojure-emacs#209] remove cljs/dual buffer & keep this PR simple [clojure-emacs#209] clean up! [clojure-emacs#209] implement PR feedback More simplification, more consistent naming conventions and also cleaning up bugs. [clojure-emacs#209] linting fixes [clojure-emacs#209] bug fix with manually set socket-repl cmd [clojure-emacs#209] include node-babashka and fix PR remarks
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 26, 2023
inf-clojure-socket is a helper function to create and connect to a socket REPL from within Emacs. [clojure-emacs#209] pass :repl-type to inf-clojure-connect [clojure-emacs#209] Automatic REPL selection by type When multiple REPLs are running, it is hardly useful to evaluate Clojurescript inside a Clojure REPL so there are two global inf-clojure buffers now for each 'sub'-language cljs & clj. When running inf-clojure functions, we take into account the major-mode before deciding which REPL should perform evaluation. [clojure-emacs#209] Correct changelog PR link [clojure-emacs#209] fix modeline + better socket form support [clojure-emacs#209] close socket buffer when REPL buffer closed The user gets asked if they want to close each buffer sequentially. Or whatever their process-kill-query-function dictates. [clojure-emacs#209] ensure space for clojure cli args [clojure-emacs#209] remove cljs/dual buffer & keep this PR simple [clojure-emacs#209] clean up! [clojure-emacs#209] implement PR feedback More simplification, more consistent naming conventions and also cleaning up bugs. [clojure-emacs#209] linting fixes [clojure-emacs#209] bug fix with manually set socket-repl cmd [clojure-emacs#209] include node-babashka and fix PR remarks
mikepjb
pushed a commit
to mikepjb/inf-clojure
that referenced
this issue
Mar 26, 2023
inf-clojure-socket is a helper function to create and connect to a socket REPL from within Emacs. [clojure-emacs#209] pass :repl-type to inf-clojure-connect [clojure-emacs#209] Automatic REPL selection by type When multiple REPLs are running, it is hardly useful to evaluate Clojurescript inside a Clojure REPL so there are two global inf-clojure buffers now for each 'sub'-language cljs & clj. When running inf-clojure functions, we take into account the major-mode before deciding which REPL should perform evaluation. [clojure-emacs#209] Correct changelog PR link [clojure-emacs#209] fix modeline + better socket form support [clojure-emacs#209] close socket buffer when REPL buffer closed The user gets asked if they want to close each buffer sequentially. Or whatever their process-kill-query-function dictates. [clojure-emacs#209] ensure space for clojure cli args [clojure-emacs#209] remove cljs/dual buffer & keep this PR simple [clojure-emacs#209] clean up! [clojure-emacs#209] implement PR feedback More simplification, more consistent naming conventions and also cleaning up bugs. [clojure-emacs#209] linting fixes [clojure-emacs#209] bug fix with manually set socket-repl cmd [clojure-emacs#209] include node-babashka and fix PR remarks
bbatsov
pushed a commit
that referenced
this issue
Mar 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys,
Just started using inf-clojure and it's great as a simple tool.
I wrote a helper function for my personal use that I think may be useful to include in inf-clojure - let me know what you think, I'd like to improve & contribute this myself if you think it's worth including.
The code itself is loosely based on how cider does it's jack-in/spawning processes, I used the code there as a reference.
(also please excuse the elisp, I'm a long time vim user 😉)
The text was updated successfully, but these errors were encountered: