From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug in table formular - last column specifier broken Date: Fri, 18 Dec 2015 14:03:01 -0500 Message-ID: <87a8p7bmvu.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aA0JE-0004Qw-IK for emacs-orgmode@gnu.org; Fri, 18 Dec 2015 14:03:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aA0JB-0000Ss-BJ for emacs-orgmode@gnu.org; Fri, 18 Dec 2015 14:03:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:48043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aA0JB-0000Sd-4Z for emacs-orgmode@gnu.org; Fri, 18 Dec 2015 14:03:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aA0J8-00076B-DV for emacs-orgmode@gnu.org; Fri, 18 Dec 2015 20:03:14 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2015 20:03:14 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Dec 2015 20:03:14 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Stefan Nobis 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 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 -- Nick