Re: [O] [bug] Error evaluating table expression with relative references

2015-06-11 Thread e.fraga
On Tuesday,  9 Jun 2015 at 15:04, Nicolas Goaziou wrote:
 Hello,

 Eric S Fraga e.fr...@ucl.ac.uk 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



Re: [O] [bug] Error evaluating table expression with relative references

2015-06-09 Thread Nicolas Goaziou
Hello,

Eric S Fraga e.fr...@ucl.ac.uk 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.


Regards,

-- 
Nicolas Goaziou