emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <c.dominik@uva.nl>
To: Adam Spiers <orgmode@adamspiers.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: FR: headline iteration API
Date: Thu, 12 Jun 2008 08:46:47 +0200	[thread overview]
Message-ID: <C28F9D6D-4E94-4F67-8E97-AD4A48BE192B@uva.nl> (raw)
In-Reply-To: <20080610102844.GG5498@atlantic.linksys.moosehall>


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

  reply	other threads:[~2008-06-12  6:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 12:46 FR: headline iteration API Adam Spiers
2008-06-04 14:35 ` Daniel Clemente
2008-06-10 10:28   ` Adam Spiers
2008-06-12  6:46     ` Carsten Dominik [this message]
2008-06-12 10:16       ` Adam Spiers
2008-06-12 10:51         ` Carsten Dominik
2008-06-11  6:57 ` Dominik, C.
2008-06-11 11:06   ` Adam Spiers
2008-06-11 17:15     ` Eddward DeVilla
2008-06-12  1:09       ` Eddward DeVilla
2008-07-16 15:06       ` Max Mikhanosha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C28F9D6D-4E94-4F67-8E97-AD4A48BE192B@uva.nl \
    --to=c.dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode@adamspiers.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).