On Thu, Jun 12, 2008 at 08:46:47AM +0200, Carsten Dominik wrote: > > 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.
Ooo, shiny! :-) > I am very curious to see what kind of tricks you will do with this, > to keep us posted! Sure - but first I need to surmount this compilation error with the latest git master: --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< --------- $ make Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el (source)... In end of data: org-compat.el:254:1:Warning: the function `add-local-hook' is not known to be defined. Wrote /home/adam/lib/emacs/major-modes/org-mode.git/lisp/org-compat.elc emacs -batch -q -eval "(progn (add-to-list (quote load-path) (expand-file-name \"./lisp/\")) (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org-faces.el Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/gnuplot-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/gtypist-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/lilypond-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/muse-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el (source)... Wrote /home/adam/lib/emacs/major-modes/org-mode.git/lisp/org-faces.elc emacs -batch -q -eval "(progn (add-to-list (quote load-path) (expand-file-name \"./lisp/\")) (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile lisp/org.el Loading /usr/share/emacs/site-lisp/site-start.d/focus-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/gnuplot-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/gtypist-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/igrep-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/lilypond-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/muse-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/ruby-mode-init.el (source)... Loading /usr/share/emacs/site-lisp/site-start.d/vm-mode-init.el (source)... In toplevel form: \30\303EE\207\304\303rrF\207" [place x setq cons callf2] 5 ("/usr/share/emacs/22.1/lisp/emacs-lisp/cl.elc" . 2669)], 1 make: *** [lisp/org.elc] Error 1 $ rpm -qf /usr/share/emacs/22.1/lisp/emacs-lisp/cl.elc emacs-common-22.1-4.fc7 --------- 8< --------- 8< --------- 8< --------- 8< --------- 8< --------- How is one supposed to figure out which part of lisp/org.el is causing that? My elisp-fu isn't strong enough. _______________________________________________ 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