From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddward DeVilla" Subject: Re: table formulas revisited Date: Tue, 7 Aug 2007 14:20:53 -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 1IIUcD-0002oY-Jm for emacs-orgmode@gnu.org; Tue, 07 Aug 2007 15:21:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IIUc7-0002nc-Mp for emacs-orgmode@gnu.org; Tue, 07 Aug 2007 15:21:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIUc7-0002nZ-Ei for emacs-orgmode@gnu.org; Tue, 07 Aug 2007 15:21:07 -0400 Received: from rv-out-0910.google.com ([209.85.198.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IIUc5-0006ur-8V for emacs-orgmode@gnu.org; Tue, 07 Aug 2007 15:21:06 -0400 Received: by rv-out-0910.google.com with SMTP id c27so1276340rvf for ; Tue, 07 Aug 2007 12:20:53 -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 think I fixed my problem, but I was wondering if someone with some more elisp org-code knowledge could check this for me. The 5.04 diff is 8876a8877 > elements It looks like an argument to the first mapconcat was missing in org-table-make-reference. Edd On 7/27/07, Eddward DeVilla wrote: > 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 > > >