From: Rainer Stengele <rainer.stengele@diplan.de>
To: emacs-orgmode@gnu.org
Cc: "Benedikt Pfülb" <benedikt.pfuelb@diplan.de>
Subject: question concerning table mode / vsum / automatic adjustments of indices
Date: Wed, 27 Aug 2008 13:35:02 +0200 [thread overview]
Message-ID: <48B53BE6.9040503@diplan.de> (raw)
I mostly have the same application of using org tables.
I have (many) columns with numbers and want to see the sum in the last row.
See this little example:
|-------+--------|
| items | amount |
|-------+--------|
| a | 0.5 |
| b | 0.0 |
| c | 0.5 |
|-------+--------|
| sum | 1. |
|-------+--------|
#+TBLFM: @5$2=vsum(@2..4)
Having the cursor on the row with "c"
and pressing <M-S-DOWN> I get this:
|-------+--------|
| items | amount |
|-------+--------|
| a | 0.5 |
| b | 0.0 |
| | |
| c | 0.5 |
|-------+--------|
| sum | 1. |
|-------+--------|
#+TBLFM: @6$2=vsum(@2..@5)
everything is adjusted correctly!
Now I want to add a row after "c". Being on the row below "c"
when I press <M-S-DOWN> I get this:
|-------+--------|
| items | amount |
|-------+--------|
| a | 0.5 |
| b | 0.0 |
| c | 0.5 |
| | |
|-------+--------|
| sum | 1. |
|-------+--------|
#+TBLFM: @6$2=vsum(@2..@4)
which is not what I want. I want "@5" as in the case before.
Is this a bug or a feature? How can I get what I need?
Thanks!
Rainer
next reply other threads:[~2008-08-27 11:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-27 11:35 Rainer Stengele [this message]
2008-08-29 11:27 ` question concerning table mode / vsum / automatic adjustments of indices William Henney
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=48B53BE6.9040503@diplan.de \
--to=rainer.stengele@diplan.de \
--cc=benedikt.pfuelb@diplan.de \
--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 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.