{"action":"created","issue":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/755","repository_url":"https://api.github.com/repos/abo-abo/swiper","labels_url":"https://api.github.com/repos/abo-abo/swiper/issues/755/labels{/name}","comments_url":"https://api.github.com/repos/abo-abo/swiper/issues/755/comments","events_url":"https://api.github.com/repos/abo-abo/swiper/issues/755/events","html_url":"https://github.com/abo-abo/swiper/issues/755","id":187140056,"number":755,"title":"Loading focus breaks ivy-mode","user":{"login":"thblt","id":2453136,"avatar_url":"https://avatars.githubusercontent.com/u/2453136?v=3","gravatar_id":"","url":"https://api.github.com/users/thblt","html_url":"https://github.com/thblt","followers_url":"https://api.github.com/users/thblt/followers","following_url":"https://api.github.com/users/thblt/following{/other_user}","gists_url":"https://api.github.com/users/thblt/gists{/gist_id}","starred_url":"https://api.github.com/users/thblt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thblt/subscriptions","organizations_url":"https://api.github.com/users/thblt/orgs","repos_url":"https://api.github.com/users/thblt/repos","events_url":"https://api.github.com/users/thblt/events{/privacy}","received_events_url":"https://api.github.com/users/thblt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-03T17:39:02Z","updated_at":"2016-11-09T18:40:39Z","closed_at":"2016-11-09T18:08:51Z","body":"When [focus mode](https://melpa.org/#/focus) is loaded (without activating `focus-mode`,  `(use-package focus)` or `(require 'focus)` is enough), ivy starts behaving strangely: typing M-x, C-g then M-: displays the M-x completion buffer again, except that it behaves likes the normal `eval-expression` minibuffer (that is, completions are for M-x, but input is interpreted as in M-:).   More generally, ivy completion windows seems to be completely unrelated to the context.\r\n\r\n## Steps to reproduce\r\n\r\nFrom `emacs -Q` (with both ivy and focus installed), evaluate this:\r\n\r\n```elisp \r\n(require 'package)\r\n(package-initialize)\r\n\r\n(require 'ivy)\r\n(require 'focus)\r\n(ivy-mode t)\r\n``` \r\n\r\nPress M-x, C-g, M-: \r\n\r\n**Result**: the M-x window appears again, complete with M-x prompt, instead of the expected \"Eval:\" prompt.  Suggested completions are interactive commands names, but result is correctly evaluated as elisp (just accepting a suggested interactive command and pressing return fails with \"Trailing garbage following expression\")\r\n\r\nC-x-f  C-g M-: displays find file instead of M-x where the Eval: prompt should be, and so on.\r\n\r\nThe bug doesn't appear if `(require 'focus)` is commented out. \r\n\r\n## Configuration\r\n\r\nI can reproduce this bug in either Emacs 24 or 25 from official repositories in Debian Stretch (=testing).  I've also experienced it in ArchLinux with packaged Debian 25, although I haven't tried the exact steps above in this distro, the problem should be the same.\r\n\r\nEmacs 24 use latest ivy and focus from Melpa, Emacs 25 use latest ivy and focus from Melpa *stable*. \r\n\r\nAs this is a package incompatibility, I'm tagging @larstvei, the author of focus-mode."},"comment":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/comments/259490757","html_url":"https://github.com/abo-abo/swiper/issues/755#issuecomment-259490757","issue_url":"https://api.github.com/repos/abo-abo/swiper/issues/755","id":259490757,"user":{"login":"abo-abo","id":2937359,"avatar_url":"https://avatars.githubusercontent.com/u/2937359?v=3","gravatar_id":"","url":"https://api.github.com/users/abo-abo","html_url":"https://github.com/abo-abo","followers_url":"https://api.github.com/users/abo-abo/followers","following_url":"https://api.github.com/users/abo-abo/following{/other_user}","gists_url":"https://api.github.com/users/abo-abo/gists{/gist_id}","starred_url":"https://api.github.com/users/abo-abo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abo-abo/subscriptions","organizations_url":"https://api.github.com/users/abo-abo/orgs","repos_url":"https://api.github.com/users/abo-abo/repos","events_url":"https://api.github.com/users/abo-abo/events{/privacy}","received_events_url":"https://api.github.com/users/abo-abo/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T18:40:39Z","updated_at":"2016-11-09T18:40:39Z","body":"@thblt @larstvei thanks."}}
{"actor":{"display_login":"abo-abo"}}