emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug in table formular - last column specifier broken
Date: Fri, 18 Dec 2015 14:03:01 -0500	[thread overview]
Message-ID: <87a8p7bmvu.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: m1y4cs5k0u.fsf@nobis-it.eu

Stefan Nobis <stefan-ml@snobis.de> 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 <mail@nicolasgoaziou.fr>
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 <qjpchmail@gmail.com>
    <http://permalink.gmane.org/gmane.emacs.orgmode/102861>

--
Nick

  reply	other threads:[~2015-12-18 19:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18  6:49 Bug in table formular - last column specifier broken Stefan Nobis
2015-12-18 19:03 ` Nick Dokos [this message]
2015-12-18 21:34 ` 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=87a8p7bmvu.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --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).