Chris Poole <li...@chrispoole.com> writes:

> Eric Abrahamsen:
>> the `org-map-entries' function can be given a scope of 'agenda
>
> That worked perfectly, thanks. Here's what I ended up with:
>
> (org-map-entries (lambda ()
> (when (equal title (org-get-heading t t))
> (org-entry-put (point) "TODO" "DONE")))
> tag 'agenda)

As much as I like the powerful `org-map-entries', I wonder if it will
coexist with `org-element-map' in the future, since it does not use the
new parser. 

Whats the recommendation here? Should one rather use 

,-----------------------------------------------------------
| (org-element-map (org-element-parse-buffer) 'headline (lambda () ...))
`-----------------------------------------------------------

nowadays, or do both functions serve different purposes, or is it just a
matter of taste?

-- 
cheers,
Thorsten


Reply via email to