From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: stuck todos agenda view Date: Wed, 24 Mar 2010 16:01:39 +0100 Message-ID: References: <1bcd1ad61003201209i790dc01eo6bd1202f0db9db2e@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuWrd-0000MP-GI for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 16:07:41 -0400 Received: from [140.186.70.92] (port=36012 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuWrc-0000LB-3C for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 16:07:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuWra-0004Ho-Ed for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 16:07:39 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:43521) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuWra-0004FT-8a for emacs-orgmode@gnu.org; Wed, 24 Mar 2010 16:07:38 -0400 Received: by mail-ew0-f216.google.com with SMTP id 8so48223ewy.8 for ; Wed, 24 Mar 2010 13:07:38 -0700 (PDT) In-Reply-To: <1bcd1ad61003201209i790dc01eo6bd1202f0db9db2e@mail.gmail.com> 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: Eraldo Helal Cc: Org-Mode On Mar 20, 2010, at 8:09 PM, Eraldo Helal wrote: > I want to make an agenda view for todos older than 7 days sorted by > oldest date first. > > My TODOs have a timestamp inside the logbook which shows when they got > the TODO status. >> *** TODO headline >> :LOGBOOK: >> - State "TODO" from "" [2010-03-20 Sat 19:39] >> :END: > How can I get an Agenda view, showing only TODOs with the most recent > timestamp older than 7 days. > And then if possible sorting them so that the oldest todo is shown > fist. > > Any ideas how such a view could be configured/coded? > Are there options already present with which I can get such a view? Hi Eduardo, the only way I can think of right now would be writing your own skip function. That function would have to search to the time stamp, make the comparison, and base its exit on the result. Appendix A7 in the manual show the structure of such a view. Hope this is enough to get you on you way. - Carsten