emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pete Phillips <pete@smtl.co.uk>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: problems with table mode
Date: Mon, 21 Apr 2008 07:38:19 +0100	[thread overview]
Message-ID: <24015.1208759899@localhost> (raw)
In-Reply-To: <28F7F848-17BF-462C-B89D-A9E110D1E0FB@science.uva.nl>

Hi Carsten

>>>>> "Carsten" == Carsten Dominik <dominik@science.uva.nl> writes:

    Carsten> the correct formula line would be

    Carsten> #+TBLFM:
    Carsten> @6$2=vsum(@II+1$2..@III-1$2)::@7$2=@1$2+@2$2-@III+1

Well, this is what I have been using, but I've had to change it each
time I add a new date. Hence my search for something more generic.

    Carsten> In order to make sure that the formula stays correct, you
    Carsten> need to make sure that you add more lines to the table only
    Carsten> with the proper command M-S-<down>.  When using this
    Carsten> command, the absolute references in the formulas are
    Carsten> modified.

Ah - OK - this is clearly a solution - I have been using kill and yank
commands to add new entries.

    Carsten> I can see that a construct like you have been using would
    Carsten> be useful, because it would allow normal editing of the
    Carsten> table and still keep the correct results.  I have taken a
    Carsten> note, maybe this can be implemented at some point.

OK - not a major problem now I understand what the problem is.

Thanks
Pete

      reply	other threads:[~2008-04-21  6:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-20 19:32 problems with table mode Pete Phillips
2008-04-20 20:27 ` Carsten Dominik
     [not found]   ` <18940.1208723747@localhost>
2008-04-21  6:13     ` Carsten Dominik
2008-04-21  6:38       ` Pete Phillips [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=24015.1208759899@localhost \
    --to=pete@smtl.co.uk \
    --cc=dominik@science.uva.nl \
    --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).