I am currently using org-mode to edit code blocks for presentations and blog posts.
Currently I have a frame set up with one large window pane on the left, and two smaller panes on the right.
- The bottom right pane is a Python console
- The top right pane is ideally a "target" buffer in Python mode
- The left pane is an editing window for the entire .org document.
Ideally, I would be able to send the code blocks to the "target" pane from the org document (using
C-c ') while all of the window positions remain static. Unfortunately, org-mode replaces the existing panes with the temporary one when I issue this command.
I have tried setting
(setq org-src-window-setup 'other-window) in my configuration file. This seems to be close to the desired behavior, but emacs does not seem to know which existing window I want to send the editing block to.
Is there any way to send the code blocks to the target pane (perhaps with
C-c ' or some other command) as described? All other functionality would ideally work the same as
C-c ' (edit the buffer, and send the edited code back to the original code block).