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: table formulas revisited
Date: Fri, 27 Jul 2007 15:39:06 -0500	[thread overview]
Message-ID: <b71b18520707271339x68b504dboce8cd3ada2c5549d@mail.gmail.com> (raw)

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-07-27 20:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 20:39 Eddward DeVilla [this message]
2007-07-27 21:01 ` table formulas revisited Eddward DeVilla
2007-08-07 19:20   ` Eddward DeVilla
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=b71b18520707271339x68b504dboce8cd3ada2c5549d@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).