From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Panteleev Subject: [PATCH 3/3] ob-table: Mention passing ranges as lists in org-sbe's documentation Date: Wed, 7 Mar 2018 22:58:47 +0000 Message-ID: <20180307225847.24068-4-git@thecybershadow.net> References: <20180307225847.24068-1-git@thecybershadow.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eti1V-0001aU-38 for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 17:59:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eti1U-0000t6-04 for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 17:59:01 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eti1T-0000so-Pk for emacs-orgmode@gnu.org; Wed, 07 Mar 2018 17:58:59 -0500 Received: by mail-wm0-f65.google.com with SMTP id x7so7719958wmc.0 for ; Wed, 07 Mar 2018 14:58:59 -0800 (PST) In-Reply-To: <20180307225847.24068-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