Bernt Hansen <be...@norang.ca> writes:

> "tan....@juno.com" <tan....@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.

(and following up on my own post...)

What I would probably do if this is something you need often is make a
custom agenda view which sets org-agenda-log-mode-items to closed, and
then view the agenda for a week starting from some specific date with
the log items on.  This should be much faster than the timeline view (L)
since it limits the date range you are looking at.

-Bernt


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to