From mboxrd@z Thu Jan 1 00:00:00 1970 From: Spike Spiegel Subject: Selecting items within date range and repeated events in agenda view Date: Mon, 23 Feb 2009 02:32:06 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbJ7b-0007HV-A9 for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 13:32:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbJ7a-0007Gs-0p for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 13:32:11 -0500 Received: from [199.232.76.173] (port=42099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbJ7Z-0007Gm-Lw for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 13:32:09 -0500 Received: from wf-out-1314.google.com ([209.85.200.168]:7153) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LbJ7Z-0006o4-1b for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 13:32:09 -0500 Received: by wf-out-1314.google.com with SMTP id 28so1813957wfc.24 for ; Sun, 22 Feb 2009 10:32:06 -0800 (PST) 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 Hi, I organize my work in weekly batches, meaning that monday morning I do two things: 1) review what I've done the previous week 2) plan out the upcoming week My agenda view is a block agenda with 1 block for daily agenda, 1 for projects todo and 1 for all other todos What I need and don't seem to be able to work out is a list of items that took place last week, meaning that if TODOs their CLOSED state was in that date range or if NOTEs their inactive date was in that date range. If this was applied to an .org file like a sparse tree it would also preserve tasks orders which would give me a much more meaningful view. OTOH, while playing with this stuff (I got something partially working using (org-agenda-start-day "-7")) I noticed that when looking at the agenda for the last week the repeated even that I marked as DONE wouldn't show up. The way I understood repeated evens is that they get a CLOSED note/timestamp and then are marked again as TODO. Is this the way they are supposed to work? How do people look at previous instances of a repeated event if they are removed from the agenda because they are refiled as TODO? thanks -- "Behind every great man there's a great backpack" - B.