{"action":"closed","issue":{"url":"https://api.github.com/repos/abo-abo/hydra/issues/119","labels_url":"https://api.github.com/repos/abo-abo/hydra/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/abo-abo/hydra/issues/119/comments","events_url":"https://api.github.com/repos/abo-abo/hydra/issues/119/events","html_url":"https://github.com/abo-abo/hydra/issues/119","id":70879697,"number":119,"title":"Window layout: opening windows from commands","user":{"login":"fleimgruber","id":7400038,"avatar_url":"https://avatars.githubusercontent.com/u/7400038?v=3","gravatar_id":"","url":"https://api.github.com/users/fleimgruber","html_url":"https://github.com/fleimgruber","followers_url":"https://api.github.com/users/fleimgruber/followers","following_url":"https://api.github.com/users/fleimgruber/following{/other_user}","gists_url":"https://api.github.com/users/fleimgruber/gists{/gist_id}","starred_url":"https://api.github.com/users/fleimgruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fleimgruber/subscriptions","organizations_url":"https://api.github.com/users/fleimgruber/orgs","repos_url":"https://api.github.com/users/fleimgruber/repos","events_url":"https://api.github.com/users/fleimgruber/events{/privacy}","received_events_url":"https://api.github.com/users/fleimgruber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-25T09:00:09Z","updated_at":"2015-04-28T16:48:42Z","closed_at":"2015-04-28T16:48:42Z","body":"emacs 24.5\r\nhydra 20150328.1015\r\n\r\nGiven the following hydra\r\n```emacs-lisp\r\n(defhydra hydra-babel (:hint nil\r\n                       :color red)\r\n  \"\r\nBabel:^^\r\n----------------------------------\r\n_j_ump to next block\r\n_k_ick back to previous block\r\n_r_esults of block\r\n_o_ther window\r\n\r\n\"\r\n  (\"j\" org-babel-next-src-block)\r\n  (\"k\" org-babel-previous-src-block)\r\n  (\"r\" org-babel-open-src-block-result)\r\n  (\"o\" other-window)\r\n  (\"q\" nil \"quit\"))\r\n(define-key org-mode-map (kbd \"C-M-b\") 'hydra-babel/body)\r\n```\r\n\r\nI run with vertically split screen, `org-mode` buffer to the left.\r\n\r\nGiven a babel result line of\r\n```\r\n`#+RESULTS:`\r\n[[file:figures/some.pdf]]\r\n```\r\n\r\nrunning `org-babel-open-src-block-results` from above hydra, the pdf file is opened with `doc-view-mode` in a new window to the right of the hydra tooltips window with the same height as the hydra tooltips window.  I would like to open the results into the right-hand window of the mentioned starting layout - same as would happen with `org-babel-open-src-block-result` without using the hydra.\r\n\r\nIllustration:\r\n```\r\n+-----------------------------------+\r\n|                |                  |\r\n| .org buffer    | desired target   |\r\n|                | of `r`           |\r\n|                |                  |\r\n|                |                  |\r\n|                |                  |\r\n|                |                  |\r\n|-----------------------------------+\r\n| hydra tooltips | `r`-opened pdf   |\r\n+-----------------------------------+\r\n```\r\n\r\nAm I misconfiguring the hydra?\r\n"}}