If I have an org file open:
+----------------------------------------+
| |
| |
| |
| org file |
| |
| |
| |
| |
| |
| |
+----------------------------------------+
And open the Agenda view:
+----------------------------------------+
| | |
| | |
| | |
| org file | agenda |
| | |
| | |
| | |
| | |
| | |
| | |
+------------------+---------------------+
And then hit TAB on a todo item, it does (org-agenda-goto)
and jumps to the item in the original window:
+----------------------------------------+
| | |
| | |
| | |
| org file | agenda |
| jumped to | |
| item | |
| | |
| | |
| | |
| | |
+------------------+---------------------+
Which is great. If I do (org-agenda-tree-to-indirect-buffer)
, however, it opens in a teeny window below the agenda:
+----------------------------------------+
| | |
| | |
| | |
| org file | agenda |
| | |
| | |
| | |
| | |
| +---------------------+
| | org item i.b. |
+------------------+---------------------+
What I'd like to happen is:
+----------------------------------------+
| | |
| | |
| | |
| org item i.b. | agenda |
| | |
| | |
| | |
| | |
| | |
| | |
+------------------+---------------------+
I could do this by just typing TAB , s b
, which isn't so bad, but out of general interest I'm wondering how do I control the placement of the new window that org-agenda-tree-to-indirect-buffer
creates?
org-indirect-buffer-display
to'current-window
, does that achieve the desired behavior?(setq org-indirect-buffer-display 'current-window)
The default value is'other-window
. To see available choices, typeC-h v
akaM-x describe-variable
....'current-window
and'other-window
open the indirect buffer in the same place for me. (I checked and the variable is being updated OK - e.g. if I use'new-frame
the indirect buffer appears in a new frame).