OK, I have looked at the code, and it seems like the problem is that org-write-agenda calls buffer-substring, which is writing the entire contents of the buffer. The problem is that buffer-substring ignores overlays, and overlays are what is used to hide the filtered materials.
Is this something I should dig into, or am I just doing something wrong here? thanks, r _______________________________________________ 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