From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Panteleev Subject: [PATCH v2 3/3] ob-table: Mention passing ranges as lists in org-sbe's documentation Date: Mon, 19 Mar 2018 00:23:14 +0000 Message-ID: <20180319002314.8162-4-git@thecybershadow.net> References: <20180319002314.8162-1-git@thecybershadow.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exiaO-0002mj-0z for emacs-orgmode@gnu.org; Sun, 18 Mar 2018 20:23:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exiaK-0000eD-2n for emacs-orgmode@gnu.org; Sun, 18 Mar 2018 20:23:36 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:44741) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1exiaJ-0000d3-Rd for emacs-orgmode@gnu.org; Sun, 18 Mar 2018 20:23:31 -0400 Received: by mail-wr0-f196.google.com with SMTP id u46so2848063wrc.11 for ; Sun, 18 Mar 2018 17:23:31 -0700 (PDT) In-Reply-To: <20180319002314.8162-1-git@thecybershadow.net> 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: emacs-orgmode@gnu.org Cc: Vladimir Panteleev * ob-table.el (org-sbe): Add documentation note. --- lisp/ob-table.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ob-table.el b/lisp/ob-table.el index 17810dd74..d11df9abc 100644 --- a/lisp/ob-table.el +++ b/lisp/ob-table.el @@ -89,6 +89,8 @@ NOTE: By default, string variable names are interpreted as references to source-code blocks, to force interpretation of a cell's value as a string, prefix the identifier a \"$\" (e.g., \"$$2\" instead of \"$2\" or \"$@2$2\" instead of \"@2$2\"). +This will not work with a range; instead, pass it as a list, +e.g. (org-sbe fun (r (list $1..$2))). NOTE: It is also possible to pass header arguments to the code block. In this case a table cell should hold the string value of -- 2.16.2