From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: Re: org-collector - propview display problems Date: Mon, 14 Mar 2016 13:57:20 -0400 Message-ID: <56E6FB80.4010101@verizon.net> References: <56D64218.4080200@verizon.net> <87oaavq0rd.fsf@nicolasgoaziou.fr> <87pouymah0.fsf@nicolasgoaziou.fr> <8760wpkzi1.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afWkZ-0000L9-5D for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 13:57:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afWkV-0006Tf-Td for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 13:57:51 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:43972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afWkV-0006TL-Pa for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 13:57:47 -0400 Received: from vz-proxy-m002.mx.aol.com ([64.236.83.5]) by vms173015.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O4100KFYJ7N9T00@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 12:57:24 -0500 (CDT) In-reply-to: <8760wpkzi1.fsf@nicolasgoaziou.fr> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: dche , emacs-orgmode@gnu.org Nicolas, On 03/14/2016 08:36 AM, Nicolas Goaziou wrote: > Hello, > > dche 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