From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: FR: headline iteration API Date: Thu, 12 Jun 2008 08:46:47 +0200 Message-ID: References: <20080530124619.GB9520@atlantic.linksys.moosehall> <8763spclpm.fsf@gmail.com> <20080610102844.GG5498@atlantic.linksys.moosehall> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6gaC-0007la-3G for emacs-orgmode@gnu.org; Thu, 12 Jun 2008 02:46:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6gaA-0007ke-MZ for emacs-orgmode@gnu.org; Thu, 12 Jun 2008 02:46:51 -0400 Received: from [199.232.76.173] (port=44899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6gaA-0007kP-Ac for emacs-orgmode@gnu.org; Thu, 12 Jun 2008 02:46:50 -0400 Received: from mx20.gnu.org ([199.232.41.8]:63454) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K6gaA-0004Dm-FW for emacs-orgmode@gnu.org; Thu, 12 Jun 2008 02:46:50 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6ga8-0003CP-DN for emacs-orgmode@gnu.org; Thu, 12 Jun 2008 02:46:48 -0400 In-Reply-To: <20080610102844.GG5498@atlantic.linksys.moosehall> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Adam Spiers Cc: emacs-orgmode@gnu.org On Jun 10, 2008, at 12:28 PM, Adam Spiers wrote: > Yes. There will be many intricacies involved in iteration, and > probably only Carsten knows them all - without an API we would > individually be reinventing the same wheel over and over ... badly. Hi Adam, Daniel, and others, the mapping API is in place and already quite general. It supports different scopes like the current tree, or the file, or all agenda files, or even all agenda files with associated archives. You can specify a tags/property/todo match to restrict the mapping to selected entries. And you can use the full org-agenda-skip mechanism (but you might want to do these checks in the mapping function, of course). Adam, as you suspected, this is only a small bit of code, for the rest it re-uses the agenda stuff. Documentation is in Appendix B6 of the manual. I am very curious to see what kind of tricks you will do with this, to keep us posted! - Carsten > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode