emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] inline src block results can be removed


From: Charles C. Berry
Subject: [O] [PATCH] inline src block results can be removed
Date: Tue, 11 Nov 2014 16:49:18 -0800
User-agent: Alpine 2.00 (OSX 1167 2008-08-23)

Inline src blocks cannot update their results --- causing some of us 
heaadaches [1].
These patches fix that by placing the result of an inline src block in an 
export snippet with a faux :back-end called 'babel'.
So C-c C-c with point on src_R{1+2} will insert `@@babel:3@@'. Updating 
the contents of the inline src block and retyping C-c C-c will update the 
snippet. On export, these snippets are rendered using the verbatim 
transcoder, e.g. \texttt{3} for latex backends.
Support for most backends is provided.

org-babel-execute-buffer will also update such snippets.

Please try these patches out.

Remember to recompile the files that these patches modify or you will get wrong results when you restart emacs.
HTH,

Chuck

Footnote: [1] http://thread.gmane.org/gmane.emacs.orgmode/92481

p.s. If these patchesa are (eventually) acceptable, FSF has a copyright assignment for me on file.

Attachment: 0001-lisp-ob-exp.el-Enable-removable-inline-src-results.patch
Description: ob-exp.el patch

Attachment: 0002-Inline-src-blocks-are-export-snippets.patch
Description: export-snippet patch

Attachment: 0003-Inline-src-blocks-are-export-snippets.patch
Description: ox-md.el export snippets

Attachment: 0004-Inline-src-blocks-are-export-snippets.patch
Description: ox-man.el export snippet

Attachment: 0005-lisp-ob-core.el-Enable-removable-inline-src-results.patch
Description: ob-core.el export snippet patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]