{"action":"created","comment":{"url":"https://api.github.com/repos/yuya373/emacs-slack/pulls/comments/68515830","id":68515830,"diff_hunk":"@@ -55,5 +55,24 @@\n                                    nil\n                                  value)))))))\n \n+(eval-after-load \"company\"\n+  '(progn\n+     (defun company-slack-backend (command &optional arg &rest ignored)\n+       \"Completion backend for slack chats.  It currently understands\n+@USER; adding #CHANNEL should be a simple matter of programming.\"\n+       (interactive (list 'interactive))\n+       (cl-case command\n+         (interactive (company-begin-backend 'company-slack-backend))\n+         (prefix (when (and (eq major-mode 'slack-mode) (looking-back \"\\\\W@\\\\(\\\\w*\\\\)\")) (match-string 1)))\n+         (candidates (remove-if-not\n+                      (lambda (x)\n+                        (s-starts-with-p arg x))","path":"slack-util.el","position":null,"original_position":15,"commit_id":"7ce2d431f1a9ae623e08d51170c9ceba3155fdfd","original_commit_id":"f144f1197aa81aa95e52f74543845befcf71cb3e","user":{"login":"yuya373","id":3055271,"avatar_url":"https://avatars.githubusercontent.com/u/3055271?v=3","gravatar_id":"","url":"https://api.github.com/users/yuya373","html_url":"https://github.com/yuya373","followers_url":"https://api.github.com/users/yuya373/followers","following_url":"https://api.github.com/users/yuya373/following{/other_user}","gists_url":"https://api.github.com/users/yuya373/gists{/gist_id}","starred_url":"https://api.github.com/users/yuya373/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuya373/subscriptions","organizations_url":"https://api.github.com/users/yuya373/orgs","repos_url":"https://api.github.com/users/yuya373/repos","events_url":"https://api.github.com/users/yuya373/events{/privacy}","received_events_url":"https://api.github.com/users/yuya373/received_events","type":"User","site_admin":false},"body":"there is no dependency to `s.el` in this package. please replace `s-starts-with-p` with `string-prefix-p`.","created_at":"2016-06-27T01:55:29Z","updated_at":"2016-06-27T01:55:29Z","html_url":"https://github.com/yuya373/emacs-slack/pull/96#discussion_r68515830","pull_request_url":"https://api.github.com/repos/yuya373/emacs-slack/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/yuya373/emacs-slack/pulls/comments/68515830"},"html":{"href":"https://github.com/yuya373/emacs-slack/pull/96#discussion_r68515830"},"pull_request":{"href":"https://api.github.com/repos/yuya373/emacs-slack/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/yuya373/emacs-slack/pulls/96","id":73639349,"html_url":"https://github.com/yuya373/emacs-slack/pull/96","diff_url":"https://github.com/yuya373/emacs-slack/pull/96.diff","patch_url":"https://github.com/yuya373/emacs-slack/pull/96.patch","issue_url":"https://api.github.com/repos/yuya373/emacs-slack/issues/96","number":96,"state":"open","locked":false,"title":"Add company backend for slack","user":{"login":"zvbuhl","id":11946572,"avatar_url":"https://avatars.githubusercontent.com/u/11946572?v=3","gravatar_id":"","url":"https://api.github.com/users/zvbuhl","html_url":"https://github.com/zvbuhl","followers_url":"https://api.github.com/users/zvbuhl/followers","following_url":"https://api.github.com/users/zvbuhl/following{/other_user}","gists_url":"https://api.github.com/users/zvbuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/zvbuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvbuhl/subscriptions","organizations_url":"https://api.github.com/users/zvbuhl/orgs","repos_url":"https://api.github.com/users/zvbuhl/repos","events_url":"https://api.github.com/users/zvbuhl/events{/privacy}","received_events_url":"https://api.github.com/users/zvbuhl/received_events","type":"User","site_admin":false},"body":"This is a lightweight company-mode backend which adds user completion to slack. Adding channel completion should be relatively easy too.\r\n\r\nIt doesn't yet support @here.","created_at":"2016-06-13T20:39:26Z","updated_at":"2016-06-27T01:55:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac582739cab44fd6ba797175edf1d9d2a4df9029","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yuya373/emacs-slack/pulls/96/commits","review_comments_url":"https://api.github.com/repos/yuya373/emacs-slack/pulls/96/comments","review_comment_url":"https://api.github.com/repos/yuya373/emacs-slack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuya373/emacs-slack/issues/96/comments","statuses_url":"https://api.github.com/repos/yuya373/emacs-slack/statuses/7ce2d431f1a9ae623e08d51170c9ceba3155fdfd","head":{"label":"zvbuhl:company-slack-backend","ref":"company-slack-backend","sha":"7ce2d431f1a9ae623e08d51170c9ceba3155fdfd","user":{"login":"zvbuhl","id":11946572,"avatar_url":"https://avatars.githubusercontent.com/u/11946572?v=3","gravatar_id":"","url":"https://api.github.com/users/zvbuhl","html_url":"https://github.com/zvbuhl","followers_url":"https://api.github.com/users/zvbuhl/followers","following_url":"https://api.github.com/users/zvbuhl/following{/other_user}","gists_url":"https://api.github.com/users/zvbuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/zvbuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvbuhl/subscriptions","organizations_url":"https://api.github.com/users/zvbuhl/orgs","repos_url":"https://api.github.com/users/zvbuhl/repos","events_url":"https://api.github.com/users/zvbuhl/events{/privacy}","received_events_url":"https://api.github.com/users/zvbuhl/received_events","type":"User","site_admin":false},"repo":{"id":61066638,"name":"emacs-slack","full_name":"zvbuhl/emacs-slack","owner":{"login":"zvbuhl","id":11946572,"avatar_url":"https://avatars.githubusercontent.com/u/11946572?v=3","gravatar_id":"","url":"https://api.github.com/users/zvbuhl","html_url":"https://github.com/zvbuhl","followers_url":"https://api.github.com/users/zvbuhl/followers","following_url":"https://api.github.com/users/zvbuhl/following{/other_user}","gists_url":"https://api.github.com/users/zvbuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/zvbuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zvbuhl/subscriptions","organizations_url":"https://api.github.com/users/zvbuhl/orgs","repos_url":"https://api.github.com/users/zvbuhl/repos","events_url":"https://api.github.com/users/zvbuhl/events{/privacy}","received_events_url":"https://api.github.com/users/zvbuhl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zvbuhl/emacs-slack","description":"slack client for emacs","fork":true,"url":"https://api.github.com/repos/zvbuhl/emacs-slack","forks_url":"https://api.github.com/repos/zvbuhl/emacs-slack/forks","keys_url":"https://api.github.com/repos/zvbuhl/emacs-slack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zvbuhl/emacs-slack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zvbuhl/emacs-slack/teams","hooks_url":"https://api.github.com/repos/zvbuhl/emacs-slack/hooks","issue_events_url":"https://api.github.com/repos/zvbuhl/emacs-slack/issues/events{/number}","events_url":"https://api.github.com/repos/zvbuhl/emacs-slack/events","assignees_url":"https://api.github.com/repos/zvbuhl/emacs-slack/assignees{/user}","branches_url":"https://api.github.com/repos/zvbuhl/emacs-slack/branches{/branch}","tags_url":"https://api.github.com/repos/zvbuhl/emacs-slack/tags","blobs_url":"https://api.github.com/repos/zvbuhl/emacs-slack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zvbuhl/emacs-slack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zvbuhl/emacs-slack/git/refs{/sha}","trees_url":"https://api.github.com/repos/zvbuhl/emacs-slack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zvbuhl/emacs-slack/statuses/{sha}","languages_url":"https://api.github.com/repos/zvbuhl/emacs-slack/languages","stargazers_url":"https://api.github.com/repos/zvbuhl/emacs-slack/stargazers","contributors_url":"https://api.github.com/repos/zvbuhl/emacs-slack/contributors","subscribers_url":"https://api.github.com/repos/zvbuhl/emacs-slack/subscribers","subscription_url":"https://api.github.com/repos/zvbuhl/emacs-slack/subscription","commits_url":"https://api.github.com/repos/zvbuhl/emacs-slack/commits{/sha}","git_commits_url":"https://api.github.com/repos/zvbuhl/emacs-slack/git/commits{/sha}","comments_url":"https://api.github.com/repos/zvbuhl/emacs-slack/comments{/number}","issue_comment_url":"https://api.github.com/repos/zvbuhl/emacs-slack/issues/comments{/number}","contents_url":"https://api.github.com/repos/zvbuhl/emacs-slack/contents/{+path}","compare_url":"https://api.github.com/repos/zvbuhl/emacs-slack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zvbuhl/emacs-slack/merges","archive_url":"https://api.github.com/repos/zvbuhl/emacs-slack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zvbuhl/emacs-slack/downloads","issues_url":"https://api.github.com/repos/zvbuhl/emacs-slack/issues{/number}","pulls_url":"https://api.github.com/repos/zvbuhl/emacs-slack/pulls{/number}","milestones_url":"https://api.github.com/repos/zvbuhl/emacs-slack/milestones{/number}","notifications_url":"https://api.github.com/repos/zvbuhl/emacs-slack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zvbuhl/emacs-slack/labels{/name}","releases_url":"https://api.github.com/repos/zvbuhl/emacs-slack/releases{/id}","deployments_url":"https://api.github.com/repos/zvbuhl/emacs-slack/deployments","created_at":"2016-06-13T20:15:03Z","updated_at":"2016-06-13T20:15:04Z","pushed_at":"2016-06-24T15:01:27Z","git_url":"git://github.com/zvbuhl/emacs-slack.git","ssh_url":"git@github.com:zvbuhl/emacs-slack.git","clone_url":"https://github.com/zvbuhl/emacs-slack.git","svn_url":"https://github.com/zvbuhl/emacs-slack","homepage":"","size":338,"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":"yuya373:master","ref":"master","sha":"44df5544a8b51c7b349adb503ee0c6c5dcec5255","user":{"login":"yuya373","id":3055271,"avatar_url":"https://avatars.githubusercontent.com/u/3055271?v=3","gravatar_id":"","url":"https://api.github.com/users/yuya373","html_url":"https://github.com/yuya373","followers_url":"https://api.github.com/users/yuya373/followers","following_url":"https://api.github.com/users/yuya373/following{/other_user}","gists_url":"https://api.github.com/users/yuya373/gists{/gist_id}","starred_url":"https://api.github.com/users/yuya373/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuya373/subscriptions","organizations_url":"https://api.github.com/users/yuya373/orgs","repos_url":"https://api.github.com/users/yuya373/repos","events_url":"https://api.github.com/users/yuya373/events{/privacy}","received_events_url":"https://api.github.com/users/yuya373/received_events","type":"User","site_admin":false},"repo":{"id":44824065,"name":"emacs-slack","full_name":"yuya373/emacs-slack","owner":{"login":"yuya373","id":3055271,"avatar_url":"https://avatars.githubusercontent.com/u/3055271?v=3","gravatar_id":"","url":"https://api.github.com/users/yuya373","html_url":"https://github.com/yuya373","followers_url":"https://api.github.com/users/yuya373/followers","following_url":"https://api.github.com/users/yuya373/following{/other_user}","gists_url":"https://api.github.com/users/yuya373/gists{/gist_id}","starred_url":"https://api.github.com/users/yuya373/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuya373/subscriptions","organizations_url":"https://api.github.com/users/yuya373/orgs","repos_url":"https://api.github.com/users/yuya373/repos","events_url":"https://api.github.com/users/yuya373/events{/privacy}","received_events_url":"https://api.github.com/users/yuya373/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuya373/emacs-slack","description":"slack client for emacs","fork":false,"url":"https://api.github.com/repos/yuya373/emacs-slack","forks_url":"https://api.github.com/repos/yuya373/emacs-slack/forks","keys_url":"https://api.github.com/repos/yuya373/emacs-slack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuya373/emacs-slack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuya373/emacs-slack/teams","hooks_url":"https://api.github.com/repos/yuya373/emacs-slack/hooks","issue_events_url":"https://api.github.com/repos/yuya373/emacs-slack/issues/events{/number}","events_url":"https://api.github.com/repos/yuya373/emacs-slack/events","assignees_url":"https://api.github.com/repos/yuya373/emacs-slack/assignees{/user}","branches_url":"https://api.github.com/repos/yuya373/emacs-slack/branches{/branch}","tags_url":"https://api.github.com/repos/yuya373/emacs-slack/tags","blobs_url":"https://api.github.com/repos/yuya373/emacs-slack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuya373/emacs-slack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuya373/emacs-slack/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuya373/emacs-slack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuya373/emacs-slack/statuses/{sha}","languages_url":"https://api.github.com/repos/yuya373/emacs-slack/languages","stargazers_url":"https://api.github.com/repos/yuya373/emacs-slack/stargazers","contributors_url":"https://api.github.com/repos/yuya373/emacs-slack/contributors","subscribers_url":"https://api.github.com/repos/yuya373/emacs-slack/subscribers","subscription_url":"https://api.github.com/repos/yuya373/emacs-slack/subscription","commits_url":"https://api.github.com/repos/yuya373/emacs-slack/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuya373/emacs-slack/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuya373/emacs-slack/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuya373/emacs-slack/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuya373/emacs-slack/contents/{+path}","compare_url":"https://api.github.com/repos/yuya373/emacs-slack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuya373/emacs-slack/merges","archive_url":"https://api.github.com/repos/yuya373/emacs-slack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuya373/emacs-slack/downloads","issues_url":"https://api.github.com/repos/yuya373/emacs-slack/issues{/number}","pulls_url":"https://api.github.com/repos/yuya373/emacs-slack/pulls{/number}","milestones_url":"https://api.github.com/repos/yuya373/emacs-slack/milestones{/number}","notifications_url":"https://api.github.com/repos/yuya373/emacs-slack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuya373/emacs-slack/labels{/name}","releases_url":"https://api.github.com/repos/yuya373/emacs-slack/releases{/id}","deployments_url":"https://api.github.com/repos/yuya373/emacs-slack/deployments","created_at":"2015-10-23T16:13:08Z","updated_at":"2016-06-23T17:55:06Z","pushed_at":"2016-06-24T15:01:27Z","git_url":"git://github.com/yuya373/emacs-slack.git","ssh_url":"git@github.com:yuya373/emacs-slack.git","clone_url":"https://github.com/yuya373/emacs-slack.git","svn_url":"https://github.com/yuya373/emacs-slack","homepage":"","size":338,"stargazers_count":139,"watchers_count":139,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yuya373/emacs-slack/pulls/96"},"html":{"href":"https://github.com/yuya373/emacs-slack/pull/96"},"issue":{"href":"https://api.github.com/repos/yuya373/emacs-slack/issues/96"},"comments":{"href":"https://api.github.com/repos/yuya373/emacs-slack/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/yuya373/emacs-slack/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/yuya373/emacs-slack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuya373/emacs-slack/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/yuya373/emacs-slack/statuses/7ce2d431f1a9ae623e08d51170c9ceba3155fdfd"}}}}
{"actor":{"display_login":"yuya373"}}