{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/2399","repository_url":"https://api.github.com/repos/clojure-emacs/cider","labels_url":"https://api.github.com/repos/clojure-emacs/cider/issues/2399/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/cider/issues/2399/comments","events_url":"https://api.github.com/repos/clojure-emacs/cider/issues/2399/events","html_url":"https://github.com/clojure-emacs/cider/issues/2399","id":347878611,"node_id":"MDU6SXNzdWUzNDc4Nzg2MTE=","number":2399,"title":"Can't change namespace in REPL with cider-repl-set-ns","user":{"login":"manuel-uberti","id":8199224,"node_id":"MDQ6VXNlcjgxOTkyMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8199224?v=4","gravatar_id":"","url":"https://api.github.com/users/manuel-uberti","html_url":"https://github.com/manuel-uberti","followers_url":"https://api.github.com/users/manuel-uberti/followers","following_url":"https://api.github.com/users/manuel-uberti/following{/other_user}","gists_url":"https://api.github.com/users/manuel-uberti/gists{/gist_id}","starred_url":"https://api.github.com/users/manuel-uberti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuel-uberti/subscriptions","organizations_url":"https://api.github.com/users/manuel-uberti/orgs","repos_url":"https://api.github.com/users/manuel-uberti/repos","events_url":"https://api.github.com/users/manuel-uberti/events{/privacy}","received_events_url":"https://api.github.com/users/manuel-uberti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-06T11:06:00Z","updated_at":"2018-08-06T12:46:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Expected behavior\r\nPressing <kbd>C-c M-n M-n</kbd> in a Clojure file sets its namespace in the REPL.\r\n\r\n## Actual behavior\r\nThe REPL shows `user>` and the REPL mode-line shows `REPL[clj][===]` with the spinner running endlessly.\r\n\r\n## Steps to reproduce the problem\r\nI have a `deps.edn` with this content:\r\n```\r\n{:deps {org.clojure/clojure {:mvn/version \"1.9.0\"}}\r\n :paths [\"src\"]\r\n :aliases\r\n {:test {:extra-paths [\"test\"]\r\n         :extra-deps\r\n         {com.cognitect/test-runner\r\n          {:git/url \"https://github.com/cognitect-labs/test-runner.git\"\r\n           :sha \"5fb4fc46ad0bf2e0ce45eba5b9117a2e89166479\"}}\r\n         :main-opts [\"-m\" \"cognitect.test-runner\"]}}}\r\n```\r\nIn a Clojure file in `src/test_project`, I press <kbd>C-c C-x j j</kbd> and then I press <kbd>C-c M-n M-n</kbd>.\r\n\r\n## Environment & Version information\r\n\r\n### CIDER version information\r\n\r\n```\r\n;; CIDER 0.18.0snapshot (package: 20180806.728), nREPL 0.4.4\r\n;; Clojure 1.9.0, Java 1.8.0_171\r\n```\r\n\r\n### System details\r\n\r\n```\r\nGNU Emacs 27.0.50 (build 1, x86_64-debian-linux-gnu, GTK+ Version 3.22.30)\r\n of 2018-08-06\r\n\r\nRepository revision: 9c022a488bd462b85895ef84313fe84c5bc2bb4d\r\nConfigured using:\r\n--host=x86_64-debian-linux-gnu --with-modules host_alias=x86_64-debian-linux-gnu\r\n\r\nEmacs uptime: 5 minutes, 39 seconds\r\nColour theme: sanityinc-tomorrow-night\r\nOperating system: Ubuntu 18.04.1 LTS\r\nWindow system: x11\r\nDesktop environment: GNOME Shell 3.28.2\r\n```"},"comment":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/comments/410695890","html_url":"https://github.com/clojure-emacs/cider/issues/2399#issuecomment-410695890","issue_url":"https://api.github.com/repos/clojure-emacs/cider/issues/2399","id":410695890,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDY5NTg5MA==","user":{"login":"manuel-uberti","id":8199224,"node_id":"MDQ6VXNlcjgxOTkyMjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8199224?v=4","gravatar_id":"","url":"https://api.github.com/users/manuel-uberti","html_url":"https://github.com/manuel-uberti","followers_url":"https://api.github.com/users/manuel-uberti/followers","following_url":"https://api.github.com/users/manuel-uberti/following{/other_user}","gists_url":"https://api.github.com/users/manuel-uberti/gists{/gist_id}","starred_url":"https://api.github.com/users/manuel-uberti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuel-uberti/subscriptions","organizations_url":"https://api.github.com/users/manuel-uberti/orgs","repos_url":"https://api.github.com/users/manuel-uberti/repos","events_url":"https://api.github.com/users/manuel-uberti/events{/privacy}","received_events_url":"https://api.github.com/users/manuel-uberti/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T12:46:30Z","updated_at":"2018-08-06T12:46:30Z","author_association":"CONTRIBUTOR","body":"I tried `C-c C-k`, and this is what I get:\r\n```\r\n(-->\r\n  id         \"1\"\r\n  op         \"clone\"\r\n  time-stamp \"2018-08-06 14:44:53.484385342\"\r\n)\r\n(<--\r\n  id          \"1\"\r\n  session     \"dd258e80-b7c6-4eb0-a4be-4b77b9341fce\"\r\n  time-stamp  \"2018-08-06 14:44:53.520358835\"\r\n  new-session \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  status      (\"done\")\r\n)\r\n(-->\r\n  id         \"2\"\r\n  op         \"clone\"\r\n  time-stamp \"2018-08-06 14:44:53.537098583\"\r\n)\r\n(<--\r\n  id          \"2\"\r\n  session     \"8ddafc5a-1a83-41eb-93c2-acac15df0ecb\"\r\n  time-stamp  \"2018-08-06 14:44:53.538773850\"\r\n  new-session \"d8f5830c-8498-4dee-9129-85c4adde4e8d\"\r\n  status      (\"done\")\r\n)\r\n(-->\r\n  id         \"3\"\r\n  op         \"describe\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.557840673\"\r\n)\r\n(<--\r\n  id         \"3\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.577603885\"\r\n  aux        (dict ...)\r\n  ops        (dict ...)\r\n  status     (\"done\")\r\n  versions   (dict ...)\r\n)\r\n(-->\r\n  id                       \"4\"\r\n  op                       \"eval\"\r\n  session                  \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp               \"2018-08-06 14:44:53.728724262\"\r\n  code                     \"(str *ns*)\"\r\n  inhibit-cider-middleware \"true\"\r\n)\r\n(<--\r\n  id         \"4\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.742402816\"\r\n  ns         \"user\"\r\n  value      \"\\\"user\\\"\"\r\n)\r\n(<--\r\n  id         \"4\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.783269516\"\r\n  status     (\"done\")\r\n)\r\n(-->\r\n  id                       \"5\"\r\n  op                       \"eval\"\r\n  session                  \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp               \"2018-08-06 14:44:53.803263598\"\r\n  code                     \"(when (clojure.core/resolve 'clojure.main/repl-requires)\r\n   ...\"\r\n  inhibit-cider-middleware \"true\"\r\n)\r\n(<--\r\n  id         \"5\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.834678588\"\r\n  ns         \"user\"\r\n  value      \"(nil nil nil)\"\r\n)\r\n(<--\r\n  id         \"5\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.875242050\"\r\n  status     (\"done\")\r\n)\r\n(-->\r\n  id                       \"6\"\r\n  op                       \"eval\"\r\n  session                  \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp               \"2018-08-06 14:44:53.885807383\"\r\n  code                     \"(do (set! *print-length* 100))\"\r\n  inhibit-cider-middleware \"true\"\r\n)\r\n(<--\r\n  id         \"6\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.889375753\"\r\n  ns         \"user\"\r\n  value      \"100\"\r\n)\r\n(<--\r\n  id         \"6\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.931550633\"\r\n  status     (\"done\")\r\n)\r\n(-->\r\n  id         \"7\"\r\n  op         \"out-subscribe\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:44:53.960621132\"\r\n)\r\n(-->\r\n  id           \"8\"\r\n  op           \"init-debugger\"\r\n  session      \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp   \"2018-08-06 14:44:53.964737870\"\r\n  print-length 10\r\n  print-length 10\r\n  print-length 10\r\n  print-length 10\r\n  print-length 10\r\n  print-length 10\r\n  print-length 10\r\n  print-length 10\r\n  print-level  10\r\n  print-level  10\r\n  print-level  10\r\n  print-level  10\r\n  print-level  10\r\n  print-level  10\r\n  print-level  10\r\n  print-level  10\r\n)\r\n(-->\r\n  id               \"9\"\r\n  op               \"version\"\r\n  session          \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp       \"2018-08-06 14:44:53.971172745\"\r\n  debug            \"false\"\r\n  prefix-rewriting \"false\"\r\n)\r\n(-->\r\n  id         \"10\"\r\n  op         \"eldoc\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:45:20.199486102\"\r\n  ns         \"user\"\r\n  symbol     \"Results:\"\r\n)\r\n(-->\r\n  id         \"11\"\r\n  op         \"eldoc\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:45:22.864682386\"\r\n  ns         \"user\"\r\n  symbol     \"Results:\"\r\n)\r\n(-->\r\n  id         \"12\"\r\n  op         \"load-file\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:45:24.857099138\"\r\n  file       \"(ns clj-graph.graph)\r\n\r\n(defn adjacent?\r\n  \"Check there is an e...\"\r\n  file-name  \"graph.clj\"\r\n  file-path  \"/home/manuel/7bridges/code/clj-graph/src/clj_graph/graph.clj\"\r\n)\r\n(-->\r\n  id         \"13\"\r\n  op         \"eldoc\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:45:52.747024426\"\r\n  ns         \"clj-graph.graph\"\r\n  symbol     \"assoc\"\r\n)\r\n(-->\r\n  id         \"14\"\r\n  op         \"eldoc\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:45:53.202686098\"\r\n  ns         \"clj-graph.graph\"\r\n  symbol     \"assoc\"\r\n)\r\n(-->\r\n  id         \"15\"\r\n  op         \"eldoc\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:45:53.323477507\"\r\n  ns         \"clj-graph.graph\"\r\n  symbol     \"assoc\"\r\n)\r\n(-->\r\n  id         \"16\"\r\n  op         \"eldoc\"\r\n  session    \"d9ecf8e4-5af1-4eb9-bf9a-720376978227\"\r\n  time-stamp \"2018-08-06 14:45:53.369536184\"\r\n  ns         \"clj-graph.graph\"\r\n  symbol     \"assoc\"\r\n)\r\n```"}}
{"actor":{"display_login":"manuel-uberti"}}