emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eddward DeVilla" <eddward@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Re: table formulas revisited
Date: Tue, 7 Aug 2007 14:20:53 -0500	[thread overview]
Message-ID: <b71b18520708071220m7e70ace9y123aa494951eaeb2@mail.gmail.com> (raw)
In-Reply-To: <b71b18520707271401s53656ab2pf2afb87612af7319@mail.gmail.com>

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 <eddward@gmail.com> 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 <eddward@gmail.com> 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: #<subr mapconcat>, 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
> >
>

  reply	other threads:[~2007-08-07 19:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 20:39 table formulas revisited Eddward DeVilla
2007-07-27 21:01 ` Eddward DeVilla
2007-08-07 19:20   ` Eddward DeVilla [this message]
2007-08-09  5:05 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b71b18520708071220m7e70ace9y123aa494951eaeb2@mail.gmail.com \
    --to=eddward@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).