From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: follow-up Date: Thu, 30 Oct 2008 10:43:01 -0500 Message-ID: <4909D605.4070304@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvZg0-0002u8-W4 for emacs-orgmode@gnu.org; Thu, 30 Oct 2008 11:43:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvZfz-0002tT-2Y for emacs-orgmode@gnu.org; Thu, 30 Oct 2008 11:43:12 -0400 Received: from [199.232.76.173] (port=49845 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvZfy-0002tN-Oy for emacs-orgmode@gnu.org; Thu, 30 Oct 2008 11:43:10 -0400 Received: from outbound-mail-159.bluehost.com ([67.222.39.39]:54497) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KvZfy-0003HD-CH for emacs-orgmode@gnu.org; Thu, 30 Oct 2008 11:43:10 -0400 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: emacs-orgmode@gnu.org 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