org-export: Add asynchronous process wrapper for export
commitffb630b85dc53d494e1467235f166861b3f56124
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 2 Dec 2012 08:43:42 +0000 (2 09:43 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 13 Dec 2012 14:36:51 +0000 (13 15:36 +0100)
tree99305bcf8dbe195b9e4fb3edb7a3a5ffccf81256
parent5c1eab535bca9b15da76c2644d5d7f7bfc5fbcd3
org-export: Add asynchronous process wrapper for export

* contrib/lisp/org-export.el (org-export-async-stack,
org-export-async-debug, org-export-in-background,
org-export-async-init-file, org-export-stack-mode-map): New
variables.
(org-export-async-start): New macro.
(org-export--stack-source-at-point, org-export--stack-refresh,
 org-export-add-to-stack, org-export--stack-remove,
 org-export--stack-view, org-export--stack-clear,
 org-export-stack, org-export-copy-buffer,
 org-export--generate-copy-script): New functions.
(org-export-dispatch, org-export-dispatch-ui): Allow to toggle
asynchronous export.
(org-export-with-buffer-copy): Renamed from
`org-export-with-current-buffer-copy'.
(org-export-execute-babel-code): Use new function to copy a buffer.
(org-export-as): Remove all text properties from output so it still
can be sent to the original process.
contrib/lisp/org-export.el