{"action":"opened","number":1041,"pull_request":{"url":"https://api.github.com/repos/clojure-emacs/cider/pulls/1041","id":31688402,"html_url":"https://github.com/clojure-emacs/cider/pull/1041","diff_url":"https://github.com/clojure-emacs/cider/pull/1041.diff","patch_url":"https://github.com/clojure-emacs/cider/pull/1041.patch","issue_url":"https://api.github.com/repos/clojure-emacs/cider/issues/1041","number":1041,"state":"open","locked":false,"title":"Add support for refresh middleware","user":{"login":"cichli","id":1759291,"avatar_url":"https://avatars.githubusercontent.com/u/1759291?v=3","gravatar_id":"","url":"https://api.github.com/users/cichli","html_url":"https://github.com/cichli","followers_url":"https://api.github.com/users/cichli/followers","following_url":"https://api.github.com/users/cichli/following{/other_user}","gists_url":"https://api.github.com/users/cichli/gists{/gist_id}","starred_url":"https://api.github.com/users/cichli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cichli/subscriptions","organizations_url":"https://api.github.com/users/cichli/orgs","repos_url":"https://api.github.com/users/cichli/repos","events_url":"https://api.github.com/users/cichli/events{/privacy}","received_events_url":"https://api.github.com/users/cichli/received_events","type":"User","site_admin":false},"body":"See clojure-emacs/cider-nrepl#173.\r\n\r\nCurrently this just works like an interactive eval - the printed results from calling `refresh` are sent to the REPL buffer and the result (either `:ok` or the exception) are printed in the echo area.\r\n\r\n`refresh` actually returns the last exception if any are thrown. We can add a custom transport to the middleware if we want to rethrow it and display the error buffer/compilation error highlighting. Will do that as a separate enhancement if you like.","created_at":"2015-03-22T14:22:57Z","updated_at":"2015-03-22T14:22:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clojure-emacs/cider/pulls/1041/commits","review_comments_url":"https://api.github.com/repos/clojure-emacs/cider/pulls/1041/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/1041/comments","statuses_url":"https://api.github.com/repos/clojure-emacs/cider/statuses/2c2ea2f840add4f415cf075179bd86604fb95737","head":{"label":"cichli:refresh","ref":"refresh","sha":"2c2ea2f840add4f415cf075179bd86604fb95737","user":{"login":"cichli","id":1759291,"avatar_url":"https://avatars.githubusercontent.com/u/1759291?v=3","gravatar_id":"","url":"https://api.github.com/users/cichli","html_url":"https://github.com/cichli","followers_url":"https://api.github.com/users/cichli/followers","following_url":"https://api.github.com/users/cichli/following{/other_user}","gists_url":"https://api.github.com/users/cichli/gists{/gist_id}","starred_url":"https://api.github.com/users/cichli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cichli/subscriptions","organizations_url":"https://api.github.com/users/cichli/orgs","repos_url":"https://api.github.com/users/cichli/repos","events_url":"https://api.github.com/users/cichli/events{/privacy}","received_events_url":"https://api.github.com/users/cichli/received_events","type":"User","site_admin":false},"repo":{"id":20312004,"name":"cider","full_name":"cichli/cider","owner":{"login":"cichli","id":1759291,"avatar_url":"https://avatars.githubusercontent.com/u/1759291?v=3","gravatar_id":"","url":"https://api.github.com/users/cichli","html_url":"https://github.com/cichli","followers_url":"https://api.github.com/users/cichli/followers","following_url":"https://api.github.com/users/cichli/following{/other_user}","gists_url":"https://api.github.com/users/cichli/gists{/gist_id}","starred_url":"https://api.github.com/users/cichli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cichli/subscriptions","organizations_url":"https://api.github.com/users/cichli/orgs","repos_url":"https://api.github.com/users/cichli/repos","events_url":"https://api.github.com/users/cichli/events{/privacy}","received_events_url":"https://api.github.com/users/cichli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cichli/cider","description":"CIDER is a Clojure IDE and REPL for Emacs","fork":true,"url":"https://api.github.com/repos/cichli/cider","forks_url":"https://api.github.com/repos/cichli/cider/forks","keys_url":"https://api.github.com/repos/cichli/cider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cichli/cider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cichli/cider/teams","hooks_url":"https://api.github.com/repos/cichli/cider/hooks","issue_events_url":"https://api.github.com/repos/cichli/cider/issues/events{/number}","events_url":"https://api.github.com/repos/cichli/cider/events","assignees_url":"https://api.github.com/repos/cichli/cider/assignees{/user}","branches_url":"https://api.github.com/repos/cichli/cider/branches{/branch}","tags_url":"https://api.github.com/repos/cichli/cider/tags","blobs_url":"https://api.github.com/repos/cichli/cider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cichli/cider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cichli/cider/git/refs{/sha}","trees_url":"https://api.github.com/repos/cichli/cider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cichli/cider/statuses/{sha}","languages_url":"https://api.github.com/repos/cichli/cider/languages","stargazers_url":"https://api.github.com/repos/cichli/cider/stargazers","contributors_url":"https://api.github.com/repos/cichli/cider/contributors","subscribers_url":"https://api.github.com/repos/cichli/cider/subscribers","subscription_url":"https://api.github.com/repos/cichli/cider/subscription","commits_url":"https://api.github.com/repos/cichli/cider/commits{/sha}","git_commits_url":"https://api.github.com/repos/cichli/cider/git/commits{/sha}","comments_url":"https://api.github.com/repos/cichli/cider/comments{/number}","issue_comment_url":"https://api.github.com/repos/cichli/cider/issues/comments{/number}","contents_url":"https://api.github.com/repos/cichli/cider/contents/{+path}","compare_url":"https://api.github.com/repos/cichli/cider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cichli/cider/merges","archive_url":"https://api.github.com/repos/cichli/cider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cichli/cider/downloads","issues_url":"https://api.github.com/repos/cichli/cider/issues{/number}","pulls_url":"https://api.github.com/repos/cichli/cider/pulls{/number}","milestones_url":"https://api.github.com/repos/cichli/cider/milestones{/number}","notifications_url":"https://api.github.com/repos/cichli/cider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cichli/cider/labels{/name}","releases_url":"https://api.github.com/repos/cichli/cider/releases{/id}","created_at":"2014-05-29T23:59:44Z","updated_at":"2015-03-21T07:50:18Z","pushed_at":"2015-03-22T14:09:51Z","git_url":"git://github.com/cichli/cider.git","ssh_url":"git@github.com:cichli/cider.git","clone_url":"https://github.com/cichli/cider.git","svn_url":"https://github.com/cichli/cider","homepage":"","size":4200,"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":"eadac9f21756298671aba31a40837ce8370d14af","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-22T10:32:11Z","pushed_at":"2015-03-21T20:22:50Z","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":9967,"stargazers_count":1211,"watchers_count":1211,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":203,"mirror_url":null,"open_issues_count":48,"forks":203,"open_issues":48,"watchers":1211,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clojure-emacs/cider/pulls/1041"},"html":{"href":"https://github.com/clojure-emacs/cider/pull/1041"},"issue":{"href":"https://api.github.com/repos/clojure-emacs/cider/issues/1041"},"comments":{"href":"https://api.github.com/repos/clojure-emacs/cider/issues/1041/comments"},"review_comments":{"href":"https://api.github.com/repos/clojure-emacs/cider/pulls/1041/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/1041/commits"},"statuses":{"href":"https://api.github.com/repos/clojure-emacs/cider/statuses/2c2ea2f840add4f415cf075179bd86604fb95737"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":4,"changed_files":1}}