{"action":"opened","issue":{"url":"https://api.github.com/repos/abo-abo/hydra/issues/300","repository_url":"https://api.github.com/repos/abo-abo/hydra","labels_url":"https://api.github.com/repos/abo-abo/hydra/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/abo-abo/hydra/issues/300/comments","events_url":"https://api.github.com/repos/abo-abo/hydra/issues/300/events","html_url":"https://github.com/abo-abo/hydra/issues/300","id":367485382,"node_id":"MDU6SXNzdWUzNjc0ODUzODI=","number":300,"title":"defalias 't assigns hydra to 'self-insert-command","user":{"login":"TLINDEN","id":1322812,"node_id":"MDQ6VXNlcjEzMjI4MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1322812?v=4","gravatar_id":"","url":"https://api.github.com/users/TLINDEN","html_url":"https://github.com/TLINDEN","followers_url":"https://api.github.com/users/TLINDEN/followers","following_url":"https://api.github.com/users/TLINDEN/following{/other_user}","gists_url":"https://api.github.com/users/TLINDEN/gists{/gist_id}","starred_url":"https://api.github.com/users/TLINDEN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TLINDEN/subscriptions","organizations_url":"https://api.github.com/users/TLINDEN/orgs","repos_url":"https://api.github.com/users/TLINDEN/repos","events_url":"https://api.github.com/users/TLINDEN/events{/privacy}","received_events_url":"https://api.github.com/users/TLINDEN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-06T18:56:16Z","updated_at":"2018-10-06T18:56:16Z","closed_at":null,"author_association":"NONE","body":"Ok, this is really weird and I'm pretty sure it's not hydra's fault. However, I don't know where to ask, so I'll try it here:\r\n\r\nI've defined a simple hydra to manage org tables (here: https://github.com/TLINDEN/dot-emacs/edit/master/.emacs, look for hydra-org-tables). Since I'm out of memorable key sequences I tend to use aliases for things like this. My normal alias is 'table, but I wanted to have a shorter one, so I added this:\r\n```\r\n(defalias 't     'hydra-org-tables/body)\r\n```\r\n\r\nWhen I start emacs with this alias enabled, the following happens: entering any key besides control keys now runs the hydra. That is, `self-insert-command` has been overwritten by the hydra. This doesn't happen with any other key, so an alias `x` or whatever has no effect, this ONLY happens with alias `t`.\r\n\r\nYes, this sounds crazy. I've no problem abstaining of this alias `t` but it would be great to know what causes this behavior.\r\n\r\nAlso, I am unable to reproduce the behavior without my whole config. That is, if I execute `emacs -Q`, load hydra manually, enter this in scratch:\r\n```\r\n(defhydra hydra-test()\r\n  \"nix\"\r\n  (\"c\"  calc \"calc\")\r\n  (\"q\" nil))\r\n(defalias 't        'hydra-test/body)\r\n```\r\nand evaluate it - nothing like the above happens. So it's clear that my config somehow triggers the behavior. But I have no idea how to track it down (especially since I cant do anything while the alias `t`\r\nis active).\r\n\r\nAny idea?"}}
{"actor":{"display_login":"TLINDEN"}}