Re: [O] [babel] keep source code buffer open

2012-04-11 Thread Christopher Witte
Here is a keyboard macro I used with some success (fset 'org-execute-from-indirect   (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("C-c ' C-c C-c C-'" 0 "%d")) arg))) basically it just exits the source code buffer, compiles and then reopens the source

Re: [O] [babel] keep source code buffer open

2012-04-11 Thread Eric Schulte
Hi Torsten, You could keep the buffer open but just save it with C-x C-s which will propagate changes back to the original Org-mode buffer. If you want to wrap the save->switch-to-org->export actions into a single keystroke then I think an Emacs Macro or writing a simple personal elisp function w