From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Concatenation of cells using 'remote' Date: Fri, 29 Jan 2016 14:20:59 +0100 Message-ID: <87vb6c1pz8.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP8zA-00040J-Ov for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 08:21:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aP8z6-0001Nb-OZ for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 08:21:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:46579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aP8z6-0001NH-HR for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 08:21:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aP8z4-0001Qr-G3 for emacs-orgmode@gnu.org; Fri, 29 Jan 2016 14:21:06 +0100 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jan 2016 14:21:06 +0100 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jan 2016 14:21:06 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I can create a concatenation of the element in column like this: #+NAME: addresses | able | able@example.org | | baker | baker@example.org | | charlie | charlie@example.org | | | able@example.org, baker@example.org, charlie@example.org | #+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? Cheers, Loris -- This signature is currently under construction.