emacs-orgmode
[Top][All Lists]
Advanced

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

[O] org-collector - propview display problems


From: dche
Subject: [O] org-collector - propview display problems
Date: Mon, 29 Feb 2016 18:04:45 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hello 

I tried to use org-collector with the example propose
at this link http://orgmode.org/worg/org-contrib/org-collector.html

I would like to use propview as cited in example but whatever I do,
I get the outputs below.



* Example

#+BEGIN: propview :cols (ITEM amount)
| ITEM                                   | amount |
|----------------------------------------+--------|
| "* Example"                            |      0 |
| "** December Spending"                 |      0 |
| "*** Week One"                         |      0 |
| "**** Grocery Store [2008-12-01 lun.]" |      0 |
| "**** Athletic club [2008-12-02 mar.]" |      0 |
| "*** Week Two"                         |      0 |
| "**** Restaurant [2008-12-08 lun.]"    |      0 |
|----------------------------------------+--------|
|                                        |        |
#+END:

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

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

** December Spending                                    
               :example:
   :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:

The item is not extracted as expected (there are "*" that are also 
displayed corresponding of the level of entries) and the extracted
field is zero whatever of the effective value of this field (here 
amount).

This is test with 8.3.4 and GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601).



Regards







reply via email to

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