From: stardiviner <numbchild@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: How to pass table range fields to TBLFM Elisp function?
Date: Sun, 22 Apr 2018 08:22:32 +0800 [thread overview]
Message-ID: <87efj8rsxj.fsf@gmail.com> (raw)
-----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-----
reply other threads:[~2018-04-22 0:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efj8rsxj.fsf@gmail.com \
--to=numbchild@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.