From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: [bug] Error evaluating table expression with relative references Date: Thu, 11 Jun 2015 15:37:27 +0100 Message-ID: <87r3pifh08.fsf@ucl.ac.uk> References: <87k2w3l44t.fsf@pinto.chemeng.ucl.ac.uk> <87vbexuj66.fsf@selenimh.access.network> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z33ft-0000qP-NG for emacs-orgmode@gnu.org; Thu, 11 Jun 2015 10:41:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z33fq-0006xG-HS for emacs-orgmode@gnu.org; Thu, 11 Jun 2015 10:41:45 -0400 Received: from mail-am1on0108.outbound.protection.outlook.com ([157.56.112.108]:48780 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z33fq-0006wz-98 for emacs-orgmode@gnu.org; Thu, 11 Jun 2015 10:41:42 -0400 In-Reply-To: <87vbexuj66.fsf@selenimh.access.network> (Nicolas Goaziou's message of "Tue, 9 Jun 2015 15:04:49 +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 On Tuesday, 9 Jun 2015 at 15:04, Nicolas Goaziou wrote: > Hello, > > Eric S Fraga writes: > >> I seem to have encountered a bug in table spreadsheet >> evaluations. See >> this example: >> >> #+begin_src org >> ,* Table evaluation with relative references >> | 1 | 2 | 3 | 6 | >> | 1 | 2 | 3 | #ERROR | >> ,#+TBLFM: @1$4=vsum($1..$3)::@2$4=vsum($1..$-1) >> #+end_src >> >> As far as I can tell, the two formulae should be equivalent? Or am >> I >> missing something silly (not unlikely ;-)? >> >> Turning on debugging shows that the first formula gets converted to >> vsum([1,2,3]) whereas the second goes to vsum((1)..(3)). > > Fixed in 3924989b4f45a5c7ff89a4f7abdebc570cbaf7e2. Thank you. Confirmed! Many thanks. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-802-g7e4228.dirty