* Q: How to search dates within current week
@ 2009-10-13 22:46 tan.k.h
0 siblings, 0 replies; 6+ messages in thread
From: tan.k.h @ 2009-10-13 22:46 UTC (permalink / raw)
To: emacs-orgmode; +Cc: tan.k.h
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.
Thanks,
____________________________________________________________
Plumber
Click now for prescreened plumbing contractors.
http://thirdpartyoffers.juno.com/TGL2131/c?cp=E8xQWEzZ2JspvKiaW7DFNgAAJz2dHEwHj3vEVwLaaaOeXNfeAAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAAndwAAAAA=
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Q: How to search dates within current week
@ 2009-10-18 4:37 tan.k.h
0 siblings, 0 replies; 6+ messages in thread
From: tan.k.h @ 2009-10-18 4:37 UTC (permalink / raw)
To: bernt; +Cc: emacs-orgmode
Thanks. I didn't realise that Org's Agenda mode/Timeline view has an "l" key for log mode. That shows all the items, closed and scheduled - exactly what I was looking for.
The Info page is somewhat sparse on this, but seeing how it works, it makes sense now.
---------- Original Message ----------
From: Bernt Hansen <bernt@norang.ca>
(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
____________________________________________________________
Plumber
Click now for prescreened plumbing contractors.
http://thirdpartyoffers.juno.com/TGL2131/c?cp=u-4ffF4TG3YPhH71uMiC2wAAJz2dHEwHj3vEVwLaaaOeXNfeAAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAAndwAAAAA=
^ permalink raw reply [flat|nested] 6+ messages in thread
* Q: How to search dates within current week
@ 2009-10-13 16:04 tan.k.h
2009-10-14 11:25 ` Bernt Hansen
0 siblings, 1 reply; 6+ messages in thread
From: tan.k.h @ 2009-10-13 16:04 UTC (permalink / raw)
To: emacs-orgmode; +Cc: tan.k.h
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.
Thanks,
____________________________________________________________
Weight Loss Program
Best Weight Loss Program - Click Here!
http://thirdpartyoffers.juno.com/TGL2131/c?cp=QHzgltjQttPSab0aAeH8agAAJz2dHEwHj3vEVwLaaaOeXNfeAAYAAAAAAAAAAAAAAAAAAADNAAAAAAAAAAAAAAAAAAAEUgAAAAA=
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Q: How to search dates within current week
2009-10-13 16:04 tan.k.h
@ 2009-10-14 11:25 ` Bernt Hansen
2009-10-14 11:33 ` Bernt Hansen
0 siblings, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2009-10-14 11:25 UTC (permalink / raw)
To: tan.k.h@juno.com; +Cc: emacs-orgmode
"tan.k.h@juno.com" <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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Q: How to search dates within current week
2009-10-14 11:25 ` Bernt Hansen
@ 2009-10-14 11:33 ` Bernt Hansen
2009-11-26 20:26 ` Kwee Heong TAn
0 siblings, 1 reply; 6+ messages in thread
From: Bernt Hansen @ 2009-10-14 11:33 UTC (permalink / raw)
To: tan.k.h@juno.com; +Cc: emacs-orgmode
Bernt Hansen <bernt@norang.ca> writes:
> "tan.k.h@juno.com" <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.
(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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Q: How to search dates within current week
2009-10-14 11:33 ` Bernt Hansen
@ 2009-11-26 20:26 ` Kwee Heong TAn
0 siblings, 0 replies; 6+ messages in thread
From: Kwee Heong TAn @ 2009-11-26 20:26 UTC (permalink / raw)
To: emacs-orgmode
Hi,
Problem : search for CLOSED items in current week
It turns out that Orgmode has the functionality all along but being a newbie,
I did not ask the right question. Bernt Hansen's suggestion to use Timeline
with C-u l provided the clue.
When I view the weekly agenda ( C-c a a ), I get a list of scheduled items.
Press "l" to turn on logbook mode and presto!, I get a list of items closed for
the same week.
I can change the time period with d,w,m,y to get daily, weekly, monthly or
yearly view. To see the entire file, I switch to Timeline, and then turn on
logbook mode.
In summary, logbook mode off always shows scheduled items while logbook mode on
always shows closed times. The time frame being displayed depends on whether
you are viewing daily, monthly, yearly or timeline.
The other neat thing is that when you press <left> or <right> to shift the date
window, the logbook mode shows the closed items for the correct time frame.
Happy Thanksgiving!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-26 20:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-13 22:46 Q: How to search dates within current week tan.k.h
-- strict thread matches above, loose matches on Subject: below --
2009-10-18 4:37 tan.k.h
2009-10-13 16:04 tan.k.h
2009-10-14 11:25 ` Bernt Hansen
2009-10-14 11:33 ` Bernt Hansen
2009-11-26 20:26 ` Kwee Heong TAn
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).