From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddward DeVilla" Subject: Re: table formulas revisited Date: Fri, 27 Jul 2007 16:01:06 -0500 Message-ID: References: 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 1IEWvv-00084f-9d for emacs-orgmode@gnu.org; Fri, 27 Jul 2007 17:01:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IEWvs-00084T-Tm for emacs-orgmode@gnu.org; Fri, 27 Jul 2007 17:01:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IEWvs-00084Q-Pf for emacs-orgmode@gnu.org; Fri, 27 Jul 2007 17:01:08 -0400 Received: from wa-out-1112.google.com ([209.85.146.181]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IEWvs-0005sw-AZ for emacs-orgmode@gnu.org; Fri, 27 Jul 2007 17:01:08 -0400 Received: by wa-out-1112.google.com with SMTP id k34so1060948wah for ; Fri, 27 Jul 2007 14:01:07 -0700 (PDT) In-Reply-To: Content-Disposition: inline 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: org-mode I must have been asleep at the wheel when 5.04 came out. Anyhow, that doesn't work either. Edd On 7/27/07, Eddward DeVilla wrote: > Hi all, > > This is something I thought I had working before. In anycase, > anytime I use a range in a table, I cannot get it to evaluate. It > dies before even reaching the formula debugger with "Wrong number of > arguments: #, 2". This is org 5.03 and I've tried it > on emacs 21.1.1 and 21.3.50.1. > What's really weird is that I think this was working eariler this > week on the same version of org and emacs. Can anyone else try > dropping this table in an org buffer and hitting C-cC-c on the TBLFM > line to confirm if it's just me? > > Thanks, > Edd > > * wealth management > |--------------------------+---------+---------| > | item | amount | balance | > |--------------------------+---------+---------| > | paid | 50.00 | 50.00 | > | baby's new pair of shoes | -25.00 | 25.00 | > | chips | -2.50 | 22.50 | > | my birthday! | 100.00 | 122.50 | > | speeding fine :( | -200.00 | -77.50 | > |--------------------------+---------+---------| > #+TBLFM: $3='(apply '+ '(@-I$-1..$-1));N%.2f >