emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [BUG] Table not recomputed (incorrect results)
Date: Tue, 10 Sep 2013 09:49:09 +0200	[thread overview]
Message-ID: <8661u9f762.fsf@somewhere.org> (raw)
In-Reply-To: 9C939351-40D7-4E6F-8CE1-CDC30227E006@gmail.com

Hi Carsten,

Carsten Dominik wrote:
> On 10.9.2013, at 04:32, "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org> wrote:
>> 
>> I'm loosing my latin with the following table, which Org declares as
>> "converged" or "already stable".
>> 
>> --8<---------------cut here---------------start------------->8---
>> #+TITLE:     Birthday
>> 
>> * Commande
>> 
>> | mini sandwiches                 | 261 | 1.00 | 260.00 |
>> | rauwkostchotels                 |   2 |  36. |  72.00 |
>> | koude hapjes                    | 130 |      |   0.00 |
>> | dessertjes (in hapjes glaasjes) |  90 |    3 |   0.00 |
>> |---------------------------------+-----+------+--------|
>> | total                           |     |      |   332. |
>> #+TBLFM: $4=$2*$3;%.2f::@2$3=30*1.2::@5$4=vsum(@1..@-1)
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Obviously, if you look at the amounts, it isn't correct...
>
> The first four lines are all above the first hline and
> are therefore treated as header and are exempt from calculation.
> Formular applying to these fields are ignored.

Whoa. Did not know that... (or already forgotten about!)

> Add a header line to the table:

OK, thanks!

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2013-09-10  7:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10  2:32 [BUG] Table not recomputed (incorrect results) Sebastien Vauban
2013-09-10  3:44 ` Carsten Dominik
2013-09-10  7:49   ` Sebastien Vauban [this message]
2013-09-10  7:52     ` Carsten Dominik

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=8661u9f762.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).