{"action":"created","issue":{"url":"https://api.github.com/repos/chrisdone/god-mode/issues/68","labels_url":"https://api.github.com/repos/chrisdone/god-mode/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/chrisdone/god-mode/issues/68/comments","events_url":"https://api.github.com/repos/chrisdone/god-mode/issues/68/events","html_url":"https://github.com/chrisdone/god-mode/issues/68","id":53950068,"number":68,"title":"god-mode and term-mode interacting poorly","user":{"login":"robru","id":401483,"avatar_url":"https://avatars.githubusercontent.com/u/401483?v=3","gravatar_id":"","url":"https://api.github.com/users/robru","html_url":"https://github.com/robru","followers_url":"https://api.github.com/users/robru/followers","following_url":"https://api.github.com/users/robru/following{/other_user}","gists_url":"https://api.github.com/users/robru/gists{/gist_id}","starred_url":"https://api.github.com/users/robru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robru/subscriptions","organizations_url":"https://api.github.com/users/robru/orgs","repos_url":"https://api.github.com/users/robru/repos","events_url":"https://api.github.com/users/robru/events{/privacy}","received_events_url":"https://api.github.com/users/robru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-10T07:23:19Z","updated_at":"2015-01-10T13:56:33Z","closed_at":null,"body":"When running emacs graphically, I find that I can enter god-mode while visiting a term-mode buffer, but the letters I type are simply entered into the term rather than triggering god mode commands.\r\n\r\nEg I have this config:\r\n\r\n```\r\n(use-package god-mode\r\n  :ensure t\r\n  :defer t\r\n  :bind ((\"<escape>\" . god-mode-all)\r\n         (\"C-x C-o\" . other-window)\r\n         (\"C-x C-0\" . delete-window)\r\n         (\"C-x C-1\" . delete-other-windows)\r\n         (\"C-x C-2\" . split-window-below)\r\n         (\"C-x C-4\" . winner-undo))\r\n  :config\r\n  (bind-key \".\" 'repeat god-local-mode-map))\r\n```\r\n\r\nAnd I have two windows open: one with a file, one with `term-mode` buffer. When the file buffer is active, I can press `ESC` and `God` appears in the modelines for both windows, then if I type `xo` the active window correctly changes, but if I type `xo` again, it is simply entered into the term despite saying `God` in the modeline.\r\n\r\nI checked `god-exempt-predicates` and tried removing `god-comint-mode-p` from it, but it made no change in behavior. \r\n\r\nI'm curious what the reasoning behind disabling god-mode for comint buffers by default was. I use terminals a lot and it's too confusing if I have one way to switch into the term mode buffer and then require a different way to switch back.\r\n\r\nAny thoughts? Thanks."},"comment":{"url":"https://api.github.com/repos/chrisdone/god-mode/issues/comments/69456571","html_url":"https://github.com/chrisdone/god-mode/issues/68#issuecomment-69456571","issue_url":"https://api.github.com/repos/chrisdone/god-mode/issues/68","id":69456571,"user":{"login":"chrisdone","id":11019,"avatar_url":"https://avatars.githubusercontent.com/u/11019?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdone","html_url":"https://github.com/chrisdone","followers_url":"https://api.github.com/users/chrisdone/followers","following_url":"https://api.github.com/users/chrisdone/following{/other_user}","gists_url":"https://api.github.com/users/chrisdone/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdone/subscriptions","organizations_url":"https://api.github.com/users/chrisdone/orgs","repos_url":"https://api.github.com/users/chrisdone/repos","events_url":"https://api.github.com/users/chrisdone/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdone/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T13:56:33Z","updated_at":"2015-01-10T13:56:33Z","body":"I just discovered `overriding-terminal-local-map` in [controlling active maps](http://www.gnu.org/software/emacs/manual/html_node/elisp/Controlling-Active-Maps.html#Controlling-Active-Maps). This could be a much better way to completely take over the keymap for god-mode which would even work in special-mode and any other mode. It's what `C-s` uses for overriding everything else. I'm going to try it."}}