From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: remote reference Date: Fri, 15 Jan 2010 11:29:06 +0100 Message-ID: <83ockvbr0t.fsf@yahoo.it> References: <2ACD6FB3-B415-4AE7-8D62-9450922514D0@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVjQ1-0001ml-96 for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 05:28:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVjPw-0001m5-8w for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 05:28:40 -0500 Received: from [199.232.76.173] (port=40979 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVjPv-0001lu-VT for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 05:28:36 -0500 Received: from mx20.gnu.org ([199.232.41.8]:11611) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NVjPv-0000y3-Gc for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 05:28:35 -0500 Received: from slim-4a.inet.it ([213.92.5.126]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVjPs-0007gW-8b for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 05:28:32 -0500 In-Reply-To: <2ACD6FB3-B415-4AE7-8D62-9450922514D0@gmail.com> (Carsten Dominik's message of "Fri, 15 Jan 2010 10:38:10 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: =?utf-8?Q?S=C3=A9bastien?= Vauban , emacs-orgmode@gnu.org, Karl Carsten, I cannot reference fields in tables as the manual says. Org-mode version 6.34 GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Example: ------------------------------------------------- * [2010-01-15 ven] table & reference ** table a #+TBLNAME: Taba | | # | x | y | |---+---+----+---| | | 1 | -2 | 4 | | | 2 | -1 | 1 | | | 3 | 0 | 0 | | | 4 | 1 | 1 | | | 5 | 2 | 4 | | ^ | | | a | ** table b the manual says: : remote(NAME-OR-ID,REF) : REF is an absolute field or range reference : as described above for example `@3$3' or `$somename', valid in the : referenced table. But I found that as a REF I can only use: + field a cell @5$1=remote(Taba,$a) + and *NOT* range reference (as $somename) or ranges such as @1$2..@5$2, but in the manual is not explicitly said. So I could have misunderstoot the meaning of "range". See the non working examples: *** variables #+TBLNAME: Tabb | | | |---+---| | ^ | b | #+TBLFM: $b=remote(Taba,$a) *** columns #+TBLNAME: Tabc | | | | | | | | | | | | | | | |---+---| | ^ | b | #+TBLFM: $2=remote(Taba,$4) #+TBLNAME: Tabcc | | | | | | | | | | | | | | | |---+---| | ^ | b | #+TBLFM: @1$2..@5$2=remote(Taba,$4) *** ranges: #+TBLNAME: Tabr | | | | | | | | | | | | | | | |---+---| | ^ | b | #+TBLFM: @1$2..@5$2=remote(Taba,@1$3..@5$3) ------------------------------------------------------------ Is my analysis correct? Did I misunderstand the meanong of "range"? Is the documentation incomplete? Is there a bug and the documentation is correct? cheers, Giovanni