{"action":"created","comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/comments/51340607","id":51340607,"diff_hunk":"@@ -46,6 +47,10 @@\n         (add-hook 'mu4e-compose-pre-hook 'mu4e/set-account)\n         (add-hook 'message-sent-hook 'mu4e/mail-account-reset)))))\n \n+(defun mu4e/init-mu4e-alert ()\n+  (use-package mu4e-alert\n+    :commands (mu4e-alert-enable-notifications)))\n+","path":"layers/+email/mu4e/packages.el","position":15,"original_position":15,"commit_id":"319911afa1c375d42ba73706e238fec332d59f46","original_commit_id":"319911afa1c375d42ba73706e238fec332d59f46","user":{"login":"nixmaniack","id":542810,"avatar_url":"https://avatars.githubusercontent.com/u/542810?v=3","gravatar_id":"","url":"https://api.github.com/users/nixmaniack","html_url":"https://github.com/nixmaniack","followers_url":"https://api.github.com/users/nixmaniack/followers","following_url":"https://api.github.com/users/nixmaniack/following{/other_user}","gists_url":"https://api.github.com/users/nixmaniack/gists{/gist_id}","starred_url":"https://api.github.com/users/nixmaniack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nixmaniack/subscriptions","organizations_url":"https://api.github.com/users/nixmaniack/orgs","repos_url":"https://api.github.com/users/nixmaniack/repos","events_url":"https://api.github.com/users/nixmaniack/events{/privacy}","received_events_url":"https://api.github.com/users/nixmaniack/received_events","type":"User","site_admin":false},"body":"`:commands` is not needed as the function already has autoload defined. \r\nYou may also add layer variables to turn on/off notifications/mode-line by adding following snippet in `:init`\r\n```elisp\r\n(with-eval-after-load 'mu4e\r\n  (when mu4e-enable-notifications\r\n    (mu4e-alert-enable-notifications))\r\n  (when mu4e-enable-mode-line\r\n    (mu4e-alert-enable-mode-line-display)))\r\n```\r\n\r\nAnd define layer variables in `config.el`\r\n```elisp \r\n(defvar mu4e-enable-notifications nil\r\n  \"If non-nil, enable desktop notifications for unread emails.\")\r\n(defvar mu4e-enable-mode-line nil\r\n  \"If non-nil, enable display of unread emails in mode-line.\")\r\n```\r\n","created_at":"2016-01-30T05:07:52Z","updated_at":"2016-01-30T05:07:52Z","html_url":"https://github.com/syl20bnr/spacemacs/pull/4873#discussion_r51340607","pull_request_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4873","_links":{"self":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/comments/51340607"},"html":{"href":"https://github.com/syl20bnr/spacemacs/pull/4873#discussion_r51340607"},"pull_request":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4873"}}},"pull_request":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4873","id":57726446,"html_url":"https://github.com/syl20bnr/spacemacs/pull/4873","diff_url":"https://github.com/syl20bnr/spacemacs/pull/4873.diff","patch_url":"https://github.com/syl20bnr/spacemacs/pull/4873.patch","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4873","number":4873,"state":"open","locked":false,"title":"Add mu4-alert Package to emails mu4e Layer","user":{"login":"zakkak","id":1435395,"avatar_url":"https://avatars.githubusercontent.com/u/1435395?v=3","gravatar_id":"","url":"https://api.github.com/users/zakkak","html_url":"https://github.com/zakkak","followers_url":"https://api.github.com/users/zakkak/followers","following_url":"https://api.github.com/users/zakkak/following{/other_user}","gists_url":"https://api.github.com/users/zakkak/gists{/gist_id}","starred_url":"https://api.github.com/users/zakkak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakkak/subscriptions","organizations_url":"https://api.github.com/users/zakkak/orgs","repos_url":"https://api.github.com/users/zakkak/repos","events_url":"https://api.github.com/users/zakkak/events{/privacy}","received_events_url":"https://api.github.com/users/zakkak/received_events","type":"User","site_admin":false},"body":"mu4e-alert is an extension that provides desktop notifications and adds\r\nthe count of unread messages to the modeline.","created_at":"2016-01-30T02:01:54Z","updated_at":"2016-01-30T05:07:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0dfa6ec6f853d5e1e8914bbfb648125578f619a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4873/commits","review_comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4873/comments","review_comment_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4873/comments","statuses_url":"https://api.github.com/repos/syl20bnr/spacemacs/statuses/319911afa1c375d42ba73706e238fec332d59f46","head":{"label":"zakkak:mu4e-alert","ref":"mu4e-alert","sha":"319911afa1c375d42ba73706e238fec332d59f46","user":{"login":"zakkak","id":1435395,"avatar_url":"https://avatars.githubusercontent.com/u/1435395?v=3","gravatar_id":"","url":"https://api.github.com/users/zakkak","html_url":"https://github.com/zakkak","followers_url":"https://api.github.com/users/zakkak/followers","following_url":"https://api.github.com/users/zakkak/following{/other_user}","gists_url":"https://api.github.com/users/zakkak/gists{/gist_id}","starred_url":"https://api.github.com/users/zakkak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakkak/subscriptions","organizations_url":"https://api.github.com/users/zakkak/orgs","repos_url":"https://api.github.com/users/zakkak/repos","events_url":"https://api.github.com/users/zakkak/events{/privacy}","received_events_url":"https://api.github.com/users/zakkak/received_events","type":"User","site_admin":false},"repo":{"id":50631284,"name":"spacemacs","full_name":"zakkak/spacemacs","owner":{"login":"zakkak","id":1435395,"avatar_url":"https://avatars.githubusercontent.com/u/1435395?v=3","gravatar_id":"","url":"https://api.github.com/users/zakkak","html_url":"https://github.com/zakkak","followers_url":"https://api.github.com/users/zakkak/followers","following_url":"https://api.github.com/users/zakkak/following{/other_user}","gists_url":"https://api.github.com/users/zakkak/gists{/gist_id}","starred_url":"https://api.github.com/users/zakkak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakkak/subscriptions","organizations_url":"https://api.github.com/users/zakkak/orgs","repos_url":"https://api.github.com/users/zakkak/repos","events_url":"https://api.github.com/users/zakkak/events{/privacy}","received_events_url":"https://api.github.com/users/zakkak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zakkak/spacemacs","description":"A community-driven Emacs distribution - The best editor is neither Emacs nor Vim,  it's Emacs *and* Vim!","fork":true,"url":"https://api.github.com/repos/zakkak/spacemacs","forks_url":"https://api.github.com/repos/zakkak/spacemacs/forks","keys_url":"https://api.github.com/repos/zakkak/spacemacs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zakkak/spacemacs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zakkak/spacemacs/teams","hooks_url":"https://api.github.com/repos/zakkak/spacemacs/hooks","issue_events_url":"https://api.github.com/repos/zakkak/spacemacs/issues/events{/number}","events_url":"https://api.github.com/repos/zakkak/spacemacs/events","assignees_url":"https://api.github.com/repos/zakkak/spacemacs/assignees{/user}","branches_url":"https://api.github.com/repos/zakkak/spacemacs/branches{/branch}","tags_url":"https://api.github.com/repos/zakkak/spacemacs/tags","blobs_url":"https://api.github.com/repos/zakkak/spacemacs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zakkak/spacemacs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zakkak/spacemacs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zakkak/spacemacs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zakkak/spacemacs/statuses/{sha}","languages_url":"https://api.github.com/repos/zakkak/spacemacs/languages","stargazers_url":"https://api.github.com/repos/zakkak/spacemacs/stargazers","contributors_url":"https://api.github.com/repos/zakkak/spacemacs/contributors","subscribers_url":"https://api.github.com/repos/zakkak/spacemacs/subscribers","subscription_url":"https://api.github.com/repos/zakkak/spacemacs/subscription","commits_url":"https://api.github.com/repos/zakkak/spacemacs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zakkak/spacemacs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zakkak/spacemacs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zakkak/spacemacs/issues/comments{/number}","contents_url":"https://api.github.com/repos/zakkak/spacemacs/contents/{+path}","compare_url":"https://api.github.com/repos/zakkak/spacemacs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zakkak/spacemacs/merges","archive_url":"https://api.github.com/repos/zakkak/spacemacs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zakkak/spacemacs/downloads","issues_url":"https://api.github.com/repos/zakkak/spacemacs/issues{/number}","pulls_url":"https://api.github.com/repos/zakkak/spacemacs/pulls{/number}","milestones_url":"https://api.github.com/repos/zakkak/spacemacs/milestones{/number}","notifications_url":"https://api.github.com/repos/zakkak/spacemacs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zakkak/spacemacs/labels{/name}","releases_url":"https://api.github.com/repos/zakkak/spacemacs/releases{/id}","deployments_url":"https://api.github.com/repos/zakkak/spacemacs/deployments","created_at":"2016-01-29T02:31:07Z","updated_at":"2016-01-29T02:31:10Z","pushed_at":"2016-01-30T02:09:29Z","git_url":"git://github.com/zakkak/spacemacs.git","ssh_url":"git@github.com:zakkak/spacemacs.git","clone_url":"https://github.com/zakkak/spacemacs.git","svn_url":"https://github.com/zakkak/spacemacs","homepage":"http://spacemacs.org","size":21991,"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":"syl20bnr:develop","ref":"develop","sha":"33fd71d4bf9a8554effad2cbb16ed5fa52716f42","user":{"login":"syl20bnr","id":1243537,"avatar_url":"https://avatars.githubusercontent.com/u/1243537?v=3","gravatar_id":"","url":"https://api.github.com/users/syl20bnr","html_url":"https://github.com/syl20bnr","followers_url":"https://api.github.com/users/syl20bnr/followers","following_url":"https://api.github.com/users/syl20bnr/following{/other_user}","gists_url":"https://api.github.com/users/syl20bnr/gists{/gist_id}","starred_url":"https://api.github.com/users/syl20bnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl20bnr/subscriptions","organizations_url":"https://api.github.com/users/syl20bnr/orgs","repos_url":"https://api.github.com/users/syl20bnr/repos","events_url":"https://api.github.com/users/syl20bnr/events{/privacy}","received_events_url":"https://api.github.com/users/syl20bnr/received_events","type":"User","site_admin":false},"repo":{"id":7212645,"name":"spacemacs","full_name":"syl20bnr/spacemacs","owner":{"login":"syl20bnr","id":1243537,"avatar_url":"https://avatars.githubusercontent.com/u/1243537?v=3","gravatar_id":"","url":"https://api.github.com/users/syl20bnr","html_url":"https://github.com/syl20bnr","followers_url":"https://api.github.com/users/syl20bnr/followers","following_url":"https://api.github.com/users/syl20bnr/following{/other_user}","gists_url":"https://api.github.com/users/syl20bnr/gists{/gist_id}","starred_url":"https://api.github.com/users/syl20bnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl20bnr/subscriptions","organizations_url":"https://api.github.com/users/syl20bnr/orgs","repos_url":"https://api.github.com/users/syl20bnr/repos","events_url":"https://api.github.com/users/syl20bnr/events{/privacy}","received_events_url":"https://api.github.com/users/syl20bnr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/syl20bnr/spacemacs","description":"A community-driven Emacs distribution - The best editor is neither Emacs nor Vim,  it's Emacs *and* Vim!","fork":false,"url":"https://api.github.com/repos/syl20bnr/spacemacs","forks_url":"https://api.github.com/repos/syl20bnr/spacemacs/forks","keys_url":"https://api.github.com/repos/syl20bnr/spacemacs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syl20bnr/spacemacs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syl20bnr/spacemacs/teams","hooks_url":"https://api.github.com/repos/syl20bnr/spacemacs/hooks","issue_events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/events{/number}","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/events","assignees_url":"https://api.github.com/repos/syl20bnr/spacemacs/assignees{/user}","branches_url":"https://api.github.com/repos/syl20bnr/spacemacs/branches{/branch}","tags_url":"https://api.github.com/repos/syl20bnr/spacemacs/tags","blobs_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/refs{/sha}","trees_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syl20bnr/spacemacs/statuses/{sha}","languages_url":"https://api.github.com/repos/syl20bnr/spacemacs/languages","stargazers_url":"https://api.github.com/repos/syl20bnr/spacemacs/stargazers","contributors_url":"https://api.github.com/repos/syl20bnr/spacemacs/contributors","subscribers_url":"https://api.github.com/repos/syl20bnr/spacemacs/subscribers","subscription_url":"https://api.github.com/repos/syl20bnr/spacemacs/subscription","commits_url":"https://api.github.com/repos/syl20bnr/spacemacs/commits{/sha}","git_commits_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/commits{/sha}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/comments{/number}","issue_comment_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments{/number}","contents_url":"https://api.github.com/repos/syl20bnr/spacemacs/contents/{+path}","compare_url":"https://api.github.com/repos/syl20bnr/spacemacs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syl20bnr/spacemacs/merges","archive_url":"https://api.github.com/repos/syl20bnr/spacemacs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syl20bnr/spacemacs/downloads","issues_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues{/number}","pulls_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls{/number}","milestones_url":"https://api.github.com/repos/syl20bnr/spacemacs/milestones{/number}","notifications_url":"https://api.github.com/repos/syl20bnr/spacemacs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/labels{/name}","releases_url":"https://api.github.com/repos/syl20bnr/spacemacs/releases{/id}","deployments_url":"https://api.github.com/repos/syl20bnr/spacemacs/deployments","created_at":"2012-12-17T21:34:03Z","updated_at":"2016-01-30T03:08:32Z","pushed_at":"2016-01-30T03:39:36Z","git_url":"git://github.com/syl20bnr/spacemacs.git","ssh_url":"git@github.com:syl20bnr/spacemacs.git","clone_url":"https://github.com/syl20bnr/spacemacs.git","svn_url":"https://github.com/syl20bnr/spacemacs","homepage":"http://spacemacs.org","size":35646,"stargazers_count":5735,"watchers_count":5735,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1430,"mirror_url":null,"open_issues_count":672,"forks":1430,"open_issues":672,"watchers":5735,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4873"},"html":{"href":"https://github.com/syl20bnr/spacemacs/pull/4873"},"issue":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4873"},"comments":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/issues/4873/comments"},"review_comments":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4873/comments"},"review_comment":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/4873/commits"},"statuses":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/statuses/319911afa1c375d42ba73706e238fec332d59f46"}}}}