{"action":"created","comment":{"url":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/comments/85642988","pull_request_review_id":6349747,"id":85642988,"diff_hunk":"@@ -282,6 +284,20 @@ The following commands are available:\n       (inf-ruby-remove-in-string (buffer-substring (point) end)\n                                  inf-ruby-prompt-pattern))))\n \n+(defun inf-ruby-buffer ()\n+  \"Return inf-ruby buffer for the current buffer or project.\"\n+  (catch 'buffer\n+    (let ((current-dir         (file-truename default-directory))","path":"inf-ruby.el","position":18,"original_position":18,"commit_id":"a04289a7abd137817b3f2d911ac467d4589601a4","original_commit_id":"a04289a7abd137817b3f2d911ac467d4589601a4","user":{"login":"dgutov","id":271877,"avatar_url":"https://avatars.githubusercontent.com/u/271877?v=3","gravatar_id":"","url":"https://api.github.com/users/dgutov","html_url":"https://github.com/dgutov","followers_url":"https://api.github.com/users/dgutov/followers","following_url":"https://api.github.com/users/dgutov/following{/other_user}","gists_url":"https://api.github.com/users/dgutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dgutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgutov/subscriptions","organizations_url":"https://api.github.com/users/dgutov/orgs","repos_url":"https://api.github.com/users/dgutov/repos","events_url":"https://api.github.com/users/dgutov/events{/privacy}","received_events_url":"https://api.github.com/users/dgutov/received_events","type":"User","site_admin":false},"body":"Then, until we know better, I'd prefer `expand-file-name`.","created_at":"2016-10-29T15:55:38Z","updated_at":"2016-10-29T15:55:39Z","html_url":"https://github.com/nonsequitur/inf-ruby/pull/91#discussion_r85642988","pull_request_url":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/comments/85642988"},"html":{"href":"https://github.com/nonsequitur/inf-ruby/pull/91#discussion_r85642988"},"pull_request":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/91","id":90208317,"html_url":"https://github.com/nonsequitur/inf-ruby/pull/91","diff_url":"https://github.com/nonsequitur/inf-ruby/pull/91.diff","patch_url":"https://github.com/nonsequitur/inf-ruby/pull/91.patch","issue_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/91","number":91,"state":"open","locked":false,"title":"Allow running multiple inf-ruby process","user":{"login":"asok","id":120457,"avatar_url":"https://avatars.githubusercontent.com/u/120457?v=3","gravatar_id":"","url":"https://api.github.com/users/asok","html_url":"https://github.com/asok","followers_url":"https://api.github.com/users/asok/followers","following_url":"https://api.github.com/users/asok/following{/other_user}","gists_url":"https://api.github.com/users/asok/gists{/gist_id}","starred_url":"https://api.github.com/users/asok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asok/subscriptions","organizations_url":"https://api.github.com/users/asok/orgs","repos_url":"https://api.github.com/users/asok/repos","events_url":"https://api.github.com/users/asok/events{/privacy}","received_events_url":"https://api.github.com/users/asok/received_events","type":"User","site_admin":false},"body":"* allows to run inf-ruby process per project\r\n* a project is a directory with \"Gemfile\" file\r\n* the inf-ruby buffers are aggregated into a alist `inf-ruby-buffers`\r\n* making the comint buffer name uniq might now be ideal. The first will be called `*ruby*` the second one `*ruby*<2>`. Maybe you guys will know how to handle it better?","created_at":"2016-10-20T14:09:46Z","updated_at":"2016-10-29T15:55:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86957aa7bd39b148f7d3d94c9c72f82f1d4a0426","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/91/commits","review_comments_url":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/91/comments","review_comment_url":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/91/comments","statuses_url":"https://api.github.com/repos/nonsequitur/inf-ruby/statuses/a04289a7abd137817b3f2d911ac467d4589601a4","head":{"label":"asok:multi","ref":"multi","sha":"a04289a7abd137817b3f2d911ac467d4589601a4","user":{"login":"asok","id":120457,"avatar_url":"https://avatars.githubusercontent.com/u/120457?v=3","gravatar_id":"","url":"https://api.github.com/users/asok","html_url":"https://github.com/asok","followers_url":"https://api.github.com/users/asok/followers","following_url":"https://api.github.com/users/asok/following{/other_user}","gists_url":"https://api.github.com/users/asok/gists{/gist_id}","starred_url":"https://api.github.com/users/asok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asok/subscriptions","organizations_url":"https://api.github.com/users/asok/orgs","repos_url":"https://api.github.com/users/asok/repos","events_url":"https://api.github.com/users/asok/events{/privacy}","received_events_url":"https://api.github.com/users/asok/received_events","type":"User","site_admin":false},"repo":{"id":71445861,"name":"inf-ruby","full_name":"asok/inf-ruby","owner":{"login":"asok","id":120457,"avatar_url":"https://avatars.githubusercontent.com/u/120457?v=3","gravatar_id":"","url":"https://api.github.com/users/asok","html_url":"https://github.com/asok","followers_url":"https://api.github.com/users/asok/followers","following_url":"https://api.github.com/users/asok/following{/other_user}","gists_url":"https://api.github.com/users/asok/gists{/gist_id}","starred_url":"https://api.github.com/users/asok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asok/subscriptions","organizations_url":"https://api.github.com/users/asok/orgs","repos_url":"https://api.github.com/users/asok/repos","events_url":"https://api.github.com/users/asok/events{/privacy}","received_events_url":"https://api.github.com/users/asok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asok/inf-ruby","description":null,"fork":true,"url":"https://api.github.com/repos/asok/inf-ruby","forks_url":"https://api.github.com/repos/asok/inf-ruby/forks","keys_url":"https://api.github.com/repos/asok/inf-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asok/inf-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asok/inf-ruby/teams","hooks_url":"https://api.github.com/repos/asok/inf-ruby/hooks","issue_events_url":"https://api.github.com/repos/asok/inf-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/asok/inf-ruby/events","assignees_url":"https://api.github.com/repos/asok/inf-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/asok/inf-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/asok/inf-ruby/tags","blobs_url":"https://api.github.com/repos/asok/inf-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asok/inf-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asok/inf-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/asok/inf-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asok/inf-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/asok/inf-ruby/languages","stargazers_url":"https://api.github.com/repos/asok/inf-ruby/stargazers","contributors_url":"https://api.github.com/repos/asok/inf-ruby/contributors","subscribers_url":"https://api.github.com/repos/asok/inf-ruby/subscribers","subscription_url":"https://api.github.com/repos/asok/inf-ruby/subscription","commits_url":"https://api.github.com/repos/asok/inf-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/asok/inf-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/asok/inf-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/asok/inf-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/asok/inf-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/asok/inf-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asok/inf-ruby/merges","archive_url":"https://api.github.com/repos/asok/inf-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asok/inf-ruby/downloads","issues_url":"https://api.github.com/repos/asok/inf-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/asok/inf-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/asok/inf-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/asok/inf-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asok/inf-ruby/labels{/name}","releases_url":"https://api.github.com/repos/asok/inf-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/asok/inf-ruby/deployments","created_at":"2016-10-20T09:17:38Z","updated_at":"2016-10-20T09:17:39Z","pushed_at":"2016-10-27T08:53:43Z","git_url":"git://github.com/asok/inf-ruby.git","ssh_url":"git@github.com:asok/inf-ruby.git","clone_url":"https://github.com/asok/inf-ruby.git","svn_url":"https://github.com/asok/inf-ruby","homepage":"","size":127,"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":"nonsequitur:master","ref":"master","sha":"df014b0717d5b35b54587fcfcda6f753d3e1091e","user":{"login":"nonsequitur","id":3323,"avatar_url":"https://avatars.githubusercontent.com/u/3323?v=3","gravatar_id":"","url":"https://api.github.com/users/nonsequitur","html_url":"https://github.com/nonsequitur","followers_url":"https://api.github.com/users/nonsequitur/followers","following_url":"https://api.github.com/users/nonsequitur/following{/other_user}","gists_url":"https://api.github.com/users/nonsequitur/gists{/gist_id}","starred_url":"https://api.github.com/users/nonsequitur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonsequitur/subscriptions","organizations_url":"https://api.github.com/users/nonsequitur/orgs","repos_url":"https://api.github.com/users/nonsequitur/repos","events_url":"https://api.github.com/users/nonsequitur/events{/privacy}","received_events_url":"https://api.github.com/users/nonsequitur/received_events","type":"User","site_admin":false},"repo":{"id":781889,"name":"inf-ruby","full_name":"nonsequitur/inf-ruby","owner":{"login":"nonsequitur","id":3323,"avatar_url":"https://avatars.githubusercontent.com/u/3323?v=3","gravatar_id":"","url":"https://api.github.com/users/nonsequitur","html_url":"https://github.com/nonsequitur","followers_url":"https://api.github.com/users/nonsequitur/followers","following_url":"https://api.github.com/users/nonsequitur/following{/other_user}","gists_url":"https://api.github.com/users/nonsequitur/gists{/gist_id}","starred_url":"https://api.github.com/users/nonsequitur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nonsequitur/subscriptions","organizations_url":"https://api.github.com/users/nonsequitur/orgs","repos_url":"https://api.github.com/users/nonsequitur/repos","events_url":"https://api.github.com/users/nonsequitur/events{/privacy}","received_events_url":"https://api.github.com/users/nonsequitur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nonsequitur/inf-ruby","description":null,"fork":false,"url":"https://api.github.com/repos/nonsequitur/inf-ruby","forks_url":"https://api.github.com/repos/nonsequitur/inf-ruby/forks","keys_url":"https://api.github.com/repos/nonsequitur/inf-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nonsequitur/inf-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nonsequitur/inf-ruby/teams","hooks_url":"https://api.github.com/repos/nonsequitur/inf-ruby/hooks","issue_events_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/nonsequitur/inf-ruby/events","assignees_url":"https://api.github.com/repos/nonsequitur/inf-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/nonsequitur/inf-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/nonsequitur/inf-ruby/tags","blobs_url":"https://api.github.com/repos/nonsequitur/inf-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nonsequitur/inf-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nonsequitur/inf-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/nonsequitur/inf-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nonsequitur/inf-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/nonsequitur/inf-ruby/languages","stargazers_url":"https://api.github.com/repos/nonsequitur/inf-ruby/stargazers","contributors_url":"https://api.github.com/repos/nonsequitur/inf-ruby/contributors","subscribers_url":"https://api.github.com/repos/nonsequitur/inf-ruby/subscribers","subscription_url":"https://api.github.com/repos/nonsequitur/inf-ruby/subscription","commits_url":"https://api.github.com/repos/nonsequitur/inf-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/nonsequitur/inf-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/nonsequitur/inf-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/nonsequitur/inf-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/nonsequitur/inf-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nonsequitur/inf-ruby/merges","archive_url":"https://api.github.com/repos/nonsequitur/inf-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nonsequitur/inf-ruby/downloads","issues_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/nonsequitur/inf-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/nonsequitur/inf-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nonsequitur/inf-ruby/labels{/name}","releases_url":"https://api.github.com/repos/nonsequitur/inf-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/nonsequitur/inf-ruby/deployments","created_at":"2010-07-18T15:35:29Z","updated_at":"2016-10-05T10:05:51Z","pushed_at":"2016-10-27T08:53:43Z","git_url":"git://github.com/nonsequitur/inf-ruby.git","ssh_url":"git@github.com:nonsequitur/inf-ruby.git","clone_url":"https://github.com/nonsequitur/inf-ruby.git","svn_url":"https://github.com/nonsequitur/inf-ruby","homepage":"","size":149,"stargazers_count":121,"watchers_count":121,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":8,"forks":42,"open_issues":8,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/91"},"html":{"href":"https://github.com/nonsequitur/inf-ruby/pull/91"},"issue":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/91"},"comments":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/nonsequitur/inf-ruby/statuses/a04289a7abd137817b3f2d911ac467d4589601a4"}}}}
{"actor":{"display_login":"dgutov"}}