GitHub PullRequestEvent at 2014-02-24 13:27:49
Repository: pyvenv
Actor: lunaryorn
Payload: {"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls/4","id":12853156,"html_url":"https://github.com/jorgenschaefer/pyvenv/pull/4","diff_url":"https://github.com/jorgenschaefer/pyvenv/pull/4.diff","patch_url":"https://github.com/jorgenschaefer/pyvenv/pull/4.patch","issue_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/issues/4","number":4,"state":"open","title":"Generalize pyvenv-mode","user":{"login":"lunaryorn","id":224922,"avatar_url":"https://gravatar.com/avatar/7f0529e9d8eb4ae75375843c305296d8?d=https%3A%2F%2Fidenticons.github.com%2Fee09654861e344ac36e6ac3fd35d552c.png&r=x","gravatar_id":"7f0529e9d8eb4ae75375843c305296d8","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"body":"Inspect the file virtualenv from `pyvenv-workon` regardless of the current major mode, by hooking into `hack-local-variables-hook` instead of `python-mode`.  This makes this package useful for other major modes which may want to use the current virtualenv as well, for instance ReST mode buffers for the Sphinx documentation of a Python project.\r\n\r\nIf the user stills wants to enable the virtualenv only in Python Mode buffers, they can just limit the dir local variables to python mode.\r\n\r\nAlso, with this change pyvenv-mode does not longer attempt to inspect `pyvenv-mode` *before* local variables were loaded, because `hack-local-variables-hook` is guaranteed to be called after local variables.  For major mode hooks, there is no such guarantee, and in fact, at least on recent Emacs versions major mode hooks are called before local variables!","created_at":"2014-02-24T13:27:48Z","updated_at":"2014-02-24T13:27:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls/4/commits","review_comments_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls/4/comments","review_comment_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/issues/4/comments","statuses_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/statuses/e4f82bffd876fd0b9eafb32859992086d03d65ac","head":{"label":"lunaryorn:patch-1","ref":"patch-1","sha":"e4f82bffd876fd0b9eafb32859992086d03d65ac","user":{"login":"lunaryorn","id":224922,"avatar_url":"https://gravatar.com/avatar/7f0529e9d8eb4ae75375843c305296d8?d=https%3A%2F%2Fidenticons.github.com%2Fee09654861e344ac36e6ac3fd35d552c.png&r=x","gravatar_id":"7f0529e9d8eb4ae75375843c305296d8","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"repo":{"id":17136746,"name":"pyvenv","full_name":"lunaryorn/pyvenv","owner":{"login":"lunaryorn","id":224922,"avatar_url":"https://gravatar.com/avatar/7f0529e9d8eb4ae75375843c305296d8?d=https%3A%2F%2Fidenticons.github.com%2Fee09654861e344ac36e6ac3fd35d552c.png&r=x","gravatar_id":"7f0529e9d8eb4ae75375843c305296d8","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lunaryorn/pyvenv","description":"Python virtual environment interface for Emacs","fork":true,"url":"https://api.github.com/repos/lunaryorn/pyvenv","forks_url":"https://api.github.com/repos/lunaryorn/pyvenv/forks","keys_url":"https://api.github.com/repos/lunaryorn/pyvenv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lunaryorn/pyvenv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lunaryorn/pyvenv/teams","hooks_url":"https://api.github.com/repos/lunaryorn/pyvenv/hooks","issue_events_url":"https://api.github.com/repos/lunaryorn/pyvenv/issues/events{/number}","events_url":"https://api.github.com/repos/lunaryorn/pyvenv/events","assignees_url":"https://api.github.com/repos/lunaryorn/pyvenv/assignees{/user}","branches_url":"https://api.github.com/repos/lunaryorn/pyvenv/branches{/branch}","tags_url":"https://api.github.com/repos/lunaryorn/pyvenv/tags","blobs_url":"https://api.github.com/repos/lunaryorn/pyvenv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lunaryorn/pyvenv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lunaryorn/pyvenv/git/refs{/sha}","trees_url":"https://api.github.com/repos/lunaryorn/pyvenv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lunaryorn/pyvenv/statuses/{sha}","languages_url":"https://api.github.com/repos/lunaryorn/pyvenv/languages","stargazers_url":"https://api.github.com/repos/lunaryorn/pyvenv/stargazers","contributors_url":"https://api.github.com/repos/lunaryorn/pyvenv/contributors","subscribers_url":"https://api.github.com/repos/lunaryorn/pyvenv/subscribers","subscription_url":"https://api.github.com/repos/lunaryorn/pyvenv/subscription","commits_url":"https://api.github.com/repos/lunaryorn/pyvenv/commits{/sha}","git_commits_url":"https://api.github.com/repos/lunaryorn/pyvenv/git/commits{/sha}","comments_url":"https://api.github.com/repos/lunaryorn/pyvenv/comments{/number}","issue_comment_url":"https://api.github.com/repos/lunaryorn/pyvenv/issues/comments/{number}","contents_url":"https://api.github.com/repos/lunaryorn/pyvenv/contents/{+path}","compare_url":"https://api.github.com/repos/lunaryorn/pyvenv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lunaryorn/pyvenv/merges","archive_url":"https://api.github.com/repos/lunaryorn/pyvenv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lunaryorn/pyvenv/downloads","issues_url":"https://api.github.com/repos/lunaryorn/pyvenv/issues{/number}","pulls_url":"https://api.github.com/repos/lunaryorn/pyvenv/pulls{/number}","milestones_url":"https://api.github.com/repos/lunaryorn/pyvenv/milestones{/number}","notifications_url":"https://api.github.com/repos/lunaryorn/pyvenv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lunaryorn/pyvenv/labels{/name}","releases_url":"https://api.github.com/repos/lunaryorn/pyvenv/releases{/id}","created_at":"2014-02-24T13:22:13Z","updated_at":"2014-02-24T13:27:48Z","pushed_at":"2014-02-24T13:27:46Z","git_url":"git://github.com/lunaryorn/pyvenv.git","ssh_url":"git@github.com:lunaryorn/pyvenv.git","clone_url":"https://github.com/lunaryorn/pyvenv.git","svn_url":"https://github.com/lunaryorn/pyvenv","homepage":null,"size":188,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","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","master_branch":"master"}},"base":{"label":"jorgenschaefer:master","ref":"master","sha":"37785cdc6df41b5c50325dd602f8560d67115874","user":{"login":"jorgenschaefer","id":2500270,"avatar_url":"https://gravatar.com/avatar/2b7a1d06c082c4aa8804103c17392c2a?d=https%3A%2F%2Fidenticons.github.com%2Ffcec1d4f062be15b68b6d904f4afbc09.png&r=x","gravatar_id":"2b7a1d06c082c4aa8804103c17392c2a","url":"https://api.github.com/users/jorgenschaefer","html_url":"https://github.com/jorgenschaefer","followers_url":"https://api.github.com/users/jorgenschaefer/followers","following_url":"https://api.github.com/users/jorgenschaefer/following{/other_user}","gists_url":"https://api.github.com/users/jorgenschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgenschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgenschaefer/subscriptions","organizations_url":"https://api.github.com/users/jorgenschaefer/orgs","repos_url":"https://api.github.com/users/jorgenschaefer/repos","events_url":"https://api.github.com/users/jorgenschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/jorgenschaefer/received_events","type":"User","site_admin":false},"repo":{"id":13687260,"name":"pyvenv","full_name":"jorgenschaefer/pyvenv","owner":{"login":"jorgenschaefer","id":2500270,"avatar_url":"https://gravatar.com/avatar/2b7a1d06c082c4aa8804103c17392c2a?d=https%3A%2F%2Fidenticons.github.com%2Ffcec1d4f062be15b68b6d904f4afbc09.png&r=x","gravatar_id":"2b7a1d06c082c4aa8804103c17392c2a","url":"https://api.github.com/users/jorgenschaefer","html_url":"https://github.com/jorgenschaefer","followers_url":"https://api.github.com/users/jorgenschaefer/followers","following_url":"https://api.github.com/users/jorgenschaefer/following{/other_user}","gists_url":"https://api.github.com/users/jorgenschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgenschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgenschaefer/subscriptions","organizations_url":"https://api.github.com/users/jorgenschaefer/orgs","repos_url":"https://api.github.com/users/jorgenschaefer/repos","events_url":"https://api.github.com/users/jorgenschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/jorgenschaefer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jorgenschaefer/pyvenv","description":"Python virtual environment interface for Emacs","fork":false,"url":"https://api.github.com/repos/jorgenschaefer/pyvenv","forks_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/forks","keys_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/teams","hooks_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/hooks","issue_events_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/issues/events{/number}","events_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/events","assignees_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/assignees{/user}","branches_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/branches{/branch}","tags_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/tags","blobs_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/git/refs{/sha}","trees_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/statuses/{sha}","languages_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/languages","stargazers_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/stargazers","contributors_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/contributors","subscribers_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/subscribers","subscription_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/subscription","commits_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/commits{/sha}","git_commits_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/git/commits{/sha}","comments_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/comments{/number}","issue_comment_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/issues/comments/{number}","contents_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/contents/{+path}","compare_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/merges","archive_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/downloads","issues_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/issues{/number}","pulls_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls{/number}","milestones_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/milestones{/number}","notifications_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/labels{/name}","releases_url":"https://api.github.com/repos/jorgenschaefer/pyvenv/releases{/id}","created_at":"2013-10-18T19:30:11Z","updated_at":"2014-01-24T11:29:46Z","pushed_at":"2014-01-24T11:29:45Z","git_url":"git://github.com/jorgenschaefer/pyvenv.git","ssh_url":"git@github.com:jorgenschaefer/pyvenv.git","clone_url":"https://github.com/jorgenschaefer/pyvenv.git","svn_url":"https://github.com/jorgenschaefer/pyvenv","homepage":null,"size":188,"stargazers_count":3,"watchers_count":3,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls/4"},"html":{"href":"https://github.com/jorgenschaefer/pyvenv/pull/4"},"issue":{"href":"https://api.github.com/repos/jorgenschaefer/pyvenv/issues/4"},"comments":{"href":"https://api.github.com/repos/jorgenschaefer/pyvenv/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jorgenschaefer/pyvenv/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/jorgenschaefer/pyvenv/statuses/e4f82bffd876fd0b9eafb32859992086d03d65ac"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}