On 2018-03-26 20:16, Nicolas Goaziou wrote:
Hello,

Vladimir Panteleev <thecybersha...@gmail.com> writes:
What about org-sbe is specific to tables?

I'm thinking that the generic replacement could be used elsewhere, e.g.:

(with-current-buffer some-org-mode-buffer
   (org-sbe-v2 "func" ...args...))

The generic replacement of table cells, right. Otherwise you have inline
Babel calls.

Sorry, I'm not following. By "generic replacement" I meant a replacement (new function that will replace the current org-sbe) that is generic (not restricted to being used in table formulas by design).

I think you seem to have interpreted to mean substitution of table cell references. This is actually not pertaining org-sbe or its replacement, because it is not done in org-sbe, but by code invoking it.

By inline Babel calls, do you mean as described in https://orgmode.org/manual/Evaluating-code-blocks.html ? I see there "org-babel-execute-src-block", but it seems to attempt to infer the src block to execute rather than letting the caller specify one.

So, as far as I can see, org-sbe's successor doesn't need to have anything specific to tables, or have I missed something?

--
Best regards,
 Vladimir

Reply via email to