{"action":"opened","number":145,"pull_request":{"url":"https://api.github.com/repos/dcjones/Compose.jl/pulls/145","id":44040097,"html_url":"https://github.com/dcjones/Compose.jl/pull/145","diff_url":"https://github.com/dcjones/Compose.jl/pull/145.diff","patch_url":"https://github.com/dcjones/Compose.jl/pull/145.patch","issue_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/145","number":145,"state":"open","locked":false,"title":"Overload showcompact for command-line display of tree structure","user":{"login":"timholy","id":1525481,"avatar_url":"https://avatars.githubusercontent.com/u/1525481?v=3","gravatar_id":"","url":"https://api.github.com/users/timholy","html_url":"https://github.com/timholy","followers_url":"https://api.github.com/users/timholy/followers","following_url":"https://api.github.com/users/timholy/following{/other_user}","gists_url":"https://api.github.com/users/timholy/gists{/gist_id}","starred_url":"https://api.github.com/users/timholy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timholy/subscriptions","organizations_url":"https://api.github.com/users/timholy/orgs","repos_url":"https://api.github.com/users/timholy/repos","events_url":"https://api.github.com/users/timholy/events{/privacy}","received_events_url":"https://api.github.com/users/timholy/received_events","type":"User","site_admin":false},"body":"Sorry to keep bombing you...more introspection.\r\n\r\nThe `tomato_bisque` example looks like\r\n```jl\r\nContext(Context(f,R),Context(f,C))\r\n```\r\nand\r\n```jl\r\np = Gadfly.plot(x=rand(10^6), Gadfly.Geom.histogram(bincount=100));\r\n```\r\nlooks like\r\n```jl\r\njulia> showcompact(ctx)\r\nContext(Context(jsip,svgc,3x2 Table:\r\n  [Context(AdhocContainerPromise)],[Context(jsc,Context(Context(Context(Context(svga,lw,Context(s,f,svgc,FORM))),svgc)),Context(Context(fo,svgc,s,Context(jsc,jsc,jsc,f,Context(svgc,f,SP),lw,so,s,R),Context(Context(jsc,jsc,jsc,jsc,jsc,svgc,f,R),Context(jsc,jsc,jsc,f,R)),Context(jsc,jsc,jsc,f,Context(svgc,f,SP),lw,so,s,R))),Context(Context(Context(jsc,jsc,svga,svgc,sd,lw,s,v,L),Context(svgc,sd,lw,s,L)),Context(Context(jsc,jsc,svga,svgc,sd,lw,s,v,L),Context(svgc,sd,lw,s,L)),Context(svga,fo,f,s,svgc,R)))]\r\n  [],[Context(AdhocContainerPromise),Context(AdhocContainerPromise)]\r\n  [],[Context(AdhocContainerPromise),Context(AdhocContainerPromise)]\r\n```\r\n\r\nThe test I added is quite inadequate. If you like this but are distressed by the poor testing, I could add some `showcompacts` in the Gadfly tests just to make sure it doesn't crash when given different trees.\r\n","created_at":"2015-09-02T20:45:18Z","updated_at":"2015-09-02T20:45:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dcjones/Compose.jl/pulls/145/commits","review_comments_url":"https://api.github.com/repos/dcjones/Compose.jl/pulls/145/comments","review_comment_url":"https://api.github.com/repos/dcjones/Compose.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/145/comments","statuses_url":"https://api.github.com/repos/dcjones/Compose.jl/statuses/e1ac5b6be9a53dbcc605fb46f6d996aea0d54c61","head":{"label":"dcjones:teh/showcompact","ref":"teh/showcompact","sha":"e1ac5b6be9a53dbcc605fb46f6d996aea0d54c61","user":{"login":"dcjones","id":210361,"avatar_url":"https://avatars.githubusercontent.com/u/210361?v=3","gravatar_id":"","url":"https://api.github.com/users/dcjones","html_url":"https://github.com/dcjones","followers_url":"https://api.github.com/users/dcjones/followers","following_url":"https://api.github.com/users/dcjones/following{/other_user}","gists_url":"https://api.github.com/users/dcjones/gists{/gist_id}","starred_url":"https://api.github.com/users/dcjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcjones/subscriptions","organizations_url":"https://api.github.com/users/dcjones/orgs","repos_url":"https://api.github.com/users/dcjones/repos","events_url":"https://api.github.com/users/dcjones/events{/privacy}","received_events_url":"https://api.github.com/users/dcjones/received_events","type":"User","site_admin":false},"repo":{"id":5476650,"name":"Compose.jl","full_name":"dcjones/Compose.jl","owner":{"login":"dcjones","id":210361,"avatar_url":"https://avatars.githubusercontent.com/u/210361?v=3","gravatar_id":"","url":"https://api.github.com/users/dcjones","html_url":"https://github.com/dcjones","followers_url":"https://api.github.com/users/dcjones/followers","following_url":"https://api.github.com/users/dcjones/following{/other_user}","gists_url":"https://api.github.com/users/dcjones/gists{/gist_id}","starred_url":"https://api.github.com/users/dcjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcjones/subscriptions","organizations_url":"https://api.github.com/users/dcjones/orgs","repos_url":"https://api.github.com/users/dcjones/repos","events_url":"https://api.github.com/users/dcjones/events{/privacy}","received_events_url":"https://api.github.com/users/dcjones/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dcjones/Compose.jl","description":"Declarative vector graphics","fork":false,"url":"https://api.github.com/repos/dcjones/Compose.jl","forks_url":"https://api.github.com/repos/dcjones/Compose.jl/forks","keys_url":"https://api.github.com/repos/dcjones/Compose.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcjones/Compose.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcjones/Compose.jl/teams","hooks_url":"https://api.github.com/repos/dcjones/Compose.jl/hooks","issue_events_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/events{/number}","events_url":"https://api.github.com/repos/dcjones/Compose.jl/events","assignees_url":"https://api.github.com/repos/dcjones/Compose.jl/assignees{/user}","branches_url":"https://api.github.com/repos/dcjones/Compose.jl/branches{/branch}","tags_url":"https://api.github.com/repos/dcjones/Compose.jl/tags","blobs_url":"https://api.github.com/repos/dcjones/Compose.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcjones/Compose.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcjones/Compose.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcjones/Compose.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcjones/Compose.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/dcjones/Compose.jl/languages","stargazers_url":"https://api.github.com/repos/dcjones/Compose.jl/stargazers","contributors_url":"https://api.github.com/repos/dcjones/Compose.jl/contributors","subscribers_url":"https://api.github.com/repos/dcjones/Compose.jl/subscribers","subscription_url":"https://api.github.com/repos/dcjones/Compose.jl/subscription","commits_url":"https://api.github.com/repos/dcjones/Compose.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcjones/Compose.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcjones/Compose.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcjones/Compose.jl/contents/{+path}","compare_url":"https://api.github.com/repos/dcjones/Compose.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcjones/Compose.jl/merges","archive_url":"https://api.github.com/repos/dcjones/Compose.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcjones/Compose.jl/downloads","issues_url":"https://api.github.com/repos/dcjones/Compose.jl/issues{/number}","pulls_url":"https://api.github.com/repos/dcjones/Compose.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/dcjones/Compose.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/dcjones/Compose.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcjones/Compose.jl/labels{/name}","releases_url":"https://api.github.com/repos/dcjones/Compose.jl/releases{/id}","created_at":"2012-08-20T03:22:20Z","updated_at":"2015-09-02T15:03:47Z","pushed_at":"2015-09-02T20:45:18Z","git_url":"git://github.com/dcjones/Compose.jl.git","ssh_url":"git@github.com:dcjones/Compose.jl.git","clone_url":"https://github.com/dcjones/Compose.jl.git","svn_url":"https://github.com/dcjones/Compose.jl","homepage":"composejl.org","size":2586,"stargazers_count":68,"watchers_count":68,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":41,"mirror_url":null,"open_issues_count":29,"forks":41,"open_issues":29,"watchers":68,"default_branch":"master"}},"base":{"label":"dcjones:master","ref":"master","sha":"a1d8fa5aefa3f067bd3db77a0a99b5e1486bba41","user":{"login":"dcjones","id":210361,"avatar_url":"https://avatars.githubusercontent.com/u/210361?v=3","gravatar_id":"","url":"https://api.github.com/users/dcjones","html_url":"https://github.com/dcjones","followers_url":"https://api.github.com/users/dcjones/followers","following_url":"https://api.github.com/users/dcjones/following{/other_user}","gists_url":"https://api.github.com/users/dcjones/gists{/gist_id}","starred_url":"https://api.github.com/users/dcjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcjones/subscriptions","organizations_url":"https://api.github.com/users/dcjones/orgs","repos_url":"https://api.github.com/users/dcjones/repos","events_url":"https://api.github.com/users/dcjones/events{/privacy}","received_events_url":"https://api.github.com/users/dcjones/received_events","type":"User","site_admin":false},"repo":{"id":5476650,"name":"Compose.jl","full_name":"dcjones/Compose.jl","owner":{"login":"dcjones","id":210361,"avatar_url":"https://avatars.githubusercontent.com/u/210361?v=3","gravatar_id":"","url":"https://api.github.com/users/dcjones","html_url":"https://github.com/dcjones","followers_url":"https://api.github.com/users/dcjones/followers","following_url":"https://api.github.com/users/dcjones/following{/other_user}","gists_url":"https://api.github.com/users/dcjones/gists{/gist_id}","starred_url":"https://api.github.com/users/dcjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcjones/subscriptions","organizations_url":"https://api.github.com/users/dcjones/orgs","repos_url":"https://api.github.com/users/dcjones/repos","events_url":"https://api.github.com/users/dcjones/events{/privacy}","received_events_url":"https://api.github.com/users/dcjones/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dcjones/Compose.jl","description":"Declarative vector graphics","fork":false,"url":"https://api.github.com/repos/dcjones/Compose.jl","forks_url":"https://api.github.com/repos/dcjones/Compose.jl/forks","keys_url":"https://api.github.com/repos/dcjones/Compose.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcjones/Compose.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcjones/Compose.jl/teams","hooks_url":"https://api.github.com/repos/dcjones/Compose.jl/hooks","issue_events_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/events{/number}","events_url":"https://api.github.com/repos/dcjones/Compose.jl/events","assignees_url":"https://api.github.com/repos/dcjones/Compose.jl/assignees{/user}","branches_url":"https://api.github.com/repos/dcjones/Compose.jl/branches{/branch}","tags_url":"https://api.github.com/repos/dcjones/Compose.jl/tags","blobs_url":"https://api.github.com/repos/dcjones/Compose.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcjones/Compose.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcjones/Compose.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcjones/Compose.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcjones/Compose.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/dcjones/Compose.jl/languages","stargazers_url":"https://api.github.com/repos/dcjones/Compose.jl/stargazers","contributors_url":"https://api.github.com/repos/dcjones/Compose.jl/contributors","subscribers_url":"https://api.github.com/repos/dcjones/Compose.jl/subscribers","subscription_url":"https://api.github.com/repos/dcjones/Compose.jl/subscription","commits_url":"https://api.github.com/repos/dcjones/Compose.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcjones/Compose.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcjones/Compose.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcjones/Compose.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcjones/Compose.jl/contents/{+path}","compare_url":"https://api.github.com/repos/dcjones/Compose.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcjones/Compose.jl/merges","archive_url":"https://api.github.com/repos/dcjones/Compose.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcjones/Compose.jl/downloads","issues_url":"https://api.github.com/repos/dcjones/Compose.jl/issues{/number}","pulls_url":"https://api.github.com/repos/dcjones/Compose.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/dcjones/Compose.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/dcjones/Compose.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcjones/Compose.jl/labels{/name}","releases_url":"https://api.github.com/repos/dcjones/Compose.jl/releases{/id}","created_at":"2012-08-20T03:22:20Z","updated_at":"2015-09-02T15:03:47Z","pushed_at":"2015-09-02T20:45:18Z","git_url":"git://github.com/dcjones/Compose.jl.git","ssh_url":"git@github.com:dcjones/Compose.jl.git","clone_url":"https://github.com/dcjones/Compose.jl.git","svn_url":"https://github.com/dcjones/Compose.jl","homepage":"composejl.org","size":2586,"stargazers_count":68,"watchers_count":68,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":41,"mirror_url":null,"open_issues_count":29,"forks":41,"open_issues":29,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcjones/Compose.jl/pulls/145"},"html":{"href":"https://github.com/dcjones/Compose.jl/pull/145"},"issue":{"href":"https://api.github.com/repos/dcjones/Compose.jl/issues/145"},"comments":{"href":"https://api.github.com/repos/dcjones/Compose.jl/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/dcjones/Compose.jl/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/dcjones/Compose.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcjones/Compose.jl/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/dcjones/Compose.jl/statuses/e1ac5b6be9a53dbcc605fb46f6d996aea0d54c61"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":80,"deletions":5,"changed_files":7}}