{"action":"created","issue":{"url":"https://api.github.com/repos/iqbalansari/mu4e-alert/issues/16","repository_url":"https://api.github.com/repos/iqbalansari/mu4e-alert","labels_url":"https://api.github.com/repos/iqbalansari/mu4e-alert/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/iqbalansari/mu4e-alert/issues/16/comments","events_url":"https://api.github.com/repos/iqbalansari/mu4e-alert/issues/16/events","html_url":"https://github.com/iqbalansari/mu4e-alert/issues/16","id":156563442,"number":16,"title":"multiple emacs/mu4e instances","user":{"login":"defanor","id":5599750,"avatar_url":"https://avatars.githubusercontent.com/u/5599750?v=3","gravatar_id":"","url":"https://api.github.com/users/defanor","html_url":"https://github.com/defanor","followers_url":"https://api.github.com/users/defanor/followers","following_url":"https://api.github.com/users/defanor/following{/other_user}","gists_url":"https://api.github.com/users/defanor/gists{/gist_id}","starred_url":"https://api.github.com/users/defanor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defanor/subscriptions","organizations_url":"https://api.github.com/users/defanor/orgs","repos_url":"https://api.github.com/users/defanor/repos","events_url":"https://api.github.com/users/defanor/events{/privacy}","received_events_url":"https://api.github.com/users/defanor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iqbalansari/mu4e-alert/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-05-24T17:23:27Z","updated_at":"2016-07-25T07:14:06Z","closed_at":null,"body":"When invoking mu4e from different emacs instances, using different\r\ncontexts, maildirs (`mu4e-maildir`), and mu databases\r\n(`mu4e-mu-home`), apparently setting\r\n`mu4e-alert-enable-mode-line-display` on `after-init-hook` leads to\r\nmu4e-alert using the default `mu4e-mu-home` even on secondary emacs\r\ninstances, while with `mu4e-main-mode-hook` the mode line\r\nnotifications don't get shown. Setting both seems to do the trick, but\r\nthat's quite confusing. Would be nice to fix it somehow, and/or to\r\nwrite down the instructions.\r\n\r\nmu4e 0.9.16, emacs 24.5.1, mu4e-alert 20160215.209 from melpa."},"comment":{"url":"https://api.github.com/repos/iqbalansari/mu4e-alert/issues/comments/234860820","html_url":"https://github.com/iqbalansari/mu4e-alert/issues/16#issuecomment-234860820","issue_url":"https://api.github.com/repos/iqbalansari/mu4e-alert/issues/16","id":234860820,"user":{"login":"defanor","id":5599750,"avatar_url":"https://avatars.githubusercontent.com/u/5599750?v=3","gravatar_id":"","url":"https://api.github.com/users/defanor","html_url":"https://github.com/defanor","followers_url":"https://api.github.com/users/defanor/followers","following_url":"https://api.github.com/users/defanor/following{/other_user}","gists_url":"https://api.github.com/users/defanor/gists{/gist_id}","starred_url":"https://api.github.com/users/defanor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defanor/subscriptions","organizations_url":"https://api.github.com/users/defanor/orgs","repos_url":"https://api.github.com/users/defanor/repos","events_url":"https://api.github.com/users/defanor/events{/privacy}","received_events_url":"https://api.github.com/users/defanor/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T07:14:06Z","updated_at":"2016-07-25T07:14:06Z","body":"Here it is, before even starting mu4e, with my regular configuration:\r\n```\r\n\"/usr/local/bin/mu find --nocolor -o sexp --sortfield\\\\=d --maxnum\\\\=500 flag\\\\:unread AND NOT flag\\\\:trashed\"\r\n```\r\n\r\nAnd `mu4e-alert--get-mu-unread-mails` shows the test mail I have in `.mu`. Without `mu4e-main-mode-hook`, it doesn't go away after choosing a work context (that uses `.mu-work`), while does otherwise. Also, without that hook, after choosing a context:\r\n\r\n```\r\n\"/usr/local/bin/mu find --nocolor -o sexp --sortfield\\\\=d --maxnum\\\\=500 --muhome\\\\=\\\\~/.mu-work flag\\\\:unread AND NOT flag\\\\:trashed\"\r\n```\r\nAnd `mu4e-alert--get-mu-unread-mails` sets `mails` to `nil`, while there's a notification about one letter."}}
{"actor":{"display_login":"defanor"}}