From mboxrd@z Thu Jan 1 00:00:00 1970 From: "tan.k.h@juno.com" Subject: Q: How to search dates within current week Date: Tue, 13 Oct 2009 22:46:21 GMT Message-ID: <20091013.154621.25131.0@webmail08.vgs.untd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxq9r-0005Pn-Um for emacs-orgmode@gnu.org; Tue, 13 Oct 2009 18:47:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxq9m-0005HG-Hq for emacs-orgmode@gnu.org; Tue, 13 Oct 2009 18:47:55 -0400 Received: from [199.232.76.173] (port=46856 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxq9m-0005Gt-CK for emacs-orgmode@gnu.org; Tue, 13 Oct 2009 18:47:50 -0400 Received: from outbound-mail.vgs.untd.com ([64.136.55.15]:11089) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Mxq9l-0004mO-Et for emacs-orgmode@gnu.org; Tue, 13 Oct 2009 18:47:49 -0400 Received: from outbound-bu1.vgs.untd.com (webmail08.vgs.untd.com [10.181.12.148]) by smtpout03.vgs.untd.com with SMTP id AABFPLA5SAZNPN5S for (sender ); Tue, 13 Oct 2009 15:47:12 -0700 (PDT) Content-Disposition: inline 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 Cc: tan.k.h@juno.com Q: How to search dates within current week [ I am posting this according to //gmane.org/post.php instructions. I hope this works. ] I am a beginner in using Orgmode. = I would like to search for CLOSED items within the current week. The closest posting was in 2007 entitled "search for dates as tag or pro= perty" http://article.gmane.org/gmane.emacs.orgmode/4506/match=3Ddate+search= I tried 2 approaches but have some problems. 1) Keywords - today, tomorrow, yesterday Is there a keyword for "thisweek"? in the vein of "today", "tomorrow"= . where "thisweek" means the current Mon-Sun window. 2) Match string : +CLOSED>=3D"<-1w>"+CLOSED<=3D"<0w>" Currently -1w is a moving window of the last 7 days, so the search result will change every day. It is also possible there are simpler solutions I have not thought of. For example, the Timeline would serve my purpose except that currently, it only shows scheduled items, not closed items. Thanks, ____________________________________________________________ Plumber Click now for prescreened plumbing contractors. http://thirdpartyoffers.juno.com/TGL2131/c?cp=3DE8xQWEzZ2JspvKiaW7DFNgAA= Jz2dHEwHj3vEVwLaaaOeXNfeAAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAAndwAA= AAA=3D