-
-
Notifications
You must be signed in to change notification settings - Fork 651
Closed
Labels
Description
Expected behavior
Opening a local clj file, while connected to a remote repl, should enable cider mode automatically . And after this the evaluation of code should work and happen on the remote REPL.
Actual behavior
Cider-mode does not get enabled, it stays in clojure-mode only. And therefore the "cider eval" commands are not working.
Typying manually "cider-mode" in the buffer does work and the code evaluation works as expected
Steps to reproduce the problem
- Open a local project.clj file
- connect to a remote repl with (cider-connect '(:host "serveo.net" :port 35868 :project-dir "/home/carsten/Dropbox/sources/expertDossier") )
This establishes the connection and the repl can be used. - the current "project.clj" seems to be associated with the repl session, and cider mode is enabled
- the sesman browser seems to suggest that things are linked:
CIDER Sessions:
1: sources/expertDossier:serveo.net:35868
linked-to: proj(~/Dropbox/sources/expertDossier/)
objects: cider-repl %s(clj)
- open a new local clojure file in the same project does NOT enable cider mode.
(running "cider-mode" by hand does work and enable it and it shows the connection information in the mode line)
Environment & Version information
CIDER version information
;; Connected to nREPL server - nrepl://serveo.net:35868
;; CIDER 0.19.0snapshot (package: 20181110.1413), nREPL 0.2.12
;; Clojure 1.9.0, Java 1.8.0_181
Lein/Boot version
Leiningen 2.8.1 on Java 1.8.0_192 OpenJDK 64-Bit Server VM
Emacs version
emacs 26.1
Operating system
arch linux