From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Preserving the geometry of a table range Date: Sun, 26 Aug 2012 09:54:14 +0300 Message-ID: <87lih25ejt.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5Wjt-0000dV-Fs for emacs-orgmode@gnu.org; Sun, 26 Aug 2012 02:54:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T5Wjr-00041l-HN for emacs-orgmode@gnu.org; Sun, 26 Aug 2012 02:54:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:42834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T5Wjr-00041a-AY for emacs-orgmode@gnu.org; Sun, 26 Aug 2012 02:54:27 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T5Wjp-0006wn-3A for emacs-orgmode@gnu.org; Sun, 26 Aug 2012 08:54:25 +0200 Received: from cs181237063.pp.htv.fi ([82.181.237.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Aug 2012 08:54:25 +0200 Received: from jarmo.hurri by cs181237063.pp.htv.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Aug 2012 08:54:25 +0200 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 Greetings. If you pass a table range to an elisp function in a tblfm - say, using remote - the values in the range seem to be passed to the function as a single list. Thus the geometry of the region is lost. Is it possible to return a list of lists, e.g., a list of rows instead? Is this supported by some notation in a tblfm formula? If not, could we have something like this? I ran into this problem while trying to make a contribution by implementing functions corresponding to vlookup and hlookup in traditional spreadsheets. I have only used relatively basic properties of org, so there might be a simple solution that I just don't know. -- Jarmo