emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scott Randby <srandby@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Update tables 8.3.1
Date: Sat, 08 Aug 2015 13:41:20 -0400	[thread overview]
Message-ID: <55C63F40.4050400@gmail.com> (raw)

I'm beginning to wonder if upgrading to 8.3.1 is a mistake. I had no 
trouble at all with 8.2.10, but many problems with 8.3.1. My latest 
issue follows.

When I update a table (using C-u C-c *, or C-u C-c C-c, or M-x 
org-table-recalculate), the table doesn't update and I get the following 
error message:

   Wrong type argument: number-or-marker-p, (4)

The number in parentheses varies depending on the table. Here are two 
examples of table formulas I have, formulas which worked perfectly until 
I upgraded to 8.3.1:

   #+TBLFM: $tot=vsum(@<<..@>>>);%.2f

   #+TBLFM: $13=vsum($3..$12);%.1f::$qs=$q1+$q2;%.1f

I can provide example tables if necessary.

I tried the example table given in section 3.5.10 of the documentation 
and I get the same error.

|---+---------+--------+--------+--------+-------+------|
|   | Student | Prob 1 | Prob 2 | Prob 3 | Total | Note |
|---+---------+--------+--------+--------+-------+------|
| ! |         |     P1 |     P2 |     P3 |   Tot |      |
| # | Maximum |     10 |     15 |     25 |    50 | 10.0 |
| ^ |         |     m1 |     m2 |     m3 |    mt |      |
|---+---------+--------+--------+--------+-------+------|
| # | Peter   |     10 |      8 |     23 |    41 |  8.2 |
| # | Sam     |      2 |      4 |      3 |     9 |  1.8 |
|---+---------+--------+--------+--------+-------+------|
|   | Average |        |        |        |  25.0 |      |
| ^ |         |        |        |        |    at |      |
| $ | max=50  |        |        |        |       |      |
|---+---------+--------+--------+--------+-------+------|
#+TBLFM: $6=vsum($P1..$P3)::$7=10*$Tot/$max;%.1f::$at=vmean(@-II..@-I);%.1f

Error message: Wrong type argument: number-or-marker-p, (6)

I will appreciate any help with this issue. If it can't be fixed, I will 
have to downgrade to 8.2.10.

Scott Randby

             reply	other threads:[~2015-08-08 17:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-08 17:41 Scott Randby [this message]
2015-08-08 21:18 ` Update tables 8.3.1 Rasmus
2015-08-08 23:15   ` Scott Randby
2015-08-09  0:15   ` Nicolas Goaziou

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=55C63F40.4050400@gmail.com \
    --to=srandby@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).