From mboxrd@z Thu Jan 1 00:00:00 1970 From: dche Subject: Re: org-collector - propview display problems Date: Thu, 3 Mar 2016 13:15:26 +0000 (UTC) Message-ID: References: <56D64218.4080200@verizon.net> <87oaavq0rd.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abT6b-00013V-C8 for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 08:15:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abT6X-0006he-DV for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 08:15:49 -0500 Received: from plane.gmane.org ([80.91.229.3]:57804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abT6X-0006hP-7P for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 08:15:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1abT6R-0002uO-0A for emacs-orgmode@gnu.org; Thu, 03 Mar 2016 14:15:39 +0100 Received: from 165.225.76.114 ([165.225.76.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Mar 2016 14:15:38 +0100 Received: from dchechin92 by 165.225.76.114 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Mar 2016 14:15:38 +0100 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: emacs-orgmode@gnu.org Thank you. In the first post I used the example proposed in the description of org-collector that is accessible at this link. http://orgmode.org/worg/sources/org-contrib/org-collector-example.org With this example org-collector is able to gather in a table with the use of propview in a #+BEGIN #+END block. To display the table, you have to use C-c C-c in front of the #+BEGIN: instruction. With the example proposed in the link the following results are displayed : #+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: With my actual configuration Org-mode 8.3.4 and GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601), I get the following output : #+BEGIN: propview :id "december" :conds ((string= spendtype "food")) :cols #+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: The org-collector function is previously loaded with (require 'org-collector) Regards