Hello,

There seems to be an error when using hline-relative references in an
org-mode table’s formula. For example, I have the following org-mode table:

    #+BEGIN: columnview :hlines 1 :id global
    | /Project/      | Mon | Tue | Wed |  Thu | Fri |  Sat | Sun | /Total/ |
    |----------------+-----+-----+-----+------+-----+------+-----+---------|
    | AnotherProduct |     |     |     |      |     | 2.50 |     |         |
    | Prototype      |     |     |     | 3.50 |     |      |     |         |
    |----------------+-----+-----+-----+------+-----+------+-----+---------|
    | /Daily/        |     |     |     |      |     |      |     |         |
    #+TBLFM: @I$9..@II$9=vsum($2..$8);%.2f;::@II$2..@III$9='(format
"%3.2f" (apply '+ '(@I..@II)));N;

and I get the error can't assign to hline relative reference when I run M-x
org-table-recalculate. I looked over the org-mode references documentation
<http://orgmode.org/manual/References.html> and the gmane.org forums
<http://comments.gmane.org/gmane.emacs.orgmode/86960>, but I did not find
any reasons as to why the hline relative references could not be assigned.

This issue is related to the timesheet package on MELPA. I have filed an
issue here: https://github.com/tmarble/timesheet.el/issues/3 but hopefully
I have found the underlying problem, and hopefully it is reasonably fixable.

Here is some relevant info:

   -

   Org-mode version 8.3.1 (8.3.1-87-g4ef2c0-elpa @
   /home/luke/.emacs.d/elpa/org-20150824/)
   -

   emacs-version: 24.5.1
   -

   ArchLinux OS: Linux 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST
   2015 x86_64 GNU/Linux

This is a copy of my question posted here:
http://emacs.stackexchange.com/questions/15185/cant-assign-to-hline-relative-reference

Any suggestions or guidance would be appreciated. I am happy to clarify
anything as well.

Thanks,
Luke
​

Reply via email to