emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-map-entries - wrong use or bug?


From: Thorsten Jolitz
Subject: Re: [O] org-map-entries - wrong use or bug?
Date: Fri, 14 Jun 2013 21:28:43 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux)

Nick Dokos <address@hidden> writes:

> Thorsten Jolitz <address@hidden> writes:

One more question: what would be the syntax for matching a property? I
could not find a single example of this in the whole org-mode/lisp/
directory.

Imagine the doc looks like this:

,--------------------------------------------------------
| * my todos
| ** get things done
|    :PROPERTIES:
|    :author:   My Name
|    :END:
| ** take care of things
| ** procrastinate when tasks are unpleasant 
| ** delegate really unpleasant tasks            :repeat:
`--------------------------------------------------------

By trial-and-error I found out that tags match like this:

 ,--------------------------------------
 | M: (length (org-map-entries t "repeat"))
 `--------------------------------------

but for the property I get result 0 except with

 ,--------------------------------------
 | M: (length (org-map-entries t "/*author"))
 `--------------------------------------

or

 ,--------------------------------------
 | M: (length (org-map-entries t "/-author"))
 `--------------------------------------

which return 5. 

Whats the syntax in this case?

-- 
cheers,
Thorsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]