From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Q: How to search dates within current week Date: Wed, 14 Oct 2009 07:25:51 -0400 Message-ID: <87bpka1akg.fsf@gollum.intra.norang.ca> References: <20091013.090453.13027.0@webmail22.vgs.untd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My1zW-0000H2-DH for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:26:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My1zS-0000Eu-5n for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:26:01 -0400 Received: from [199.232.76.173] (port=45597 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My1zR-0000Eq-WE for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:25:58 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:63191) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1My1zR-0004Af-Mm for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:25:57 -0400 In-Reply-To: <20091013.090453.13027.0@webmail22.vgs.untd.com> (tan's message of "Tue\, 13 Oct 2009 16\:04\:53 GMT") 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: "tan.k.h@juno.com" Cc: emacs-orgmode@gnu.org "tan.k.h@juno.com" writes: > 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 property" > http://article.gmane.org/gmane.emacs.orgmode/4506/match=date+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>="<-1w>"+CLOSED<="<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. The timeline might work - you can display closed and other timestamps in the log with C-u l or configure what is displayed by default with l using org-agenda-log-mode-items. HTH, Bernt