{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8485","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8485/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8485/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8485/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/8485","id":213118577,"number":8485,"title":"mu4e layer crashes helm-M-x","user":{"login":"gitfoxi","id":584005,"avatar_url":"https://avatars2.githubusercontent.com/u/584005?v=3","gravatar_id":"","url":"https://api.github.com/users/gitfoxi","html_url":"https://github.com/gitfoxi","followers_url":"https://api.github.com/users/gitfoxi/followers","following_url":"https://api.github.com/users/gitfoxi/following{/other_user}","gists_url":"https://api.github.com/users/gitfoxi/gists{/gist_id}","starred_url":"https://api.github.com/users/gitfoxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitfoxi/subscriptions","organizations_url":"https://api.github.com/users/gitfoxi/orgs","repos_url":"https://api.github.com/users/gitfoxi/repos","events_url":"https://api.github.com/users/gitfoxi/events{/privacy}","received_events_url":"https://api.github.com/users/gitfoxi/received_events","type":"User","site_admin":false},"labels":[{"id":329967402,"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/-%20Bug%20tracker%20-","name":"- Bug tracker -","color":"fef2c0","default":false},{"id":201045905,"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Email","name":"Email","color":"207de5","default":false},{"id":195179385,"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Helm","name":"Helm","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-03-09T18:03:57Z","updated_at":"2017-03-12T14:21:38Z","closed_at":null,"body":"#### Description :octocat:\r\nmu4e layer crashes helm-M-x\r\n\r\nAppears to be some kind of stack overflow.\r\n\r\nI get messages about exceeding `max-lisp-eval-depth` and if I set it higher then I exceed `max-specpdl-size`.\r\n\r\nStack trace shows `cl--map-keymap-recursively` to be the proximate cause. This could be a bug where the function isn't doing tail-call elimination right. Could be that mu4e is adding a lot of commands to the list exposing a bug in helm or emacs.\r\n\r\n#### Reproduction guide :beetle:\r\n- Start Emacs\r\n- Setup mu4e layer\r\n- [Spc a M] to open mailbox (might have to try this twice before it actually works but that's a separate issue)\r\n- [Spc Spc] to run helm-M-x\r\n\r\n*Observed behaviour:* :eyes: :broken_heart:\r\nDoesn't work. Subsequent use of [Spc Spc] anywhere says the buffer *helm* is missing.\r\n\r\n*Expected behaviour:* :heart: :smile:\r\nA list of commands.\r\n\r\n#### System Info :computer:\r\n- OS: darwin\r\n- Emacs: 25.1.1\r\n- Spacemacs: 0.200.7\r\n- Spacemacs branch: lisp-mode-2 (rev. 1e5e9cf)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: vim\r\n- Completion: helm\r\n- Layers:\r\n```elisp\r\n((mu4e :variables mu4e-installation-path \"/usr/local/share/emacs/site-lisp/mu/mu4e\" mu4e-account-alist t mu4e-enable-notifications t mu4e-enable-mode-line t)\r\n html python dash helm auto-completion better-defaults emacs-lisp common-lisp osx git markdown org spell-checking syntax-checking version-control chrome)\r\n```\r\n- System configuration features: JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/285947797","html_url":"https://github.com/syl20bnr/spacemacs/issues/8485#issuecomment-285947797","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/8485","id":285947797,"user":{"login":"gitfoxi","id":584005,"avatar_url":"https://avatars2.githubusercontent.com/u/584005?v=3","gravatar_id":"","url":"https://api.github.com/users/gitfoxi","html_url":"https://github.com/gitfoxi","followers_url":"https://api.github.com/users/gitfoxi/followers","following_url":"https://api.github.com/users/gitfoxi/following{/other_user}","gists_url":"https://api.github.com/users/gitfoxi/gists{/gist_id}","starred_url":"https://api.github.com/users/gitfoxi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitfoxi/subscriptions","organizations_url":"https://api.github.com/users/gitfoxi/orgs","repos_url":"https://api.github.com/users/gitfoxi/repos","events_url":"https://api.github.com/users/gitfoxi/events{/privacy}","received_events_url":"https://api.github.com/users/gitfoxi/received_events","type":"User","site_admin":false},"created_at":"2017-03-12T14:21:38Z","updated_at":"2017-03-12T14:21:38Z","body":"The best I can do so far is capture a screenshot on the backtrace breaking on `cl--map-keymap-recursively` after that `cl--map-keymap-recursively` calls itself until the stack overflows. The problem is that if I press any key after this, `*Backtrace*` disappears and the buffer is blanked (though not deleted). I think that helm must write into the current buffer, thinking its its own.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/584005/23832564/0dfba04a-06f4-11e7-88d0-0bb65a969979.png)\r\n"}}
{"actor":{"display_login":"gitfoxi"}}