emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Hannon <jm_hannon@yahoo.com>
To: Org-Mode List <emacs-orgmode@gnu.org>
Subject: How to apply multiple TBLFM rules?
Date: Mon, 7 May 2012 15:00:54 -0700 (PDT)	[thread overview]
Message-ID: <1336428054.18057.YahooMailNeo@web161903.mail.bf1.yahoo.com> (raw)

Greetings.  I'm having difficulty applying multiple formula expressions to an
Org-mode table.  For example, if I start with:

    #+TBLNAME: test
    | 1 | 2 |     |
    | 4 | 5 |     |
    | 7 | 8 |  9 |
    #+TBLFM: @1$3='(+ 10 7)
    #+TBLFM: @2$3='(+ 11 9)

and then position the cursor on the first TBLFM line and hit C-c C-c, I get:

    #+TBLNAME: test
    | 1 | 2 | 17 |
    | 4 | 5 |      |
    | 7 | 8 |  9  |
    #+TBLFM: @1$3='(+ 10 7)
    #+TBLFM: @2$3='(+ 11 9)

I thought that doing this should apply all the formulas, but evidently that's
not the case.  In any event, If I then position the cursor on the second TBLFM
line, I get no response whatsoever.

If I reverse the order of the two TBLFM lines, I get the '20' inserted in the
appropriate place, but the '17' doesn't appear.

BTW, I've tried doing this with formula debugging turned on (C-{), but that
hasn't provided any information that I've been able to use.

What am I doing wrong?  (Some details of my configuration are appended.)

Thanks,

-- Mike

$ emacs --version
GNU Emacs 23.3.1

Org-mode version 7.8.09 (release_7.8.09-390-gfb7ebd ...

$ uname -a
Linux <my-computer-name> 3.3.4-3.fc16.x86_64 #1 SMP Thu May 3 14:46:44 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

             reply	other threads:[~2012-05-07 22:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 22:00 Michael Hannon [this message]
2012-05-08  1:01 ` How to apply multiple TBLFM rules? Charles
2012-05-08  1:41   ` Michael Hannon
2012-05-08  8:11   ` Bastien
2012-05-08 20:21     ` Michael Hannon
2012-05-10  6:52       ` Bastien
2013-04-02 13:33       ` [PATCH] Was: " Ippei FURUHASHI
2013-04-04 13:09         ` Bastien
2013-04-06 13:07           ` Ippei FURUHASHI
2013-04-06 13:15             ` Bastien

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=1336428054.18057.YahooMailNeo@web161903.mail.bf1.yahoo.com \
    --to=jm_hannon@yahoo.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).