From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Feedback on org-collector Worg page Date: Fri, 11 May 2012 15:25:21 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSwP2-0005k5-5t for emacs-orgmode@gnu.org; Fri, 11 May 2012 16:25:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSwP0-0003qi-7y for emacs-orgmode@gnu.org; Fri, 11 May 2012 16:25:27 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:52866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSwOz-0003qY-Ua for emacs-orgmode@gnu.org; Fri, 11 May 2012 16:25:26 -0400 Received: by bkcjm19 with SMTP id jm19so3127882bkc.0 for ; Fri, 11 May 2012 13:25:23 -0700 (PDT) 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 I'm happy to do the updating that might come out of these comments. Org-collector was recently mentioned on the mailing list and I took a second to play with it a bit by following the page on Worg. -- http://orgmode.org/worg/org-contrib/org-collector.html The location of the src table was not specified in the article. I found out after a bit of trial and error that the org-collector block will search only the previous headline and any children. Thus, one needs to be careful where the org-collector block is. To use the example on Worg, someone might create their financial tracker document like so: ---------- * Statistics [bunch of org-collector blocks] * Raw Data ** Jan Purchases ** Feb Purchases ** Etc. ---------- This would not work, as the org-collector blocks are only looking in the "* Statistics" headline. This is probably worth mentioning on Worg if I'm correct (again, I'm happy to do this). Either that, or perhaps the scope of the headlines searched could be changed if others find this undesirable. Or I've totally botched and don't have the right understanding and this is all a false alarm! :) Secondly, I was attempting to use this on my contacts.org file and kept getting errors. Probably a bad first start for a guinea pig file. I finally narrowed down that my :Phone: property in the form "(xxx) xxx.xxxx" was causing the error. It seems that properties with parentheses cause org-collector to try and run it as a function. If I add a property to the example file (call it "foo") and give it the value "(test)", I get the error on C-c C-c "(void-function test)". Comments? Best regards, John