Hi,

On 2018-03-25 21:06, Nicolas Goaziou wrote:
I agree "org-sbe" should be rewritten. However, it is specific to tables
because it is meant to be used in a TBLFM line. Its replacement could
live in "org-table.el", though.

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 main obstacle preventing using the current org-sbe in this manner is that it is a macro, and will eagerly evaluate some things that it shouldn't.

--
Best regards,
 Vladimir

Reply via email to