emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-collector - propview display problems
@ 2016-02-29 18:04 dche
  2016-03-02  1:30 ` Charles Millar
  0 siblings, 1 reply; 11+ messages in thread
From: dche @ 2016-02-29 18:04 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-03-15  9:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 18:04 org-collector - propview display problems dche
2016-03-02  1:30 ` Charles Millar
2016-03-02 14:11   ` dche
2016-03-03 11:06     ` Nicolas Goaziou
2016-03-03 13:15       ` dche
2016-03-13 19:41         ` Nicolas Goaziou
2016-03-14  9:26           ` dche
2016-03-14 12:36             ` Nicolas Goaziou
2016-03-14 15:08               ` Charles Millar
2016-03-14 17:57               ` Charles Millar
2016-03-15  9:09               ` dche

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).