[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: |
Mon, 14 Mar 2016 13:57:20 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Nicolas,
On 03/14/2016 08:36 AM, Nicolas Goaziou wrote:
Hello,
dche <address@hidden> writes:
I have just done the test and I have the following ouptut
#+BEGIN: propview :id "december" :conds ((string= SPENDTYPE "food")) :cols
(ITEM AMOUNT)
| ITEM | AMOUNT |
|----------------------------------------+--------|
| "**** Grocery Store [2008-12-01 lun.]" | 56.77 |
| "**** Restaurant [2008-12-08 lun.]" | 30.67 |
|----------------------------------------+--------|
| | |
#+END:
Which is nearly the same as the example provides :
#+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 don't know if it is possible to get rid of the stars for the ITEM
entries.
This is already the case in the development version.
Regards,
Please let me know what I am missing or if I am just plain nuts.
I copied the org-collector example into my scratchorg file. Before
executing he first propview block, I killed the following entry
**** Grocery Store [2008-12-01 Mon]
:PROPERTIES:
:amount: 56.77
:spendtype: food
:END:
I made sure that spendtype and amount in all other entries and in the
propview blocks were upper cased.
I made sure that the first propview block had no results so it was just
#+BEGIN: propview :id "december" :conds ((string= SPENDTYPE "food"))
:cols (ITEM AMOUNT)
#+END:
When executed (C-c C-c) the result still was
#+BEGIN: propview :id "december" :conds ((string= spendtype "food")) :cols
(ITEM amount)
| "ITEM" | "amount" |
|----------------------------------+----------|
| "Grocery Store [2008-12-01 Mon]" | 56.77 | - how possible if there is no
entry??????
| "Restaurant [2008-12-08 Mon]" | 30.67 |
|----------------------------------+----------|
| | |
#+END:
In the example is :id somehow "hardwired" into the expected results.
Please note that I also entered, not copied, the first propview block
(without the results) character by character into the buffer, executed
and the Grocery Store still showed up!
If I upper case ID, I get the expected results
#+BEGIN: propview :id "december" :conds ((string= spendtype "food")) :cols
(ITEM amount)
| "ITEM" | "amount" |
|----------------------------------+----------|
| "Restaurant [2008-12-08 Mon]" | 30.67 |
|----------------------------------+----------|
| | |
#+END:
Should all options be upper cased as well? Or what should I read as to
:id properties?
Charlie Millar
- [O] org-collector - propview display problems, dche, 2016/03/01
- Re: [O] org-collector - propview display problems, Charles Millar, 2016/03/01
- Re: [O] org-collector - propview display problems, dche, 2016/03/02
- Re: [O] org-collector - propview display problems, Nicolas Goaziou, 2016/03/03
- Re: [O] org-collector - propview display problems, dche, 2016/03/03
- Re: [O] org-collector - propview display problems, Nicolas Goaziou, 2016/03/13
- Re: [O] org-collector - propview display problems, dche, 2016/03/14
- Re: [O] org-collector - propview display problems, Nicolas Goaziou, 2016/03/14
- Re: [O] org-collector - propview display problems, Charles Millar, 2016/03/14
- Re: [O] org-collector - propview display problems,
Charles Millar <=
- Re: [O] org-collector - propview display problems, dche, 2016/03/15