emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Feedback on org-collector Worg page
Date: Fri, 11 May 2012 15:25:21 -0500	[thread overview]
Message-ID: <CA+M2ft_BfdD3nBxJbqOtaYUZyBCSP71oYebpa6H+JoM1tJAKiQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2012-05-11 20:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11 20:25 John Hendy [this message]
2012-05-11 20:41 ` Feedback on org-collector Worg page Eric Schulte
2012-05-12 20:38   ` Mike McLean

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=CA+M2ft_BfdD3nBxJbqOtaYUZyBCSP71oYebpa6H+JoM1tJAKiQ@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --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).