From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: [bug] Error evaluating table expression with relative references
Date: Wed, 20 May 2015 15:23:14 +0100 [thread overview]
Message-ID: <87k2w3l44t.fsf@pinto.chemeng.ucl.ac.uk> (raw)
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
next reply other threads:[~2015-05-20 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-20 14:23 Eric S Fraga [this message]
2015-06-09 13:04 ` [bug] Error evaluating table expression with relative references Nicolas Goaziou
2015-06-11 14:37 ` e.fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2w3l44t.fsf@pinto.chemeng.ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).