From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Stribblehill Subject: $LR syntax in tables Date: Wed, 12 Aug 2009 16:01:31 +0100 Message-ID: <1f38ae890908120801h31dee6a2pe5d5f86aff05f4a8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbFKd-0005vo-Nu for emacs-orgmode@gnu.org; Wed, 12 Aug 2009 11:01:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbFKZ-0005u1-C2 for emacs-orgmode@gnu.org; Wed, 12 Aug 2009 11:01:39 -0400 Received: from [199.232.76.173] (port=35783 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbFKZ-0005tw-36 for emacs-orgmode@gnu.org; Wed, 12 Aug 2009 11:01:35 -0400 Received: from mail-bw0-f222.google.com ([209.85.218.222]:33263) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbFKY-0004No-Ec for emacs-orgmode@gnu.org; Wed, 12 Aug 2009 11:01:34 -0400 Received: by bwz22 with SMTP id 22so64892bwz.42 for ; Wed, 12 Aug 2009 08:01:31 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode I'm afraid I can't quite wrap my head around this puzzle. I have a little table: | Budget | 640 | 640 | | Some expense | -165 | 475 | #+TBLFM: $3=$LR3+$2 So col C is supposed to add the previous line's col C to the current line's col B. However, it seems that $LR3 is referring to the _subsequent_ line not the previous one. Is there a bug or just my misunderstanding? Thanks.