emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Malte Deiseroth <mdeiseroth88@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: org-collector not working
Date: Mon, 2 Jan 2017 19:07:50 +0100	[thread overview]
Message-ID: <61e99962-01dd-5d2a-5c39-492caf2b0afe@googlemail.com> (raw)

Hello

The org-collector seems to be broken. I followed the instructions on:
http://orgmode.org/worg/org-contrib/org-collector.html

Instead of:
#+BEGIN: propview :id "december" :conds ((string= spendtype "food"))
:cols (ITEM amount)
| "ITEM"                           | "amount" |
|----------------------------------+----------|
| "Grocery Store [2008-12-01 Mon]" |    56.77 |
| "Restaurant [2008-12-08 Mon]"    |    30.67 |
|----------------------------------+----------|
|                                  |          |
#+END:

I get:

#+BEGIN: propview :id "december" :conds ((string= spendtype "food"))
:cols (ITEM amount)
| ITEM | amount |
|------+--------|
|------+--------|
|      |        |
#+END:

and instead of:

#+BEGIN: propview :cols (ITEM (+ 400 amount)) :scope tree :match "example"
|
"ITEM"                                                                         
| "(+ 400 amount)" |
|---------------------------------------------------------------------------------+------------------|
| "December Spending                                                  
:example:" |                0 |
| "Week
One"                                                                     
|                0 |
| "Grocery Store [2008-12-01
Mon]"                                                |           456.77 |
| "Athletic club [2008-12-02
Tue]"                                                |            475.0 |
| "Week Two
"                                                                    
|                0 |
| "Restaurant [2008-12-08
Mon]"                                                   |           430.67 |
|---------------------------------------------------------------------------------+------------------|
|                                                                                
|                  |
#+END:


I get:

#+BEGIN: propview :cols (ITEM (+ 400 amount)) :scope tree :match "example"
| ITEM                                 | (+ 400 amount) |
|--------------------------------------+----------------|
| "** December Spending"               |              0 |
| "*** Week One"                       |              0 |
| "**** Grocery Store [2008-12-01 Mo]" |              0 |
| "**** Athletic club [2008-12-02 Di]" |              0 |
| "*** Week Two"                       |              0 |
| "**** Restaurant [2008-12-08 Mo]"    |              0 |
|--------------------------------------+----------------|
|                                      |                |
#+END:

Basically all the columns/properties are always 0. I tried also with
other properties, but nothing worked.
I have nothing in the *Messages* or *Warnigns* buffer to post here.
I might be doing something wrong. Its the first time using org-collector
for me.
I'm using emacs 25.1.1. I believe org-mode and org-collector are shipped
by default with this.
Any help would be appreciated.

Cheers Malte

             reply	other threads:[~2017-01-02 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-02 18:07 Malte Deiseroth [this message]
2017-01-11  1:36 ` org-collector not working Charles Millar

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=61e99962-01dd-5d2a-5c39-492caf2b0afe@googlemail.com \
    --to=mdeiseroth88@googlemail.com \
    --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).