[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] How to pass table range fields to TBLFM Elisp function?
From: |
stardiviner |
Subject: |
[O] How to pass table range fields to TBLFM Elisp function? |
Date: |
Sun, 22 Apr 2018 08:22:32 +0800 |
User-agent: |
mu4e 1.0; emacs 27.0.50 |
-----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-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] How to pass table range fields to TBLFM Elisp function?,
stardiviner <=