File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 25
25
- [ #3402 ] ( https://github.com/clojure-emacs/cider/issues/3402 ) : fix ` cider-format-connection-params ` edge case for Emacs 29.
26
26
- [ #3393 ] ( https://github.com/clojure-emacs/cider/issues/3393 ) : Recompute namespace info on each shadow-cljs recompilation or evaluation.
27
27
- Recompute namespace info on each fighweel-main recompilation.
28
+ - [ #3250 ] ( https://github.com/clojure-emacs/cider/issues/3250 ) : don't lose the CIDER session over TRAMP files.
28
29
- Fix the ` xref-find-definitions ` CIDER backend to return correct filenames.
29
30
- Fix the ` cider-xref-fn-deps ` buttons to direct to the right file.
30
31
- Make TRAMP functionality work when using non-standard ports.
Original file line number Diff line number Diff line change @@ -624,6 +624,8 @@ REPL defaults to the current REPL."
624
624
(when (string-match-p " #uzip" file)
625
625
(let ((avfs-path (directory-file-name (expand-file-name (or (getenv " AVFSBASE" ) " ~/.avfs/" )))))
626
626
(setq file (replace-regexp-in-string avfs-path " " file t t ))))
627
+ (when-let ((tp (cider-tramp-prefix (current-buffer ))))
628
+ (setq file (string-remove-prefix tp file)))
627
629
(when (process-live-p proc)
628
630
(let* ((classpath (or (process-get proc :cached-classpath )
629
631
(let ((cp (with-current-buffer repl
Original file line number Diff line number Diff line change 72
72
(expect (cider-make-tramp-prefix " ssh" " cider-devs" " 192.168.50.9#22" )
73
73
:to-equal " /ssh:cider-devs@192.168.50.9#22:" )
74
74
(expect (cider-make-tramp-prefix " ssh" " cider-devs" " 192.168.50.9" )
75
- :to-equal " /ssh:cider-devs@192.168.50.9#22 :" )
75
+ :to-equal " /ssh:cider-devs@192.168.50.9:" )
76
76
(expect (cider-make-tramp-prefix " ssh" " cider-devs" " 192.168.50.9" " 12345" )
77
77
:to-equal " /ssh:cider-devs@192.168.50.9#12345:" )
78
78
(expect (cider-make-tramp-prefix " ssh" " cider-devs" " 192.168.50.9#12345" )
You can’t perform that action at this time.
0 commit comments