From: Nick Dokos <nicholas.dokos@hp.com>
To: Haroldo Stenger <harold.stenger@gmail.com>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: formula
Date: Tue, 04 Aug 2009 10:52:55 -0400 [thread overview]
Message-ID: <12499.1249397575@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Haroldo Stenger <harold.stenger@gmail.com> of "Tue, 04 Aug 2009 11:23:30 -0300." <3678e0bb0908040723x74413f21qee4a440f41360eaf@mail.gmail.com>
Haroldo Stenger <harold.stenger@gmail.com> wrote:
>
> Carsten ,
>
> I take for granted that a filed formula is a column formula , like the one I
> was using.
>
That's incorrect: look at Carsten's modification of your TBLFM line:
> #+TBLFM: $3=@-1$3 + @+0$1 - @+0$2::@2$3=0
^^^^^^---- this is the field formula.
The field formula initializes the top cell of the "balance" column. The
column formula (what you had before) then applies to the rest of the column.
> I upgraded to the las org-mode version.
>
> I must be doing something really wrong, since C-u C-c * doesn't recalculate
> the column, it just moves the point to the first row after the hline.
>
> What can be that is missing here ?
>
You are probably getting an error and somehow missing it: here is what I get
without the field formula:
,----
| Debugger entered--Lisp error: (error #("Row descriptor -1 used in line 4 crosses hline" 15 17 (fontified t font-lock-fontified t face org-meta-line)))
| signal(error (#("Row descriptor -1 used in line 4 crosses hline" 15 17 (fontified t font-lock-fontified t face org-meta-line))))
| error("Row descriptor %s used in line %d crosses hline" #("-1" 0 2 (face org-meta-line font-lock-fontified t fontified t)) 4)
| org-table-find-row-type([dline hline dline dline dline dline dline dline dline hline] 2 dline t 1 1 4 #("-1" 0 2 (face org-meta-line font-lock-fontified t fontified t)))
| org-table-get-descriptor-line(#("-1" 0 2 (face org-meta-line font-lock-fontified t fontified t)))
| org-table-get-range(#("@-1$3" 0 5 (fontified t font-lock-fontified t face org-meta-line)) nil 3)
| org-table-eval-formula(nil #("@-1$3 + @+0$1 - @+0$2" 0 21 (fontified t font-lock-fontified t face org-meta-line)) noalign nocst nostore noanalysis)
| org-table-recalculate(t)
| call-interactively(org-table-recalculate)
| org-ctrl-c-ctrl-c(nil)
| call-interactively(org-ctrl-c-ctrl-c nil nil)
`----
HTH,
Nick
prev parent reply other threads:[~2009-08-04 14:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 22:58 formula Haroldo Stenger
2009-08-03 10:51 ` formula Carsten Dominik
2009-08-03 23:53 ` formula Haroldo Stenger
2009-08-04 6:07 ` formula Carsten Dominik
2009-08-04 6:28 ` formula Haroldo Stenger
2009-08-04 11:40 ` formula Carsten Dominik
2009-08-04 14:23 ` formula Haroldo Stenger
2009-08-04 14:45 ` formula Carsten Dominik
2009-08-05 23:53 ` formula Haroldo Stenger
2009-08-04 14:52 ` Nick Dokos [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12499.1249397575@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=harold.stenger@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.