From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: Re: org-collector not working Date: Tue, 10 Jan 2017 20:36:02 -0500 Message-ID: <622e3efb-bcd7-623a-6e39-d75ff2a8dd76@verizon.net> References: <61e99962-01dd-5d2a-5c39-492caf2b0afe@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cR8mM-00071S-RM for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 21:36:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cR8mJ-00079o-OG for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 21:36:46 -0500 Received: from vms173019pub.verizon.net ([206.46.173.19]:37792) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cR8mJ-00079I-J3 for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 21:36:43 -0500 Received: from vz-proxy-l003.mx.aol.com ([64.236.82.151]) by vms173019.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0OJL002LNDS2R850@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 19:36:03 -0600 (CST) In-reply-to: <61e99962-01dd-5d2a-5c39-492caf2b0afe@googlemail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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