[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Concatenation of cells using 'remote'
From: |
Loris Bennett |
Subject: |
Re: [O] Concatenation of cells using 'remote' |
Date: |
Tue, 16 Feb 2016 08:32:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Michael Brand <address@hidden> writes:
> Hi Loris
>
> On Fri, Jan 29, 2016 at 2:20 PM, Loris Bennett
> <address@hidden> wrote:
>> Hi,
>>
>> I can create a concatenation of the element in column like this:
>>
>> #+NAME: addresses
>> | able | address@hidden |
>> | baker | address@hidden |
>> | charlie | address@hidden |
>> | | address@hidden, address@hidden, address@hidden |
>> #+TBLFM: $2='(concat $1 "@example.org")
>> #+TBLFM: @4$2='(mapconcat 'identity (list @address@hidden) ", ")
>>
>> I tried the following to create the concatenation in a
>> separate table:
>>
>> | #ERROR |
>> #+TBLFM: $1='(mapconcat 'identity '(list remote(addresses,@address@hidden)
>> ", ")
>>
>> 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:
>
> | address@hidden, address@hidden, address@hidden |
> #+TBLFM: $1='(mapconcat 'identity (list remote(addresses,@address@hidden)) ",
> ")
>
> Michael
Thanks. Obviously I shouldn't be highlighting matching parens, but
rather ones which don't match ...
Cheers,
Loris
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email address@hidden