emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Update table > Bug
Date: Mon, 17 May 2010 18:43:53 +0200	[thread overview]
Message-ID: <F2866DD2-371C-4E43-B758-B5010FDFA9FA@gmail.com> (raw)
In-Reply-To: <871vdawpgl.fsf@mundaneum.com>


On May 17, 2010, at 4:52 PM, Sébastien Vauban wrote:

> Hello,
>
> An example of update bug:
>
> --8<---------------cut here---------------start------------->8---
>     #+TBLNAME: InvestSupp
>     #+ATTR_LaTeX: align=lrrrr
>     |   |     |       2010 |       2011 |       2012 | Total (HTVA) |
>     |---+-----+------------+------------+------------+--------------|
>     |   | %   |      26.90 |      46.20 |      26.90 |       100.00 |
>     |   | OFR | 3804467.00 | 6534066.00 | 3804467.00 |  14000000.00 |
>     | ^ |     |      y2010 |      y2011 |      y2012 |              |
>     #+TBLFM: $6=$3+$4+$5;%.2f::$y2010=14143000.00*@2$3/100;%.2f:: 
> $y2011=14143000.00*@2$4/100;%.2f::$y2012=14143000.00*@2$5/100;%.2f
>     #+LaTeX: {{{aftertableskip}}}
> --8<---------------cut here---------------end--------------->8---
>
> Putting point in first data, column Total, for example, and `C-u C-u  
> C-*' does
> not update the 14M.
>
> Same problem when putting it in second data row, column 2012, for  
> example.
>
> Though, with point there, `C-c *' (without the `C-u' prefixes) does  
> work!???

You have a special first column, which means that only lines with #  
and * will be computed.  This is in the manual.

HTH

- Carsten

      reply	other threads:[~2010-05-17 18:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 14:52 Update table > Bug Sébastien Vauban
2010-05-17 16:43 ` Carsten Dominik [this message]

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=F2866DD2-371C-4E43-B758-B5010FDFA9FA@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.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).