emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] v3, with support for narrowing


From: Nick Dokos
Subject: Re: [O] v3, with support for narrowing
Date: Fri, 29 Apr 2011 10:56:51 -0400

Eric Abrahamsen <address@hidden> wrote:


> > The mapping API allows you to walk through the entries, filter the ones
> > you want and apply a function on each remaining entry. So cribbing heavily
> > from Simon's code, the following should count all the entries with tag 
> > "foo":
> 
> Nice! Seems like the mapping API could be used as the basis for this
> whole functionality.
> 

Indeed: it would require a bit of refactoring of Simon's code to provide the
function(s) to apply to each entry, and changes to the top level functions to
use the mapping API instead of looping explicitly.

Nick



reply via email to

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