GitHub PullRequestEvent at 2014-08-14 14:37:13
Repository: bufexplorer
Actor: IvanUkhov
Payload: {"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls/11","id":19791194,"html_url":"https://github.com/jlanzarotta/bufexplorer/pull/11","diff_url":"https://github.com/jlanzarotta/bufexplorer/pull/11.diff","patch_url":"https://github.com/jlanzarotta/bufexplorer/pull/11.patch","issue_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/issues/11","number":11,"state":"open","locked":false,"title":"Close even if the target buffer has not been loaded yet","user":{"login":"IvanUkhov","id":57440,"avatar_url":"https://avatars.githubusercontent.com/u/57440?v=2","gravatar_id":"9f59cdb0d3a0cde7e53342ddd8ae9b64","url":"https://api.github.com/users/IvanUkhov","html_url":"https://github.com/IvanUkhov","followers_url":"https://api.github.com/users/IvanUkhov/followers","following_url":"https://api.github.com/users/IvanUkhov/following{/other_user}","gists_url":"https://api.github.com/users/IvanUkhov/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanUkhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanUkhov/subscriptions","organizations_url":"https://api.github.com/users/IvanUkhov/orgs","repos_url":"https://api.github.com/users/IvanUkhov/repos","events_url":"https://api.github.com/users/IvanUkhov/events{/privacy}","received_events_url":"https://api.github.com/users/IvanUkhov/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\n\r\nWhen working in split mode, BufExplorer does not close itself if the selected buffer has not been loaded yet. Here is how the behavior can be reproduced:\r\n\r\n1. Issue the `vim` command with more than one file (`$ vim one.txt two.txt`).\r\n2. Open BufExplorer in split mode and see that the other buffer is shaded (= not loaded).\r\n3. Open that other buffer and see that it opens right in the split replacing BufExplorer and leaving two windows open. \r\n\r\nI have tested it as much as I could, and it works for me. However, since I am not that familiar with the code base, I could miss some scenario. If it is the case, please let me know, and I will fix the pull request.\r\n\r\nThank you! \r\n\r\n\r\nBest wishes,\r\nIvan","created_at":"2014-08-14T14:37:13Z","updated_at":"2014-08-14T14:37:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls/11/commits","review_comments_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls/11/comments","review_comment_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/issues/11/comments","statuses_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/statuses/7b14e4e05e6b38ed8deecd89ac8ab686fa80f844","head":{"label":"IvanUkhov:close-when-not-bufloaded","ref":"close-when-not-bufloaded","sha":"7b14e4e05e6b38ed8deecd89ac8ab686fa80f844","user":{"login":"IvanUkhov","id":57440,"avatar_url":"https://avatars.githubusercontent.com/u/57440?v=2","gravatar_id":"9f59cdb0d3a0cde7e53342ddd8ae9b64","url":"https://api.github.com/users/IvanUkhov","html_url":"https://github.com/IvanUkhov","followers_url":"https://api.github.com/users/IvanUkhov/followers","following_url":"https://api.github.com/users/IvanUkhov/following{/other_user}","gists_url":"https://api.github.com/users/IvanUkhov/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanUkhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanUkhov/subscriptions","organizations_url":"https://api.github.com/users/IvanUkhov/orgs","repos_url":"https://api.github.com/users/IvanUkhov/repos","events_url":"https://api.github.com/users/IvanUkhov/events{/privacy}","received_events_url":"https://api.github.com/users/IvanUkhov/received_events","type":"User","site_admin":false},"repo":{"id":22956194,"name":"bufexplorer","full_name":"IvanUkhov/bufexplorer","owner":{"login":"IvanUkhov","id":57440,"avatar_url":"https://avatars.githubusercontent.com/u/57440?v=2","gravatar_id":"9f59cdb0d3a0cde7e53342ddd8ae9b64","url":"https://api.github.com/users/IvanUkhov","html_url":"https://github.com/IvanUkhov","followers_url":"https://api.github.com/users/IvanUkhov/followers","following_url":"https://api.github.com/users/IvanUkhov/following{/other_user}","gists_url":"https://api.github.com/users/IvanUkhov/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanUkhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanUkhov/subscriptions","organizations_url":"https://api.github.com/users/IvanUkhov/orgs","repos_url":"https://api.github.com/users/IvanUkhov/repos","events_url":"https://api.github.com/users/IvanUkhov/events{/privacy}","received_events_url":"https://api.github.com/users/IvanUkhov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IvanUkhov/bufexplorer","description":"BufExplorer Plugin for Vim","fork":true,"url":"https://api.github.com/repos/IvanUkhov/bufexplorer","forks_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/forks","keys_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/teams","hooks_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/hooks","issue_events_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/issues/events{/number}","events_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/events","assignees_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/assignees{/user}","branches_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/branches{/branch}","tags_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/tags","blobs_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/statuses/{sha}","languages_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/languages","stargazers_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/stargazers","contributors_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/contributors","subscribers_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/subscribers","subscription_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/subscription","commits_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/issues/comments/{number}","contents_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/contents/{+path}","compare_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/merges","archive_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/downloads","issues_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/issues{/number}","pulls_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/pulls{/number}","milestones_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/milestones{/number}","notifications_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/labels{/name}","releases_url":"https://api.github.com/repos/IvanUkhov/bufexplorer/releases{/id}","created_at":"2014-08-14T14:12:45Z","updated_at":"2014-08-12T06:09:13Z","pushed_at":"2014-08-14T14:21:06Z","git_url":"git://github.com/IvanUkhov/bufexplorer.git","ssh_url":"git@github.com:IvanUkhov/bufexplorer.git","clone_url":"https://github.com/IvanUkhov/bufexplorer.git","svn_url":"https://github.com/IvanUkhov/bufexplorer","homepage":null,"size":265,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jlanzarotta:master","ref":"master","sha":"cd9e517c164aee9ae92604e8e3989ccf03b320e6","user":{"login":"jlanzarotta","id":5437686,"avatar_url":"https://avatars.githubusercontent.com/u/5437686?v=2","gravatar_id":"298ed08dcca1a78cc3645eb3ad682174","url":"https://api.github.com/users/jlanzarotta","html_url":"https://github.com/jlanzarotta","followers_url":"https://api.github.com/users/jlanzarotta/followers","following_url":"https://api.github.com/users/jlanzarotta/following{/other_user}","gists_url":"https://api.github.com/users/jlanzarotta/gists{/gist_id}","starred_url":"https://api.github.com/users/jlanzarotta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlanzarotta/subscriptions","organizations_url":"https://api.github.com/users/jlanzarotta/orgs","repos_url":"https://api.github.com/users/jlanzarotta/repos","events_url":"https://api.github.com/users/jlanzarotta/events{/privacy}","received_events_url":"https://api.github.com/users/jlanzarotta/received_events","type":"User","site_admin":false},"repo":{"id":13452891,"name":"bufexplorer","full_name":"jlanzarotta/bufexplorer","owner":{"login":"jlanzarotta","id":5437686,"avatar_url":"https://avatars.githubusercontent.com/u/5437686?v=2","gravatar_id":"298ed08dcca1a78cc3645eb3ad682174","url":"https://api.github.com/users/jlanzarotta","html_url":"https://github.com/jlanzarotta","followers_url":"https://api.github.com/users/jlanzarotta/followers","following_url":"https://api.github.com/users/jlanzarotta/following{/other_user}","gists_url":"https://api.github.com/users/jlanzarotta/gists{/gist_id}","starred_url":"https://api.github.com/users/jlanzarotta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlanzarotta/subscriptions","organizations_url":"https://api.github.com/users/jlanzarotta/orgs","repos_url":"https://api.github.com/users/jlanzarotta/repos","events_url":"https://api.github.com/users/jlanzarotta/events{/privacy}","received_events_url":"https://api.github.com/users/jlanzarotta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jlanzarotta/bufexplorer","description":"BufExplorer Plugin for Vim","fork":false,"url":"https://api.github.com/repos/jlanzarotta/bufexplorer","forks_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/forks","keys_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/teams","hooks_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/hooks","issue_events_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/issues/events{/number}","events_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/events","assignees_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/assignees{/user}","branches_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/branches{/branch}","tags_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/tags","blobs_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/statuses/{sha}","languages_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/languages","stargazers_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/stargazers","contributors_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/contributors","subscribers_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/subscribers","subscription_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/subscription","commits_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/issues/comments/{number}","contents_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/contents/{+path}","compare_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/merges","archive_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/downloads","issues_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/issues{/number}","pulls_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls{/number}","milestones_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/milestones{/number}","notifications_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/labels{/name}","releases_url":"https://api.github.com/repos/jlanzarotta/bufexplorer/releases{/id}","created_at":"2013-10-09T20:11:08Z","updated_at":"2014-08-12T06:09:13Z","pushed_at":"2014-08-13T12:51:31Z","git_url":"git://github.com/jlanzarotta/bufexplorer.git","ssh_url":"git@github.com:jlanzarotta/bufexplorer.git","clone_url":"https://github.com/jlanzarotta/bufexplorer.git","svn_url":"https://github.com/jlanzarotta/bufexplorer","homepage":null,"size":265,"stargazers_count":38,"watchers_count":38,"language":"VimL","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls/11"},"html":{"href":"https://github.com/jlanzarotta/bufexplorer/pull/11"},"issue":{"href":"https://api.github.com/repos/jlanzarotta/bufexplorer/issues/11"},"comments":{"href":"https://api.github.com/repos/jlanzarotta/bufexplorer/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jlanzarotta/bufexplorer/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/jlanzarotta/bufexplorer/statuses/7b14e4e05e6b38ed8deecd89ac8ab686fa80f844"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}