I'm trying to troubleshoot some macro expansions in my org-mode file, how to I get a buffer that is the org-source with all org-mode macros expanded?
1 Answer
You can export to org-mode, and this will generate an org-mode file with expanded macros, included files, removed comments, and all other pre-processing.
Export to org-mode buffer is bound to C-c C-e O O
.
-
C-c C-e o
is mapped to OpenDocument for me -- do you know what command that key combination is bound to?– DaveNov 21, 2014 at 15:03 -
Small
o
is OpenDocument; bigO
is org-mode export. You may have to customizeorg-export-backends
in order to enable org-mode export.– JuanchoNov 21, 2014 at 15:51 -
Big
O
is OpenDocument + open that file (at least for me) -- it's not really useful since it opens the OpenDocument in an emacs buffer.– DaveNov 21, 2014 at 15:53 -
I'm using org-mode 8.2.6. Maybe that's the difference with your case.– JuanchoNov 21, 2014 at 15:54