{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-server/issues/1010","labels_url":"https://api.github.com/repos/ensime/ensime-server/issues/1010/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-server/issues/1010/comments","events_url":"https://api.github.com/repos/ensime/ensime-server/issues/1010/events","html_url":"https://github.com/ensime/ensime-server/issues/1010","id":90586142,"number":1010,"title":"DocURIAtPoint not working in Emacs","user":{"login":"rorygraves","id":2352078,"avatar_url":"https://avatars.githubusercontent.com/u/2352078?v=3","gravatar_id":"","url":"https://api.github.com/users/rorygraves","html_url":"https://github.com/rorygraves","followers_url":"https://api.github.com/users/rorygraves/followers","following_url":"https://api.github.com/users/rorygraves/following{/other_user}","gists_url":"https://api.github.com/users/rorygraves/gists{/gist_id}","starred_url":"https://api.github.com/users/rorygraves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorygraves/subscriptions","organizations_url":"https://api.github.com/users/rorygraves/orgs","repos_url":"https://api.github.com/users/rorygraves/repos","events_url":"https://api.github.com/users/rorygraves/events{/privacy}","received_events_url":"https://api.github.com/users/rorygraves/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ensime/ensime-server/labels/Emacs","name":"Emacs","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ensime/ensime-server/milestones/8","html_url":"https://github.com/ensime/ensime-server/milestones/Stable%201.0","labels_url":"https://api.github.com/repos/ensime/ensime-server/milestones/8/labels","id":916638,"number":8,"title":"Stable 1.0","description":"A stable release which will have permanent versions of the sbt-plugin and server for scala 2.9.2, 2.9.3, 2.10 and 2.11 in maven central, and a corresponding stable release in MELPA.\r\n\r\nThis will be the last version to support scala 2.9 and only serious bugfixes will cause new versions to be released.\r\n\r\nWhen released, the rolling release will become more experimental and the protocol is likely to be redesigned.\r\n\r\nTickets should only be added to this milestone if you actively plan to work on them.","creator":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":31,"state":"open","created_at":"2014-12-29T12:44:02Z","updated_at":"2015-06-24T08:18:48Z","due_on":"2015-03-30T23:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-24T06:51:40Z","updated_at":"2015-06-24T10:26:08Z","closed_at":null,"body":"@tbje @reactormonk reported\r\n\r\n  ```\r\nSynchronous RPC Aborted: Malformed swank:doc-uri-at-point call: (swank:doc-uri-at-point \"/home/tbje/scalatrain/src/main/scala/misc/Queue.scala\" 350)\r\n```\r\n\r\nI think this is due to one of the protocol refactors - OffsetRange used to accept\r\n\r\n```(1 10)``` and ```10``` - I suspect that the parser now only accepts the first form (which emacs is not generating for a single point.  @fommil Was this lost in one of your refactors?\r\n\r\nWe either need to fix emacs to only send the range form or fix the server to accept the point form.\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22898000-docuriatpoint-not-working-in-emacs?utm_campaign=plugin&utm_content=tracker%2F239449&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F239449&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/ensime/ensime-server/issues/comments/114816934","html_url":"https://github.com/ensime/ensime-server/issues/1010#issuecomment-114816934","issue_url":"https://api.github.com/repos/ensime/ensime-server/issues/1010","id":114816934,"user":{"login":"tbje","id":91761,"avatar_url":"https://avatars.githubusercontent.com/u/91761?v=3","gravatar_id":"","url":"https://api.github.com/users/tbje","html_url":"https://github.com/tbje","followers_url":"https://api.github.com/users/tbje/followers","following_url":"https://api.github.com/users/tbje/following{/other_user}","gists_url":"https://api.github.com/users/tbje/gists{/gist_id}","starred_url":"https://api.github.com/users/tbje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbje/subscriptions","organizations_url":"https://api.github.com/users/tbje/orgs","repos_url":"https://api.github.com/users/tbje/repos","events_url":"https://api.github.com/users/tbje/events{/privacy}","received_events_url":"https://api.github.com/users/tbje/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T10:26:07Z","updated_at":"2015-06-24T10:26:07Z","body":"https://github.com/ensime/ensime-emacs/blob/master/ensime-client.el#L880-L882\r\n\r\n(defun ensime-rpc-doc-uri-at-point (file point)\r\n  (ensime-eval\r\n   `(swank:doc-uri-at-point ,file (,point ,point))))\r\n\r\nseems to work better."}}