emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Update table > Bug
@ 2010-05-17 14:52 Sébastien Vauban
  2010-05-17 16:43 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Vauban @ 2010-05-17 14:52 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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!???

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Update table > Bug
  2010-05-17 14:52 Update table > Bug Sébastien Vauban
@ 2010-05-17 16:43 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-05-17 16:43 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-17 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 14:52 Update table > Bug Sébastien Vauban
2010-05-17 16:43 ` Carsten Dominik

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).