{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/1758","repository_url":"https://api.github.com/repos/clojure-emacs/cider","labels_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1758/comments","events_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1758/events","html_url":"https://github.com/clojure-emacs/cider/issues/1758","id":156184954,"number":1758,"title":"Cider locks up Emacs regularly after cider-connect","user":{"login":"mrrodriguez","id":3483575,"avatar_url":"https://avatars.githubusercontent.com/u/3483575?v=3","gravatar_id":"","url":"https://api.github.com/users/mrrodriguez","html_url":"https://github.com/mrrodriguez","followers_url":"https://api.github.com/users/mrrodriguez/followers","following_url":"https://api.github.com/users/mrrodriguez/following{/other_user}","gists_url":"https://api.github.com/users/mrrodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/mrrodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrrodriguez/subscriptions","organizations_url":"https://api.github.com/users/mrrodriguez/orgs","repos_url":"https://api.github.com/users/mrrodriguez/repos","events_url":"https://api.github.com/users/mrrodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/mrrodriguez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/clojure-emacs/cider/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/clojure-emacs/cider/labels/help%20wanted","name":"help wanted","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-05-23T01:26:24Z","updated_at":"2016-09-28T14:12:52Z","closed_at":null,"body":"## Expected behavior\r\n\r\nWhen using cider-connect to connect to a pre-existing nREPL server, I expect it to connect and be responsive once the prompt is available.  As I continue to interact and work in the REPL I do not expect frequent lock-ups that lock up Emacs itself, not only the REPL prompt.\r\n\r\n## Actual behavior\r\n\r\nI use cider-connect to connect to a pre-existing nREPL server.  I get a prompt fairly quickly with something like\r\n```\r\nuser>\r\n```\r\n\r\nHowever, if I try to type any character, Emacs/Cider becomes fully locked up.  This lasts for anywhere from 5-10 seconds.  Once it becomes responsive again, some characters I typed during the lock-up typically show up.  Then I can start requiring my namespaces etc.  This all happens at normal speeds at this point.  However, frequently as I am doing more work in the editor with this connection present, I get frequent lock-ups again that lock the whole editor.  I do not know what it is doing during this time.\r\n\r\n## Steps to reproduce the problem\r\n\r\nMy steps above are all you need to do to see this problem.\r\n\r\n## Environment & Version information\r\n\r\n### CIDER version information\r\n\r\n```\r\n;; CIDER 0.12.0  nREPL 0.2.12\r\n;; Clojure 1.8.0, Java 1.8.0_91\r\n```\r\n\r\nNote: I see the same behavior in Java 6 as well.\r\n\r\n### Lein/Boot version\r\n\r\n```\r\nLein 2.6.1\r\n```\r\n\r\n### Emacs version\r\n\r\n```\r\nGNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org\r\n```\r\n\r\n### Operating system\r\n\r\n```\r\nOS X 10.11.4 \"El Capitan\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/clojure-emacs/cider/issues/comments/250178293","html_url":"https://github.com/clojure-emacs/cider/issues/1758#issuecomment-250178293","issue_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1758","id":250178293,"user":{"login":"amoe","id":883725,"avatar_url":"https://avatars.githubusercontent.com/u/883725?v=3","gravatar_id":"","url":"https://api.github.com/users/amoe","html_url":"https://github.com/amoe","followers_url":"https://api.github.com/users/amoe/followers","following_url":"https://api.github.com/users/amoe/following{/other_user}","gists_url":"https://api.github.com/users/amoe/gists{/gist_id}","starred_url":"https://api.github.com/users/amoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amoe/subscriptions","organizations_url":"https://api.github.com/users/amoe/orgs","repos_url":"https://api.github.com/users/amoe/repos","events_url":"https://api.github.com/users/amoe/events{/privacy}","received_events_url":"https://api.github.com/users/amoe/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T14:12:52Z","updated_at":"2016-09-28T14:12:52Z","body":"I was having this problem for a long time, maybe 4 or 5 months, but didn't get time to investigate it until a week or so ago, despite how painful it was.  The problem is exactly as described by @mrrodriguez above.  I was working with largish projects (>50 ns, >5000 LOC etc).  Anyway -- setting `nrepl-log-messages` to nil did indeed fix it.  I also eliminated the other variable settings: `cider-font-lock-dynamically` did not affect the lag, and neither did the presence of eldoc.\r\n\r\n    ;; CIDER 0.13.0 (California), nREPL 0.2.12\r\n    ;; Clojure 1.8.0, Java 1.8.0_102\r\n\r\nThis is Emacs 24.5.1 on Debian unstable."}}
{"actor":{"display_login":"amoe"}}