From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddward DeVilla" Subject: table formulas revisited Date: Fri, 27 Jul 2007 15:39:06 -0500 Message-ID: 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 1IEWac-0006MF-9x for emacs-orgmode@gnu.org; Fri, 27 Jul 2007 16:39:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IEWaa-0006Lf-U3 for emacs-orgmode@gnu.org; Fri, 27 Jul 2007 16:39:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IEWaa-0006Lb-MC for emacs-orgmode@gnu.org; Fri, 27 Jul 2007 16:39:08 -0400 Received: from nz-out-0506.google.com ([64.233.162.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IEWaa-00025U-6E for emacs-orgmode@gnu.org; Fri, 27 Jul 2007 16:39:08 -0400 Received: by nz-out-0506.google.com with SMTP id f1so776207nzc for ; Fri, 27 Jul 2007 13:39:07 -0700 (PDT) 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 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