Hi Loris

On Fri, Jan 29, 2016 at 2:20 PM, Loris Bennett
<[email protected]> wrote:
> Hi,
>
> I can create a concatenation of the element in column like this:
>
> #+NAME: addresses
> | able    | [email protected]                                         |
> | baker   | [email protected]                                        |
> | charlie | [email protected]                                      |
> |         | [email protected], [email protected], [email protected] |
> #+TBLFM: $2='(concat $1 "@example.org")
> #+TBLFM: @4$2='(mapconcat 'identity (list @1$2..@3$2) ", ")
>
> I tried the following to create the concatenation in a
> separate table:
>
> | #ERROR |
> #+TBLFM: $1='(mapconcat 'identity '(list remote(addresses,@1$2..@3$2) ", ")
>
> but this doesn't work.  Presumably the expansion of the range happens at
> the wrong time.
>
> Does anyone know how to do this properly?

Just typos:

| [email protected], [email protected], [email protected] |
#+TBLFM: $1='(mapconcat 'identity (list remote(addresses,@1$2..@3$2)) ", ")

Michael

Reply via email to