[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug in table formular - last column specifier broken
From: |
Nick Dokos |
Subject: |
Re: [O] Bug in table formular - last column specifier broken |
Date: |
Fri, 18 Dec 2015 14:03:01 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Stefan Nobis <address@hidden> writes:
> Hi.
>
> With the last update to Org-mode version 8.3.2
> (8.3.2-48-g700b8e-elpaplus) the following table formular breaks:
>
>
> | | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Sum |
> |-----+------+------+------+-----+-----+-----+-----+----------|
> | | | 1:30 | 2:00 | | | | | 03:30:00 |
> |-----+------+------+------+-----+-----+-----+-----+----------|
> | Sum | | | | | | | | 00:00:00 |
> #+TBLFM: $>=vsum($<<..$>>);T
>
>
> The error message is: Invalid table range specifier `9'.
>
> When I change the "$>" to "$9" the formula works as expected.
In case it helps, I bisected this to the following commit:
c651e150cc8fb230fca99dfff27caedfddced8ff is the first bad commit
commit c651e150cc8fb230fca99dfff27caedfddced8ff
Author: Nicolas Goaziou <address@hidden>
Date: Thu Nov 12 23:12:18 2015 +0100
org-table: Fix `org-table-get-range' with column formulas
* lisp/org-table.el (org-table-get-stored-formulas): Store complete
column formulas including the "$" sign. Remove interactive status.
(org-table-get-range): Handle nicely "$n..$m" ranges. Apply
changes to `org-table-get-stored-formulas'. Rename some bindings for
clarity.
(org-table-expand-lhs-ranges): Ignore column formalas.
(org-table-remote-reference-indirection): Refactor function.
Reported-by: Junpeng Qiu <address@hidden>
<http://permalink.gmane.org/gmane.emacs.orgmode/102861>
--
Nick