[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to apply multiple TBLFM rules?
From: |
Bastien |
Subject: |
Re: [O] How to apply multiple TBLFM rules? |
Date: |
Thu, 10 May 2012 08:52:33 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) |
Hi Michael,
Michael Hannon <address@hidden> writes:
> Here is the same table, but with the formulas spread across three different
> lines:
>
> #+TBLNAME: test2
> | 1 | 2 | |
> | 4 | 5 | |
> | 7 | 8 | 9 |
> #+TBLFM: @1$3='(+ 10 7)
> #+TBLFM: @2$3='(+ 11 9)
> #+TBLFM: @3$1=42
>
> If I hit C-c C-c while the point is on the FIRST TBLFM line, I get:
>
> #+TBLNAME: test2
> | 1 | 2 | 17 |
> | 4 | 5 | |
> | 7 | 8 | 9 |
>
> This is what I expected. If I now proceed to hit C-c C-c while the point is
> on the SECOND TBLFM line, I get:
>
>
> #+TBLNAME: test2
> | 1 | 2 | 17 |
> | 4 | 5 | |
> | 7 | 8 | 9 |
>
> I.e., there is no change whatsoever. If I then hit C-c C-c while the point is
> on the THIRD TBLFM line, I get:
>
> #+TBLNAME: test2
> | 1 | 2 | 17 |
> | 4 | 5 | |
> | 7 | 8 | 9 |
>
> I.e., again there is no change whatsoever.
Yes -- I was fooled by the example in the article too.
I confirm only the first formula line after the table can be applied
with C-c C-c.
> As I said above, I'm happy with the "::" solution and am happy to let this
> topic drop, but I'm eager to expand my Org-mode skills. Please let me know
> what I'm missing.
Thanks for pointing at this, I'm expanding my org-table skills too!
Best,
--
Bastien