Add scripts for dumping the org-mode ast to investigate how emacs parses various inputs.

This commit is contained in:
Tom Alexander
2023-03-19 14:07:23 -04:00
parent bf3464c65c
commit 4e7d7d3bcf
5 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
(defun org-dump-ast (outpath)
(let
((parsed-tree (format "%s" (org-element-parse-buffer))))
(with-temp-file outpath
(insert parsed-tree)
)
)
)