emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eric S Fraga
Subject: [O] [bug] Error evaluating table expression with relative references
Date: Wed, 20 May 2015 15:23:14 +0100

Hello,

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)).

This is with git updated a minute ago and with emacs -Q.

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1154-g6ba251



reply via email to

[Prev in Thread] Current Thread [Next in Thread]