emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Martin Halder <martin.halder@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: error in tableformula or bug
Date: Thu, 24 Mar 2011 12:59:00 +0100	[thread overview]
Message-ID: <F130413C-2B31-4F5A-8F52-713343D81EB2@gmail.com> (raw)
In-Reply-To: <1469A97C-1674-4C76-A72D-F6980A3EFAEC@gmail.com>


On 24.3.2011, at 10:46, Martin Halder wrote:

> Hi again,
> 
> have traced it down to the following commit which introduces the problem (thanks to bisect):
> [3dd474575205d3808390fc6ea2d5feccdb3d4305] Tables:  Make @< and $< point to row/column 1 in a stable way
> 
> Was there a change in the format or is it really a bug ?
> 
> Thanks for help,
> Martin
> 
>> found some strange behavior which was working before as far as I remember.. I am on commit 078c01b.
>> 
>> this is working correctly:
>> | 10 |
>> | 10 |
>> | 20 |
>> |----|
>> | 40 |
>> #+TBLFM: @>$1=vsum(@1..@3)
>> 
>> this one with relative indexing (@>-1) not: (value is changing every time the formula is applied: 37, 73, 109 (+36 every time)
>> | 10 |
>> | 10 |
>> | 20 |
>> |----|
>> | 37 |
>> #+TBLFM: @>$1=vsum(@1..@>-1)

@>-1 was allowed only for a short time, this format is flawed.
Please use @>> instead to mean the second to last row.

- Carsten

> 
> 
> 

  reply	other threads:[~2011-03-24 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23  8:22 error in tableformula or bug Martin Halder
2011-03-24  9:46 ` Martin Halder
2011-03-24 11:59   ` Carsten Dominik [this message]
2011-03-24 15:24     ` Nick Dokos
2011-03-24 15:27       ` Nick Dokos

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=F130413C-2B31-4F5A-8F52-713343D81EB2@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=martin.halder@gmail.com \
    /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).