emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-collector - propview display problems


From: Charles Millar
Subject: Re: [O] org-collector - propview display problems
Date: Tue, 01 Mar 2016 20:30:00 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Hi,

On 02/29/2016 01:04 PM, dche wrote:
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).



I believe this is the same problem or bug I reported in April 2015! Others have also brought attention it to this, but nothing has been done to fix it.

Charlie Millar



reply via email to

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