-
-
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
Remote cider-jack-in
breaks with cider-enrich-classpath
: No such file or directory
#3567
Draft
caadr
wants to merge
7
commits into
clojure-emacs:master
Choose a base branch
from
caadr:fix-remote-enrich-classpath-init
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Remote cider-jack-in
breaks with cider-enrich-classpath
: No such file or directory
#3567
caadr
wants to merge
7
commits into
clojure-emacs:master
from
caadr:fix-remote-enrich-classpath-init
Commits on Nov 16, 2023
-
Fix remote
cider-jack-in-clj
breaking withcider-enrich-classpath
c……lojure-emacs#3567 Fixes `cider-jack-in-clj` in tramp buffers throwing: ``` Could not start nREPL server: %s (%S) bash: /remote/path/to/cider/clojure.sh: No such file or directory\n" "exited abnormally with code 127") ``` in cases where cider is not installed in the same directory on the remote. To fix this, we create temporary copy of the enrich-classpath script named `.cider__<clojure.sh|lein.sh>__<random>` on the remote before starting the server. The possible locations of the script are, in this order: - tramp-tempdir (usually "/tmp") - clojure-project-dirj - default-directory If the script can't be created for any reason, the server is started with `cider-enrich-classpath` set to nil. Note: the temporary script will remove itself after use, but stick around when something goes wrong before the remote process is started.
Configuration menu - View commit details
-
Copy full SHA for 44622e5 - Browse repository at this point
Copy the full SHA 44622e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90010d7 - Browse repository at this point
Copy the full SHA 90010d7View commit details -
Remove unnecessary Emacs 29+ setting
`auto-save-visited-mode` will not create any tempfiles anyways, but only save the current file.
Configuration menu - View commit details
-
Copy full SHA for fd4562b - Browse repository at this point
Copy the full SHA fd4562bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 881df67 - Browse repository at this point
Copy the full SHA 881df67View commit details -
Don't try to get the script path in
cider--enriched-cmd-p
We don't need it (yet) and Emacs 26 does not support `split-string-shell-command`. Don't want to fiddle with shell-quoting unless really necessary.
Configuration menu - View commit details
-
Copy full SHA for c663ee9 - Browse repository at this point
Copy the full SHA c663ee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8183c2b - Browse repository at this point
Copy the full SHA 8183c2bView commit details
Commits on Oct 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e68d571 - Browse repository at this point
Copy the full SHA e68d571View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.