emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-collector not working


From: Charles Millar
Subject: Re: [O] org-collector not working
Date: Tue, 10 Jan 2017 20:36:02 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Hi Malte,


On 01/02/2017 01:07 PM, Malte Deiseroth wrote:
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


See the discussion at the list 
https://www.mail-archive.com/address@hidden/msg104915.html.
Nicolas Goaziou pointed out that

 'snip ((string= SPENDTYPE "food"))
snip
Properties are returned upper-cased by `org-entry-properties'.

Charlie Millar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]