emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Concatenation of cells using 'remote'


From: Michael Brand
Subject: Re: [O] Concatenation of cells using 'remote'
Date: Mon, 15 Feb 2016 18:42:45 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]