[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug] Error evaluating table expression with relative references
From: |
e.fraga |
Subject: |
Re: [O] [bug] Error evaluating table expression with relative references |
Date: |
Thu, 11 Jun 2015 15:37:27 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux) |
On Tuesday, 9 Jun 2015 at 15:04, Nicolas Goaziou wrote:
> Hello,
>
> Eric S Fraga <address@hidden> 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