{"action":"opened","issue":{"url":"https://api.github.com/repos/mfikes/planck/issues/37","labels_url":"https://api.github.com/repos/mfikes/planck/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/mfikes/planck/issues/37/comments","events_url":"https://api.github.com/repos/mfikes/planck/issues/37/events","html_url":"https://github.com/mfikes/planck/issues/37","id":99437356,"number":37,"title":"Only complete REPL specials if right position","user":{"login":"mfikes","id":1723464,"avatar_url":"https://avatars.githubusercontent.com/u/1723464?v=3","gravatar_id":"","url":"https://api.github.com/users/mfikes","html_url":"https://github.com/mfikes","followers_url":"https://api.github.com/users/mfikes/followers","following_url":"https://api.github.com/users/mfikes/following{/other_user}","gists_url":"https://api.github.com/users/mfikes/gists{/gist_id}","starred_url":"https://api.github.com/users/mfikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfikes/subscriptions","organizations_url":"https://api.github.com/users/mfikes/orgs","repos_url":"https://api.github.com/users/mfikes/repos","events_url":"https://api.github.com/users/mfikes/events{/privacy}","received_events_url":"https://api.github.com/users/mfikes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mfikes/planck/labels/newbie","name":"newbie","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-06T13:45:40Z","updated_at":"2015-08-06T13:45:40Z","closed_at":null,"body":"REPL specials must be in operator position of top form. For example\r\n\r\n```\r\n(in-ns 'foo.bar)\r\n```\r\n\r\nworks, but not \r\n\r\n```\r\n(do (in-ns 'foo.bar))\r\n```\r\n\r\n(That's just the way ClojureScript REPL specials work.)\r\n\r\nSo, when providing completions, without involving the reader, it is probably simple enough to use a regular expression to see if the line buffer looks like `(in-` or even `   ( in-` (spaces prior to or after the opening paren, and in and only in that case, add REPL specials to the completions.\r\n\r\nSee #33"}}