From: Matthew Lundin <mdl@imapmail.org>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Saving column views in agenda
Date: Thu, 11 Dec 2008 18:25:58 -0600 [thread overview]
Message-ID: <m2ej0ew86h.fsf@fastmail.fm> (raw)
In-Reply-To: <877i664jhe.fsf@gmail.com> (Eric Schulte's message of "Thu\, 11 Dec 2008 11\:09\:17 -0800")
Hi Eric,
The addition of the :conds parameter to org-collector, the first
example you provided (the one that zeroed out the amount for all items
not "food") now results in 1 rather than 0 in the headings. (Example
below.)
Thanks for taking a look at this.
Best,
Matt
* Example
#+BEGIN: propview :id "december" :cols (ITEM amount spendtype (if (string= spendtype "food") amount 0))
| "ITEM" | "amount" | "spendtype" | "(if (string= spendtype \"food\") amount 0)" |
|----------------------------------+----------+-------------+----------------------------------------------|
| "Week One" | 1 | 1 | 1 |
| "Grocery Store [2008-12-01 Mon]" | 56.77 | "food" | 56.77 |
| "Athletic club [2008-12-02 Tue]" | 75.0 | "health" | 0 |
| "Week Two " | 1 | 1 | 1 |
| "Restaurant [2008-12-08 Mon]" | 30.67 | "food" | 30.67 |
|----------------------------------+----------+-------------+----------------------------------------------|
| | | | |
#+END:
** December Spending
:PROPERTIES:
:ID: december
:END:
*** Week One
**** Grocery Store [2008-12-01 Mon]
:PROPERTIES:
:amount: 56.77
:spendtype: food
:END:
**** Athletic club [2008-12-02 Tue]
:PROPERTIES:
:amount: 75.00
:spendtype: health
:END:
*** Week Two
**** Restaurant [2008-12-08 Mon]
:PROPERTIES:
:amount: 30.67
:spendtype: food
:END:
next prev parent reply other threads:[~2008-12-12 0:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-08 5:52 Saving column views in agenda Matthew Lundin
2008-12-08 9:40 ` Carsten Dominik
2008-12-08 15:51 ` mdl
2008-12-09 7:27 ` Carsten Dominik
2008-12-09 21:55 ` Matthew Lundin
2008-12-11 15:45 ` Eric Schulte
[not found] ` <87y6ymirmv.fsf@fastmail.fm>
2008-12-11 19:09 ` Eric Schulte
2008-12-11 21:34 ` mdl
2008-12-12 8:40 ` Carsten Dominik
2008-12-12 13:21 ` Matthew Lundin
2008-12-12 11:00 ` Carsten Dominik
2008-12-12 11:01 ` Carsten Dominik
2008-12-12 0:25 ` Matthew Lundin [this message]
2008-12-12 7:55 ` Carsten Dominik
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=m2ej0ew86h.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@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).