From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Panteleev Subject: Re: [PATCH v2 0/3] org-sbe fixes Date: Mon, 26 Mar 2018 21:33:34 +0000 Message-ID: <438322b9-0d38-0f3e-6bb0-03f6acb68149@gmail.com> References: <87605tc67l.fsf@nicolasgoaziou.fr> <20180319002314.8162-1-git@thecybershadow.net> <87woy7br6q.fsf@nicolasgoaziou.fr> <877epzaolf.fsf@nicolasgoaziou.fr> <87370namq9.fsf@nicolasgoaziou.fr> <89c7e868-bf96-d983-448d-df6e0059be92@gmail.com> <87h8p2twwp.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0ZkQ-0003aG-NS for emacs-orgmode@gnu.org; Mon, 26 Mar 2018 17:33:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0ZkN-0004T0-IK for emacs-orgmode@gnu.org; Mon, 26 Mar 2018 17:33:46 -0400 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:34192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0ZkN-0004Rk-Cr for emacs-orgmode@gnu.org; Mon, 26 Mar 2018 17:33:43 -0400 Received: by mail-wr0-x22e.google.com with SMTP id o8so20340713wra.1 for ; Mon, 26 Mar 2018 14:33:42 -0700 (PDT) In-Reply-To: <87h8p2twwp.fsf@nicolasgoaziou.fr> Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Alan Schmitt , emacs-orgmode@gnu.org On 2018-03-26 20:16, Nicolas Goaziou wrote: > Hello, > > Vladimir Panteleev 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