{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/jamesfzhang/auto-save/pulls/20","id":38280674,"html_url":"https://github.com/jamesfzhang/auto-save/pull/20","diff_url":"https://github.com/jamesfzhang/auto-save/pull/20.diff","patch_url":"https://github.com/jamesfzhang/auto-save/pull/20.patch","issue_url":"https://api.github.com/repos/jamesfzhang/auto-save/issues/20","number":20,"state":"open","locked":false,"title":"AutoSaveCommand should be an ApplicationCommand.","user":{"login":"scholer","id":138657,"avatar_url":"https://avatars.githubusercontent.com/u/138657?v=3","gravatar_id":"","url":"https://api.github.com/users/scholer","html_url":"https://github.com/scholer","followers_url":"https://api.github.com/users/scholer/followers","following_url":"https://api.github.com/users/scholer/following{/other_user}","gists_url":"https://api.github.com/users/scholer/gists{/gist_id}","starred_url":"https://api.github.com/users/scholer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scholer/subscriptions","organizations_url":"https://api.github.com/users/scholer/orgs","repos_url":"https://api.github.com/users/scholer/repos","events_url":"https://api.github.com/users/scholer/events{/privacy}","received_events_url":"https://api.github.com/users/scholer/received_events","type":"User","site_admin":false},"body":"I suggest we change AutoSaveCommand to derive from ApplicationCommand instead of TextCommand. TextCommands are usually used to manipulate text or otherwise work on the current view/buffer. AutoSaveCommand works globally, turning auto-save on/off for all views in all windows.  \r\n (https://www.sublimetext.com/docs/3/api_reference.html#sublime_plugin.ApplicationCommand)\r\nAnd thank you for accepting my previous PRs! :)","created_at":"2015-06-22T21:51:15Z","updated_at":"2015-06-22T21:51:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jamesfzhang/auto-save/pulls/20/commits","review_comments_url":"https://api.github.com/repos/jamesfzhang/auto-save/pulls/20/comments","review_comment_url":"https://api.github.com/repos/jamesfzhang/auto-save/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jamesfzhang/auto-save/issues/20/comments","statuses_url":"https://api.github.com/repos/jamesfzhang/auto-save/statuses/1aaa06b3654b6065d8d78f4fb9088b1f88dccef6","head":{"label":"scholer:windowcommand2","ref":"windowcommand2","sha":"1aaa06b3654b6065d8d78f4fb9088b1f88dccef6","user":{"login":"scholer","id":138657,"avatar_url":"https://avatars.githubusercontent.com/u/138657?v=3","gravatar_id":"","url":"https://api.github.com/users/scholer","html_url":"https://github.com/scholer","followers_url":"https://api.github.com/users/scholer/followers","following_url":"https://api.github.com/users/scholer/following{/other_user}","gists_url":"https://api.github.com/users/scholer/gists{/gist_id}","starred_url":"https://api.github.com/users/scholer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scholer/subscriptions","organizations_url":"https://api.github.com/users/scholer/orgs","repos_url":"https://api.github.com/users/scholer/repos","events_url":"https://api.github.com/users/scholer/events{/privacy}","received_events_url":"https://api.github.com/users/scholer/received_events","type":"User","site_admin":false},"repo":{"id":32874742,"name":"auto-save","full_name":"scholer/auto-save","owner":{"login":"scholer","id":138657,"avatar_url":"https://avatars.githubusercontent.com/u/138657?v=3","gravatar_id":"","url":"https://api.github.com/users/scholer","html_url":"https://github.com/scholer","followers_url":"https://api.github.com/users/scholer/followers","following_url":"https://api.github.com/users/scholer/following{/other_user}","gists_url":"https://api.github.com/users/scholer/gists{/gist_id}","starred_url":"https://api.github.com/users/scholer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scholer/subscriptions","organizations_url":"https://api.github.com/users/scholer/orgs","repos_url":"https://api.github.com/users/scholer/repos","events_url":"https://api.github.com/users/scholer/events{/privacy}","received_events_url":"https://api.github.com/users/scholer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scholer/auto-save","description":"Automatically saves the current file after every modification","fork":true,"url":"https://api.github.com/repos/scholer/auto-save","forks_url":"https://api.github.com/repos/scholer/auto-save/forks","keys_url":"https://api.github.com/repos/scholer/auto-save/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scholer/auto-save/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scholer/auto-save/teams","hooks_url":"https://api.github.com/repos/scholer/auto-save/hooks","issue_events_url":"https://api.github.com/repos/scholer/auto-save/issues/events{/number}","events_url":"https://api.github.com/repos/scholer/auto-save/events","assignees_url":"https://api.github.com/repos/scholer/auto-save/assignees{/user}","branches_url":"https://api.github.com/repos/scholer/auto-save/branches{/branch}","tags_url":"https://api.github.com/repos/scholer/auto-save/tags","blobs_url":"https://api.github.com/repos/scholer/auto-save/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scholer/auto-save/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scholer/auto-save/git/refs{/sha}","trees_url":"https://api.github.com/repos/scholer/auto-save/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scholer/auto-save/statuses/{sha}","languages_url":"https://api.github.com/repos/scholer/auto-save/languages","stargazers_url":"https://api.github.com/repos/scholer/auto-save/stargazers","contributors_url":"https://api.github.com/repos/scholer/auto-save/contributors","subscribers_url":"https://api.github.com/repos/scholer/auto-save/subscribers","subscription_url":"https://api.github.com/repos/scholer/auto-save/subscription","commits_url":"https://api.github.com/repos/scholer/auto-save/commits{/sha}","git_commits_url":"https://api.github.com/repos/scholer/auto-save/git/commits{/sha}","comments_url":"https://api.github.com/repos/scholer/auto-save/comments{/number}","issue_comment_url":"https://api.github.com/repos/scholer/auto-save/issues/comments{/number}","contents_url":"https://api.github.com/repos/scholer/auto-save/contents/{+path}","compare_url":"https://api.github.com/repos/scholer/auto-save/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scholer/auto-save/merges","archive_url":"https://api.github.com/repos/scholer/auto-save/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scholer/auto-save/downloads","issues_url":"https://api.github.com/repos/scholer/auto-save/issues{/number}","pulls_url":"https://api.github.com/repos/scholer/auto-save/pulls{/number}","milestones_url":"https://api.github.com/repos/scholer/auto-save/milestones{/number}","notifications_url":"https://api.github.com/repos/scholer/auto-save/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scholer/auto-save/labels{/name}","releases_url":"https://api.github.com/repos/scholer/auto-save/releases{/id}","created_at":"2015-03-25T15:52:09Z","updated_at":"2015-04-17T03:11:40Z","pushed_at":"2015-06-22T21:45:10Z","git_url":"git://github.com/scholer/auto-save.git","ssh_url":"git@github.com:scholer/auto-save.git","clone_url":"https://github.com/scholer/auto-save.git","svn_url":"https://github.com/scholer/auto-save","homepage":"","size":1417,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jamesfzhang:master","ref":"master","sha":"4441f34d4cadd36fc08d2139ad646430dcfb3c30","user":{"login":"jamesfzhang","id":2057670,"avatar_url":"https://avatars.githubusercontent.com/u/2057670?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesfzhang","html_url":"https://github.com/jamesfzhang","followers_url":"https://api.github.com/users/jamesfzhang/followers","following_url":"https://api.github.com/users/jamesfzhang/following{/other_user}","gists_url":"https://api.github.com/users/jamesfzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesfzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesfzhang/subscriptions","organizations_url":"https://api.github.com/users/jamesfzhang/orgs","repos_url":"https://api.github.com/users/jamesfzhang/repos","events_url":"https://api.github.com/users/jamesfzhang/events{/privacy}","received_events_url":"https://api.github.com/users/jamesfzhang/received_events","type":"User","site_admin":false},"repo":{"id":15921757,"name":"auto-save","full_name":"jamesfzhang/auto-save","owner":{"login":"jamesfzhang","id":2057670,"avatar_url":"https://avatars.githubusercontent.com/u/2057670?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesfzhang","html_url":"https://github.com/jamesfzhang","followers_url":"https://api.github.com/users/jamesfzhang/followers","following_url":"https://api.github.com/users/jamesfzhang/following{/other_user}","gists_url":"https://api.github.com/users/jamesfzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesfzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesfzhang/subscriptions","organizations_url":"https://api.github.com/users/jamesfzhang/orgs","repos_url":"https://api.github.com/users/jamesfzhang/repos","events_url":"https://api.github.com/users/jamesfzhang/events{/privacy}","received_events_url":"https://api.github.com/users/jamesfzhang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesfzhang/auto-save","description":"Automatically saves the current file after every modification","fork":false,"url":"https://api.github.com/repos/jamesfzhang/auto-save","forks_url":"https://api.github.com/repos/jamesfzhang/auto-save/forks","keys_url":"https://api.github.com/repos/jamesfzhang/auto-save/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesfzhang/auto-save/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesfzhang/auto-save/teams","hooks_url":"https://api.github.com/repos/jamesfzhang/auto-save/hooks","issue_events_url":"https://api.github.com/repos/jamesfzhang/auto-save/issues/events{/number}","events_url":"https://api.github.com/repos/jamesfzhang/auto-save/events","assignees_url":"https://api.github.com/repos/jamesfzhang/auto-save/assignees{/user}","branches_url":"https://api.github.com/repos/jamesfzhang/auto-save/branches{/branch}","tags_url":"https://api.github.com/repos/jamesfzhang/auto-save/tags","blobs_url":"https://api.github.com/repos/jamesfzhang/auto-save/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesfzhang/auto-save/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesfzhang/auto-save/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesfzhang/auto-save/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesfzhang/auto-save/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesfzhang/auto-save/languages","stargazers_url":"https://api.github.com/repos/jamesfzhang/auto-save/stargazers","contributors_url":"https://api.github.com/repos/jamesfzhang/auto-save/contributors","subscribers_url":"https://api.github.com/repos/jamesfzhang/auto-save/subscribers","subscription_url":"https://api.github.com/repos/jamesfzhang/auto-save/subscription","commits_url":"https://api.github.com/repos/jamesfzhang/auto-save/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesfzhang/auto-save/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesfzhang/auto-save/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesfzhang/auto-save/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesfzhang/auto-save/contents/{+path}","compare_url":"https://api.github.com/repos/jamesfzhang/auto-save/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesfzhang/auto-save/merges","archive_url":"https://api.github.com/repos/jamesfzhang/auto-save/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesfzhang/auto-save/downloads","issues_url":"https://api.github.com/repos/jamesfzhang/auto-save/issues{/number}","pulls_url":"https://api.github.com/repos/jamesfzhang/auto-save/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesfzhang/auto-save/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesfzhang/auto-save/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesfzhang/auto-save/labels{/name}","releases_url":"https://api.github.com/repos/jamesfzhang/auto-save/releases{/id}","created_at":"2014-01-15T01:46:05Z","updated_at":"2015-06-21T07:48:50Z","pushed_at":"2015-06-19T20:57:38Z","git_url":"git://github.com/jamesfzhang/auto-save.git","ssh_url":"git@github.com:jamesfzhang/auto-save.git","clone_url":"https://github.com/jamesfzhang/auto-save.git","svn_url":"https://github.com/jamesfzhang/auto-save","homepage":"","size":1623,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":6,"forks":7,"open_issues":6,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jamesfzhang/auto-save/pulls/20"},"html":{"href":"https://github.com/jamesfzhang/auto-save/pull/20"},"issue":{"href":"https://api.github.com/repos/jamesfzhang/auto-save/issues/20"},"comments":{"href":"https://api.github.com/repos/jamesfzhang/auto-save/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/jamesfzhang/auto-save/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/jamesfzhang/auto-save/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jamesfzhang/auto-save/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/jamesfzhang/auto-save/statuses/1aaa06b3654b6065d8d78f4fb9088b1f88dccef6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}