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 16:04:53 GMT Message-ID: <20091013.090453.13027.0@webmail22.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 1MxjtZ-0003Fw-Fc for emacs-orgmode@gnu.org; Tue, 13 Oct 2009 12:06:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxjtU-0003Dw-PJ for emacs-orgmode@gnu.org; Tue, 13 Oct 2009 12:06:41 -0400 Received: from [199.232.76.173] (port=57325 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxjtU-0003Dl-Jl for emacs-orgmode@gnu.org; Tue, 13 Oct 2009 12:06:36 -0400 Received: from outbound-mail.vgs.untd.com ([64.136.55.15]:40294) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MxjtT-0002X8-Ap for emacs-orgmode@gnu.org; Tue, 13 Oct 2009 12:06:35 -0400 Received: from outbound-bu1.vgs.untd.com (webmail22.vgs.untd.com [10.181.12.162]) by smtpout02.vgs.untd.com with SMTP id AABFPKKMLAE85ZYA for (sender ); Tue, 13 Oct 2009 09:06:02 -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, ____________________________________________________________ Weight Loss Program Best Weight Loss Program - Click Here! http://thirdpartyoffers.juno.com/TGL2131/c?cp=3DQHzgltjQttPSab0aAeH8agAA= Jz2dHEwHj3vEVwLaaaOeXNfeAAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAAEUgAA= AAA=3D