{"action":"created","comment":{"url":"https://api.github.com/repos/clojure-emacs/cider/pulls/comments/27342852","id":27342852,"diff_hunk":"@@ -762,10 +762,34 @@ window.\"\n       (when pos\n         (goto-char pos)))))\n \n+(defun cider-jump-to-resource-or-var (symbol-file)","path":"cider-interaction.el","position":4,"original_position":4,"commit_id":"af47844846183870abf8a23a7126c9c19adbde7f","original_commit_id":"af47844846183870abf8a23a7126c9c19adbde7f","user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"body":"I think `cider-jump-dwim` might be a better name for this.","created_at":"2015-03-28T06:42:19Z","updated_at":"2015-03-28T06:42:19Z","html_url":"https://github.com/clojure-emacs/cider/pull/1036#discussion_r27342852","pull_request_url":"https://api.github.com/repos/clojure-emacs/cider/pulls/1036","_links":{"self":{"href":"https://api.github.com/repos/clojure-emacs/cider/pulls/comments/27342852"},"html":{"href":"https://github.com/clojure-emacs/cider/pull/1036#discussion_r27342852"},"pull_request":{"href":"https://api.github.com/repos/clojure-emacs/cider/pulls/1036"}}},"pull_request":{"url":"https://api.github.com/repos/clojure-emacs/cider/pulls/1036","id":31630669,"html_url":"https://github.com/clojure-emacs/cider/pull/1036","diff_url":"https://github.com/clojure-emacs/cider/pull/1036.diff","patch_url":"https://github.com/clojure-emacs/cider/pull/1036.patch","issue_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1036","number":1036,"state":"open","locked":false,"title":"[#1032] Combine jump-to-var and jump-to-resource into one function.","user":{"login":"EricGebhart","id":3607474,"avatar_url":"https://avatars.githubusercontent.com/u/3607474?v=3","gravatar_id":"","url":"https://api.github.com/users/EricGebhart","html_url":"https://github.com/EricGebhart","followers_url":"https://api.github.com/users/EricGebhart/followers","following_url":"https://api.github.com/users/EricGebhart/following{/other_user}","gists_url":"https://api.github.com/users/EricGebhart/gists{/gist_id}","starred_url":"https://api.github.com/users/EricGebhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricGebhart/subscriptions","organizations_url":"https://api.github.com/users/EricGebhart/orgs","repos_url":"https://api.github.com/users/EricGebhart/repos","events_url":"https://api.github.com/users/EricGebhart/events{/privacy}","received_events_url":"https://api.github.com/users/EricGebhart/received_events","type":"User","site_admin":false},"body":"This adds an entirely new function jump-to-resource-or-var.  \r\nA prompt is given with thing at point as the default.  Thing-at-point uses 'filename as\r\nthat is more leniant than 'symbol.\r\nFirst an attempt is made to find the resource. Upon failure jump to var is attempted.\r\nC-u prefix will cause the result to go to other-window.","created_at":"2015-03-20T16:44:01Z","updated_at":"2015-03-28T06:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28ce89f8add0dcc6a70b5842e56b53bc16be64e6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clojure-emacs/cider/pulls/1036/commits","review_comments_url":"https://api.github.com/repos/clojure-emacs/cider/pulls/1036/comments","review_comment_url":"https://api.github.com/repos/clojure-emacs/cider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1036/comments","statuses_url":"https://api.github.com/repos/clojure-emacs/cider/statuses/af47844846183870abf8a23a7126c9c19adbde7f","head":{"label":"EricGebhart:jump-to","ref":"jump-to","sha":"af47844846183870abf8a23a7126c9c19adbde7f","user":{"login":"EricGebhart","id":3607474,"avatar_url":"https://avatars.githubusercontent.com/u/3607474?v=3","gravatar_id":"","url":"https://api.github.com/users/EricGebhart","html_url":"https://github.com/EricGebhart","followers_url":"https://api.github.com/users/EricGebhart/followers","following_url":"https://api.github.com/users/EricGebhart/following{/other_user}","gists_url":"https://api.github.com/users/EricGebhart/gists{/gist_id}","starred_url":"https://api.github.com/users/EricGebhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricGebhart/subscriptions","organizations_url":"https://api.github.com/users/EricGebhart/orgs","repos_url":"https://api.github.com/users/EricGebhart/repos","events_url":"https://api.github.com/users/EricGebhart/events{/privacy}","received_events_url":"https://api.github.com/users/EricGebhart/received_events","type":"User","site_admin":false},"repo":{"id":32111279,"name":"cider","full_name":"EricGebhart/cider","owner":{"login":"EricGebhart","id":3607474,"avatar_url":"https://avatars.githubusercontent.com/u/3607474?v=3","gravatar_id":"","url":"https://api.github.com/users/EricGebhart","html_url":"https://github.com/EricGebhart","followers_url":"https://api.github.com/users/EricGebhart/followers","following_url":"https://api.github.com/users/EricGebhart/following{/other_user}","gists_url":"https://api.github.com/users/EricGebhart/gists{/gist_id}","starred_url":"https://api.github.com/users/EricGebhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricGebhart/subscriptions","organizations_url":"https://api.github.com/users/EricGebhart/orgs","repos_url":"https://api.github.com/users/EricGebhart/repos","events_url":"https://api.github.com/users/EricGebhart/events{/privacy}","received_events_url":"https://api.github.com/users/EricGebhart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EricGebhart/cider","description":"CIDER is a Clojure Interactive Development Environment that Rocks for Emacs","fork":true,"url":"https://api.github.com/repos/EricGebhart/cider","forks_url":"https://api.github.com/repos/EricGebhart/cider/forks","keys_url":"https://api.github.com/repos/EricGebhart/cider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EricGebhart/cider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EricGebhart/cider/teams","hooks_url":"https://api.github.com/repos/EricGebhart/cider/hooks","issue_events_url":"https://api.github.com/repos/EricGebhart/cider/issues/events{/number}","events_url":"https://api.github.com/repos/EricGebhart/cider/events","assignees_url":"https://api.github.com/repos/EricGebhart/cider/assignees{/user}","branches_url":"https://api.github.com/repos/EricGebhart/cider/branches{/branch}","tags_url":"https://api.github.com/repos/EricGebhart/cider/tags","blobs_url":"https://api.github.com/repos/EricGebhart/cider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EricGebhart/cider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EricGebhart/cider/git/refs{/sha}","trees_url":"https://api.github.com/repos/EricGebhart/cider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EricGebhart/cider/statuses/{sha}","languages_url":"https://api.github.com/repos/EricGebhart/cider/languages","stargazers_url":"https://api.github.com/repos/EricGebhart/cider/stargazers","contributors_url":"https://api.github.com/repos/EricGebhart/cider/contributors","subscribers_url":"https://api.github.com/repos/EricGebhart/cider/subscribers","subscription_url":"https://api.github.com/repos/EricGebhart/cider/subscription","commits_url":"https://api.github.com/repos/EricGebhart/cider/commits{/sha}","git_commits_url":"https://api.github.com/repos/EricGebhart/cider/git/commits{/sha}","comments_url":"https://api.github.com/repos/EricGebhart/cider/comments{/number}","issue_comment_url":"https://api.github.com/repos/EricGebhart/cider/issues/comments{/number}","contents_url":"https://api.github.com/repos/EricGebhart/cider/contents/{+path}","compare_url":"https://api.github.com/repos/EricGebhart/cider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EricGebhart/cider/merges","archive_url":"https://api.github.com/repos/EricGebhart/cider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EricGebhart/cider/downloads","issues_url":"https://api.github.com/repos/EricGebhart/cider/issues{/number}","pulls_url":"https://api.github.com/repos/EricGebhart/cider/pulls{/number}","milestones_url":"https://api.github.com/repos/EricGebhart/cider/milestones{/number}","notifications_url":"https://api.github.com/repos/EricGebhart/cider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EricGebhart/cider/labels{/name}","releases_url":"https://api.github.com/repos/EricGebhart/cider/releases{/id}","created_at":"2015-03-13T00:29:42Z","updated_at":"2015-03-13T00:29:42Z","pushed_at":"2015-03-23T17:38:06Z","git_url":"git://github.com/EricGebhart/cider.git","ssh_url":"git@github.com:EricGebhart/cider.git","clone_url":"https://github.com/EricGebhart/cider.git","svn_url":"https://github.com/EricGebhart/cider","homepage":"","size":4035,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"clojure-emacs:master","ref":"master","sha":"a3083cbded49f2cddb07aebb71ccf4908bba8103","user":{"login":"clojure-emacs","id":5080083,"avatar_url":"https://avatars.githubusercontent.com/u/5080083?v=3","gravatar_id":"","url":"https://api.github.com/users/clojure-emacs","html_url":"https://github.com/clojure-emacs","followers_url":"https://api.github.com/users/clojure-emacs/followers","following_url":"https://api.github.com/users/clojure-emacs/following{/other_user}","gists_url":"https://api.github.com/users/clojure-emacs/gists{/gist_id}","starred_url":"https://api.github.com/users/clojure-emacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clojure-emacs/subscriptions","organizations_url":"https://api.github.com/users/clojure-emacs/orgs","repos_url":"https://api.github.com/users/clojure-emacs/repos","events_url":"https://api.github.com/users/clojure-emacs/events{/privacy}","received_events_url":"https://api.github.com/users/clojure-emacs/received_events","type":"Organization","site_admin":false},"repo":{"id":4118920,"name":"cider","full_name":"clojure-emacs/cider","owner":{"login":"clojure-emacs","id":5080083,"avatar_url":"https://avatars.githubusercontent.com/u/5080083?v=3","gravatar_id":"","url":"https://api.github.com/users/clojure-emacs","html_url":"https://github.com/clojure-emacs","followers_url":"https://api.github.com/users/clojure-emacs/followers","following_url":"https://api.github.com/users/clojure-emacs/following{/other_user}","gists_url":"https://api.github.com/users/clojure-emacs/gists{/gist_id}","starred_url":"https://api.github.com/users/clojure-emacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clojure-emacs/subscriptions","organizations_url":"https://api.github.com/users/clojure-emacs/orgs","repos_url":"https://api.github.com/users/clojure-emacs/repos","events_url":"https://api.github.com/users/clojure-emacs/events{/privacy}","received_events_url":"https://api.github.com/users/clojure-emacs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clojure-emacs/cider","description":"CIDER is a Clojure Interactive Development Environment that Rocks for Emacs","fork":false,"url":"https://api.github.com/repos/clojure-emacs/cider","forks_url":"https://api.github.com/repos/clojure-emacs/cider/forks","keys_url":"https://api.github.com/repos/clojure-emacs/cider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clojure-emacs/cider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clojure-emacs/cider/teams","hooks_url":"https://api.github.com/repos/clojure-emacs/cider/hooks","issue_events_url":"https://api.github.com/repos/clojure-emacs/cider/issues/events{/number}","events_url":"https://api.github.com/repos/clojure-emacs/cider/events","assignees_url":"https://api.github.com/repos/clojure-emacs/cider/assignees{/user}","branches_url":"https://api.github.com/repos/clojure-emacs/cider/branches{/branch}","tags_url":"https://api.github.com/repos/clojure-emacs/cider/tags","blobs_url":"https://api.github.com/repos/clojure-emacs/cider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clojure-emacs/cider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clojure-emacs/cider/git/refs{/sha}","trees_url":"https://api.github.com/repos/clojure-emacs/cider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clojure-emacs/cider/statuses/{sha}","languages_url":"https://api.github.com/repos/clojure-emacs/cider/languages","stargazers_url":"https://api.github.com/repos/clojure-emacs/cider/stargazers","contributors_url":"https://api.github.com/repos/clojure-emacs/cider/contributors","subscribers_url":"https://api.github.com/repos/clojure-emacs/cider/subscribers","subscription_url":"https://api.github.com/repos/clojure-emacs/cider/subscription","commits_url":"https://api.github.com/repos/clojure-emacs/cider/commits{/sha}","git_commits_url":"https://api.github.com/repos/clojure-emacs/cider/git/commits{/sha}","comments_url":"https://api.github.com/repos/clojure-emacs/cider/comments{/number}","issue_comment_url":"https://api.github.com/repos/clojure-emacs/cider/issues/comments{/number}","contents_url":"https://api.github.com/repos/clojure-emacs/cider/contents/{+path}","compare_url":"https://api.github.com/repos/clojure-emacs/cider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clojure-emacs/cider/merges","archive_url":"https://api.github.com/repos/clojure-emacs/cider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clojure-emacs/cider/downloads","issues_url":"https://api.github.com/repos/clojure-emacs/cider/issues{/number}","pulls_url":"https://api.github.com/repos/clojure-emacs/cider/pulls{/number}","milestones_url":"https://api.github.com/repos/clojure-emacs/cider/milestones{/number}","notifications_url":"https://api.github.com/repos/clojure-emacs/cider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clojure-emacs/cider/labels{/name}","releases_url":"https://api.github.com/repos/clojure-emacs/cider/releases{/id}","created_at":"2012-04-23T22:53:44Z","updated_at":"2015-03-28T01:22:04Z","pushed_at":"2015-03-26T22:04:26Z","git_url":"git://github.com/clojure-emacs/cider.git","ssh_url":"git@github.com:clojure-emacs/cider.git","clone_url":"https://github.com/clojure-emacs/cider.git","svn_url":"https://github.com/clojure-emacs/cider","homepage":"","size":10140,"stargazers_count":1223,"watchers_count":1223,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":208,"mirror_url":null,"open_issues_count":49,"forks":208,"open_issues":49,"watchers":1223,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clojure-emacs/cider/pulls/1036"},"html":{"href":"https://github.com/clojure-emacs/cider/pull/1036"},"issue":{"href":"https://api.github.com/repos/clojure-emacs/cider/issues/1036"},"comments":{"href":"https://api.github.com/repos/clojure-emacs/cider/issues/1036/comments"},"review_comments":{"href":"https://api.github.com/repos/clojure-emacs/cider/pulls/1036/comments"},"review_comment":{"href":"https://api.github.com/repos/clojure-emacs/cider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clojure-emacs/cider/pulls/1036/commits"},"statuses":{"href":"https://api.github.com/repos/clojure-emacs/cider/statuses/af47844846183870abf8a23a7126c9c19adbde7f"}}}}