emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [Babel] org-babel-execute-buffer gives different results than or


From: Nicolas Goaziou
Subject: Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements
Date: Mon, 26 Aug 2013 12:33:00 +0200

Hello,

Eric Schulte <address@hidden> writes:

> If I understand correctly, I think ":export both :results none" should
> have the desired effect of executing the code block, not inserting the
> results, and keeping the code block itself in place.

AFAICT, ":export both :results none" combination doesn't seem to produce
the desired outcome with the example file.

Note that the feature is only needed for elisp, since it is the only
language able to modify the buffer containing the source code.

> If you want to run emacs lisp at export time but don't want the code or
> the results, maybe it would be a more natural fit for a filter
> function?

I think the OP wants (org-babel-execute-buffer) and
(org-export-execute-babel-code) to behave the same in this specific
situation. So, it's not export-specific.

To put it differently, he wants to disable code replacement with value
(which is specific to the export part of Babel).


Regards,

-- 
Nicolas Goaziou



reply via email to

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