{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/2018","labels_url":"https://api.github.com/repos/magit/magit/issues/2018/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/2018/comments","events_url":"https://api.github.com/repos/magit/magit/issues/2018/events","html_url":"https://github.com/magit/magit/issues/2018","id":93744021,"number":2018,"title":"magit-show-refs-popup does not show a popup?","user":{"login":"bastianbeischer","id":394863,"avatar_url":"https://avatars.githubusercontent.com/u/394863?v=3","gravatar_id":"","url":"https://api.github.com/users/bastianbeischer","html_url":"https://github.com/bastianbeischer","followers_url":"https://api.github.com/users/bastianbeischer/followers","following_url":"https://api.github.com/users/bastianbeischer/following{/other_user}","gists_url":"https://api.github.com/users/bastianbeischer/gists{/gist_id}","starred_url":"https://api.github.com/users/bastianbeischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bastianbeischer/subscriptions","organizations_url":"https://api.github.com/users/bastianbeischer/orgs","repos_url":"https://api.github.com/users/bastianbeischer/repos","events_url":"https://api.github.com/users/bastianbeischer/events{/privacy}","received_events_url":"https://api.github.com/users/bastianbeischer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magit/magit/labels/30%20support","name":"30 support","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T09:22:06Z","updated_at":"2015-07-08T09:56:29Z","closed_at":"2015-07-08T09:56:29Z","body":"When pressing <kbd>y</kbd> a new buffer opens which contains the magit-refs buffer.\r\n\r\nShouldn't it open a popup which contains various options? Looking at the code I find this:\r\n\r\n```\r\n;;;###autoload (autoload 'magit-show-refs-popup \"magit\" nil t)\r\n(magit-define-popup magit-show-refs-popup\r\n  \"Popup console for `magit-show-refs'.\"\r\n  'magit-refs\r\n  :man-page \"git-branch\"\r\n  :switches '((?m \"Merged to HEAD\"            \"--merged\")\r\n              (?M \"Merged to master\"          \"--merged=master\")\r\n              (?n \"Not merged to HEAD\"        \"--no-merged\")\r\n              (?N \"Not merged to master\"      \"--no-merged=master\"))\r\n  :options  '((?c \"Contains\"   \"--contains=\"  magit-read-branch-or-commit)\r\n              (?m \"Merged\"     \"--merged=\"    magit-read-branch-or-commit)\r\n              (?n \"Not merged\" \"--no-merged=\" magit-read-branch-or-commit))\r\n  :actions  '((?y \"Show refs, comparing them with HEAD\"\r\n                  magit-show-refs-head)\r\n              (?c \"Show refs, comparing them with current branch\"\r\n                  magit-show-refs-current)\r\n              (?o \"Show refs, comparing them with other branch\"\r\n                  magit-show-refs))\r\n  :default-action 'magit-show-refs-head\r\n  :use-prefix 'popup)\r\n```"},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/119528415","html_url":"https://github.com/magit/magit/issues/2018#issuecomment-119528415","issue_url":"https://api.github.com/repos/magit/magit/issues/2018","id":119528415,"user":{"login":"tarsius","id":25046,"avatar_url":"https://avatars.githubusercontent.com/u/25046?v=3","gravatar_id":"","url":"https://api.github.com/users/tarsius","html_url":"https://github.com/tarsius","followers_url":"https://api.github.com/users/tarsius/followers","following_url":"https://api.github.com/users/tarsius/following{/other_user}","gists_url":"https://api.github.com/users/tarsius/gists{/gist_id}","starred_url":"https://api.github.com/users/tarsius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarsius/subscriptions","organizations_url":"https://api.github.com/users/tarsius/orgs","repos_url":"https://api.github.com/users/tarsius/repos","events_url":"https://api.github.com/users/tarsius/events{/privacy}","received_events_url":"https://api.github.com/users/tarsius/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T09:56:29Z","updated_at":"2015-07-08T09:56:29Z","body":"The last line can be read as \"don't show a popup unless a prefix is used\" the second to last indicates what happens if no prefix is use.\r\n\r\nYou can change such properties:\r\n\r\n```lisp\r\n(setq magit-show-refs-popup (plist-put magit-show-refs-popup :use-prefix nil))\r\n```"}}