emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Marijn Schouten (hkBst)" <hkbst@gentoo.org>
To: emacs-orgmode@gnu.org
Subject: can't assign to hline relative reference:
Date: Fri, 26 Jun 2015 14:12:34 +0200	[thread overview]
Message-ID: <558D41B2.80106@gentoo.org> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear list,

Consider the following small org table:

|       | grade | weight | weighed grade |
|-------+-------+--------+---------------|
|       |     5 |     10 |            50 |
|-------+-------+--------+---------------|
| total |       |        |             0 |
#+TBLFM: @II$2=vsum(@I$2..@II-1$2)::$4=$2*$3

In the version of org (8.2.10) distributed with emacs 24.5, evaluating this table does not produces the expected result of column 2 being summed to a total of 5. Instead depending on point both the second and first columns will get an additional 5.

Through irc I found someone who tested this with the latest development version as of now and it instead produces the error: can't assign to hline relative reference. That also does not seem like the right behavior to me.

Could someone shed some light on the situation?

Marijn 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlWNQasACgkQp/VmCx0OL2yYagCgwLUWq7sP/GhJAfkwajCAvHRP
u+kAmwcV1GjT0Lbyo0Mrj6F87q+e/uib
=wIrP
-----END PGP SIGNATURE-----

             reply	other threads:[~2015-06-26 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 12:12 Marijn Schouten (hkBst) [this message]
2015-06-26 12:22 ` can't assign to hline relative reference: Nicolas Goaziou
2015-06-26 13:00   ` Marijn Schouten (hkBst)
2015-07-02 11:56     ` Nicolas Goaziou

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=558D41B2.80106@gentoo.org \
    --to=hkbst@gentoo.org \
    --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).