* How to pass table range fields to TBLFM Elisp function?
@ 2018-04-22 0:22 stardiviner
0 siblings, 0 replies; only message in thread
From: stardiviner @ 2018-04-22 0:22 UTC (permalink / raw)
To: org-mode
-----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="hello"
| (mapconcat #'identity x "")
| #+end_src
|
| | foo | bar | zoo | #ERROR |
| #+TBLFM: $4='(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 arguments"
`----
Any other solution on this?
- --
[ stardiviner ] don't need to convince with trends.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrb1ckACgkQG13xyVro
msNjywf7BZhPsYWmrHMAEWeGPgwqGlCo6k1+iwSSfrOoE3d9cKiwtN79XgSkfCH/
nAgwFAyVzZdcHEOCHkORPXgsi2nq6TJN/mn/2BFoyYnpr00U6muMGDqzk7NiPqZv
KTzoJoHdk6d1YE9AVJYh5a4jD3t49gtKTHZFB05qyClBUnicgwtpQDoY/xpQavHJ
PHwj2BF5F5YCFwy1AgysntSdkYUu76Mk+GWGhv3mwg1Ks3AKnYQM3g63bmJoIjdn
YuHQnVnCBP2dF3tiYEjGwR+s2srdA3V79A3DkzU/rM2dfXy8B5OM1wIeZrbXRY23
fURRBoyQBaMciPDfcYc9HREK8tS0LQ==
=GtrO
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-22 0:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-22 0:22 How to pass table range fields to TBLFM Elisp function? stardiviner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).