From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: error in tableformula or bug Date: Thu, 24 Mar 2011 11:24:27 -0400 Message-ID: <6520.1300980267@alphaville.dokosmarshall.org> References: <1469A97C-1674-4C76-A72D-F6980A3EFAEC@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=40489 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2mP2-0005qc-Ac for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 11:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2mP1-0007AP-5W for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 11:24:48 -0400 Received: from vms173005pub.verizon.net ([206.46.173.5]:36546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2mP1-0007AC-2C for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 11:24:47 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LIK00E3MISRKDA0@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 10:24:34 -0500 (CDT) In-reply-to: Message from Carsten Dominik of "Thu, 24 Mar 2011 12:59:00 BST." 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: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Martin Halder Carsten Dominik wrote: > > On 24.3.2011, at 10:46, Martin Halder wrote: > > > Hi again, > > > > have traced it down to the following commit which introduces the problem (thanks to bisect): > > [3dd474575205d3808390fc6ea2d5feccdb3d4305] Tables: Make @< and $< point to row/column 1 in a stable way > > > > Was there a change in the format or is it really a bug ? > > > > Thanks for help, > > Martin > > > >> found some strange behavior which was working before as far as I remember.. I am on commit 078c01b. > >> > >> this is working correctly: > >> | 10 | > >> | 10 | > >> | 20 | > >> |----| > >> | 40 | > >> #+TBLFM: @>$1=vsum(@1..@3) > >> > >> this one with relative indexing (@>-1) not: (value is changing every time the formula is applied: 37, 73, 109 (+36 every time) > >> | 10 | > >> | 10 | > >> | 20 | > >> |----| > >> | 37 | > >> #+TBLFM: @>$1=vsum(@1..@>-1) > > @>-1 was allowed only for a short time, this format is flawed. > Please use @>> instead to mean the second to last row. > I think he wants the penultimate line, not the second line. Nick