emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: emacs-orgmode@gnu.org
Subject: Re: org-collector not working
Date: Tue, 10 Jan 2017 20:36:02 -0500	[thread overview]
Message-ID: <622e3efb-bcd7-623a-6e39-d75ff2a8dd76@verizon.net> (raw)
In-Reply-To: <61e99962-01dd-5d2a-5c39-492caf2b0afe@googlemail.com>

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/emacs-orgmode@gnu.org/msg104915.html.
Nicolas Goaziou pointed out that

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

Charlie Millar
  

      reply	other threads:[~2017-01-11  2:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-02 18:07 org-collector not working Malte Deiseroth
2017-01-11  1:36 ` Charles Millar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=622e3efb-bcd7-623a-6e39-d75ff2a8dd76@verizon.net \
    --to=millarc@verizon.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).