From: Adam Spiers <orgmode@adamspiers.org>
To: emacs-orgmode@gnu.org
Subject: Re: FR: headline iteration API
Date: Thu, 12 Jun 2008 11:16:07 +0100 [thread overview]
Message-ID: <20080612101607.GF19396@atlantic.linksys.moosehall> (raw)
In-Reply-To: <C28F9D6D-4E94-4F67-8E97-AD4A48BE192B@uva.nl>
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.
next prev parent reply other threads:[~2008-06-12 10:16 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
2008-06-12 10:16 ` Adam Spiers [this message]
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=20080612101607.GF19396@atlantic.linksys.moosehall \
--to=orgmode@adamspiers.org \
--cc=emacs-orgmode@gnu.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).