emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "Tory S. Anderson" <torys.anderson@gmail.com>
Cc: orgmode list <emacs-orgmode@gnu.org>
Subject: Re: Table Formula: Update column, then update value
Date: Thu, 11 Sep 2014 19:21:57 +0100	[thread overview]
Message-ID: <87lhpq6mre.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87tx4exlc8.fsf@gmail.com> (Tory S. Anderson's message of "Thu, 11 Sep 2014 10:50:31 -0400")

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

On Thursday, 11 Sep 2014 at 10:50, Tory S. Anderson wrote:
> When I apply the formula 
>
>   #+TBLFM: $4=$3*$2::$hrs=vsum(@I..II)::$ttl=vsum(@I..II)
> It doesn't give me any errors, but it also doesn't do anything to
> $4. So if I change one of my hour amounts, the "hrs" field will update
> appropriately, but not the "cost" field, which remains unchanged. It
> appears that the initial formula is not doing anything.
>
> Org-mode version 8.2.7c (8.2.7c-61-g4b9146-elpa

You are correct.  I get the same behaviour.  Definitely a bug.

If you remove the last line (with labels) and replace the last row
formulae with direct references, it works.

 #+TBLFM: $4=$3*$2::@7$2=vsum(@I..@II)::@7$4=vsum(@I..@II)
 
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-320-gb5c9de

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

      reply	other threads:[~2014-09-11 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 14:00 Table Formula: Update column, then update value Tory S. Anderson
2014-09-11 14:30 ` Eric S Fraga
2014-09-11 14:50   ` Tory S. Anderson
2014-09-11 18:21     ` Eric S Fraga [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

  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=87lhpq6mre.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=torys.anderson@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 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).