emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Feedback on org-collector Worg page
@ 2012-05-11 20:25 John Hendy
  2012-05-11 20:41 ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: John Hendy @ 2012-05-11 20:25 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-12 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-11 20:25 Feedback on org-collector Worg page John Hendy
2012-05-11 20:41 ` Eric Schulte
2012-05-12 20:38   ` Mike McLean

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).