From: Alin Soare <email@example.com>
Subject: Re: value of properties
Date: Wed, 10 Nov 2010 00:00:40 +0200 [thread overview]
Message-ID: <AANLkTimRY+gHnbiM59tWSRd2sMc6QgZYANT-_3KCxRaW@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2324 bytes --]
I write you again, perhaps this time somebody can help me solve the problem.
Suppose I have a list like this
* TODO vêtements [0/0] :total:
- pour week end
- [ ] X 30
- [X] Y 80
- [ ] Z 100
- [ ] W 20
- pour les loisirs
- [X] X 30
- [ ] Y 80
- [ ] Z 10
- pour la maison:
- [ ] pantoufle 25
I want to add all values of the fields that are crossed and keep the sum
into the value of the property 'total'. Is it possible to do it using org
mode ? I looked over many documents, but not found.
Other problem, suppose I have this table inside the same file.
| | quoi | prix |
| | X | 500 |
| | Y | 700 |
| | Z | 100 |
| | W | 100 |
| | T | 100 |
| # | Total | 1500 |
| ^ | | montant |
#+TBLFM: $montant='(+ @I..@II);N
I wish to sum the value of the variable $montant with the value of the
property 'total' from the other part (from the list), and use the result in
Are these things possible using org mode ?
I looked today over some examples of babel language, but I did not find what
Thanks in advance for any help.
2010/11/7 Alin Soare <firstname.lastname@example.org>
> I have been using org mode for a few days and I am impressed.
> I have followed a few tutorials and videos, however I want to solve a
> problem and I did not find how can I do it.
> I have 2 tables , and every such table has a variable $sum, that is the sum
> of a column. Because I am lisp engineer, I used the formula '(+ @I..@II);N
> to compute it, I prefer lisp to calc.
> My problems are
> 1: to export the value of the $sum from one table, and make global
> computations using it
> 2: to compute the value of some property in function of such variables,
> defined inside tables.
> Afterwards, can I compute the value of a property in function of the value
> of other properties ?
> Probably my question is stupid, I do not know, because I did not understand
> yet the principles of properties of org mode.
[-- Attachment #1.2: Type: text/html, Size: 2879 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
next prev parent reply other threads:[~2010-11-09 22:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-07 9:05 value of properties Alin Soare
2010-11-09 22:00 ` Alin Soare [this message]
2010-11-10 12:15 ` Christian Moe
2010-11-11 13:10 ` Christian Moe
2010-11-11 13:20 ` Alin Soare
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).