From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: How to pass table range fields to TBLFM Elisp function? Date: Sun, 22 Apr 2018 08:22:32 +0800 Message-ID: <87efj8rsxj.fsf@gmail.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fA2mI-0003Nj-0p for emacs-orgmode@gnu.org; Sat, 21 Apr 2018 20:22:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fA2mD-0006vP-UE for emacs-orgmode@gnu.org; Sat, 21 Apr 2018 20:22:50 -0400 Received: from [183.249.136.165] (port=4364 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fA2mD-0006qn-F4 for emacs-orgmode@gnu.org; Sat, 21 Apr 2018 20:22:45 -0400 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: org-mode =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 In this question's second answer: https://emacs.stackexchange.com/questions/32895/how-to-feed-range-from-org-= table-filled-with-strings-to-code-block-via-tblfm It gives out another solution: ,---- | #+name: el-concat-str | #+begin_src emacs-lisp :var x=3D"hello" | (mapconcat #'identity x "") | #+end_src |=20 | | foo | bar | zoo | #ERROR | | #+TBLFM: $4=3D'(org-sbe el-concat-str (x (list $1..$3))) `---- But I found the commit is reverted in master branch: ,---- | 8c9ebc81f087a30c84e6333e133c17ffc27e40ed | Parent: 9e70db6ba Revert "ob-table: Fix org-sbe's handling of list ar= guments" `---- Any other solution on this? =2D --=20 [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 =20=20=20=20=20=20 =2D----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrb1ckACgkQG13xyVro msNjywf7BZhPsYWmrHMAEWeGPgwqGlCo6k1+iwSSfrOoE3d9cKiwtN79XgSkfCH/ nAgwFAyVzZdcHEOCHkORPXgsi2nq6TJN/mn/2BFoyYnpr00U6muMGDqzk7NiPqZv KTzoJoHdk6d1YE9AVJYh5a4jD3t49gtKTHZFB05qyClBUnicgwtpQDoY/xpQavHJ PHwj2BF5F5YCFwy1AgysntSdkYUu76Mk+GWGhv3mwg1Ks3AKnYQM3g63bmJoIjdn YuHQnVnCBP2dF3tiYEjGwR+s2srdA3V79A3DkzU/rM2dfXy8B5OM1wIeZrbXRY23 fURRBoyQBaMciPDfcYc9HREK8tS0LQ=3D=3D =3DGtrO =2D----END PGP SIGNATURE-----