From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How to apply multiple TBLFM rules? Date: Thu, 10 May 2012 08:52:33 +0200 Message-ID: <877gwkcytq.fsf@gnu.org> References: <1336428054.18057.YahooMailNeo@web161903.mail.bf1.yahoo.com> <4FA8705A.4060907@verizon.net> <87d36fytvf.fsf@gnu.org> <1336508514.23203.YahooMailNeo@web161906.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSNDx-000205-UZ for emacs-orgmode@gnu.org; Thu, 10 May 2012 02:51:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSNDw-0005wj-9T for emacs-orgmode@gnu.org; Thu, 10 May 2012 02:51:41 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:63898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSNDw-0005wB-0u for emacs-orgmode@gnu.org; Thu, 10 May 2012 02:51:40 -0400 Received: by wgbds1 with SMTP id ds1so795526wgb.30 for ; Wed, 09 May 2012 23:51:38 -0700 (PDT) In-Reply-To: <1336508514.23203.YahooMailNeo@web161906.mail.bf1.yahoo.com> (Michael Hannon's message of "Tue, 8 May 2012 13:21:54 -0700 (PDT)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: "emacs-orgmode@gnu.org" , Charles Hi Michael, Michael Hannon 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