* repetitive activity over a period of time, starting at the same time each day @ 2009-11-06 10:10 Crni Gorac 2009-11-06 10:47 ` Stephan Schmitt 2009-11-06 16:51 ` Matt Lundin 0 siblings, 2 replies; 5+ messages in thread From: Crni Gorac @ 2009-11-06 10:10 UTC (permalink / raw) To: emacs-orgmode How to specify a time interval for a TODO that will say span over two weeks, working days only, and that will start each day at 10am. I tried with timestamps available in org-mode, as well as with Emacs diary timestamps, but to no avail. Any suggestion? Thanks. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: repetitive activity over a period of time, starting at the same time each day 2009-11-06 10:10 repetitive activity over a period of time, starting at the same time each day Crni Gorac @ 2009-11-06 10:47 ` Stephan Schmitt 2009-11-06 16:51 ` Matt Lundin 1 sibling, 0 replies; 5+ messages in thread From: Stephan Schmitt @ 2009-11-06 10:47 UTC (permalink / raw) To: Crni Gorac; +Cc: emacs-orgmode Hi Crni, you could create a todo heading scheduled for the first day, then use org-clone-subtree-with-time-shift (you are asked for the number of clones and the time shift, e.g. +1d), and then remove manually the todo headings scheduled for the weekend. hth, Stephan Crni Gorac wrote: > How to specify a time interval for a TODO that will say span over two > weeks, working days only, and that will start each day at 10am. I > tried with timestamps available in org-mode, as well as with Emacs > diary timestamps, but to no avail. Any suggestion? > > Thanks. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: repetitive activity over a period of time, starting at the same time each day 2009-11-06 10:10 repetitive activity over a period of time, starting at the same time each day Crni Gorac 2009-11-06 10:47 ` Stephan Schmitt @ 2009-11-06 16:51 ` Matt Lundin 2009-11-06 19:51 ` Crni Gorac 1 sibling, 1 reply; 5+ messages in thread From: Matt Lundin @ 2009-11-06 16:51 UTC (permalink / raw) To: Crni Gorac; +Cc: emacs-orgmode Crni Gorac <cgorac@gmail.com> writes: > How to specify a time interval for a TODO that will say span over two > weeks, working days only, and that will start each day at 10am. I > tried with timestamps available in org-mode, as well as with Emacs > diary timestamps, but to no avail. Any suggestion? > You could use a diary sexp: --8<---------------cut here---------------start------------->8--- * 10:00am Every weekday for two weeks <%%(and (memq (calendar-day-of-week date) '(1 2 3 4 5)) (diary-block 11 9 2009 11 20 2009))> --8<---------------cut here---------------end--------------->8--- - Matt ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: repetitive activity over a period of time, starting at the same time each day 2009-11-06 16:51 ` Matt Lundin @ 2009-11-06 19:51 ` Crni Gorac 2009-11-07 18:37 ` Matt Lundin 0 siblings, 1 reply; 5+ messages in thread From: Crni Gorac @ 2009-11-06 19:51 UTC (permalink / raw) To: emacs-orgmode On Fri, Nov 6, 2009 at 5:51 PM, Matt Lundin <mdl@imapmail.org> wrote: > Crni Gorac <cgorac@gmail.com> writes: > >> How to specify a time interval for a TODO that will say span over two >> weeks, working days only, and that will start each day at 10am. I >> tried with timestamps available in org-mode, as well as with Emacs >> diary timestamps, but to no avail. Any suggestion? >> > > You could use a diary sexp: > > --8<---------------cut here---------------start------------->8--- > * 10:00am Every weekday for two weeks > <%%(and (memq (calendar-day-of-week date) '(1 2 3 4 5)) (diary-block 11 9 2009 11 20 2009))> > --8<---------------cut here---------------end--------------->8--- > > - Matt > > Thanks Matt, this is almost there; however, if this is a TODO item, and if I mark it done, than it's marked done once and for all, and not only for given day, like org-mode timestamps with repeater interval. Any further suggestions here? Maybe I'm wrong, but it seems very strange to me that a need for alike timestamps was not recognized in org-mode - for example, how would one build a TODO item for something like a class spanning say over two months and with class hours say Mon and Wed between 10am and 11am? Also, is this placing time at the start of item, and having it recognized when agenda view built some kind of special syntax? I wasn't able to find it mentioned in org-mode documentation... Thanks. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: repetitive activity over a period of time, starting at the same time each day 2009-11-06 19:51 ` Crni Gorac @ 2009-11-07 18:37 ` Matt Lundin 0 siblings, 0 replies; 5+ messages in thread From: Matt Lundin @ 2009-11-07 18:37 UTC (permalink / raw) To: Crni Gorac; +Cc: emacs-orgmode Crni Gorac <cgorac@gmail.com> writes: > On Fri, Nov 6, 2009 at 5:51 PM, Matt Lundin <mdl@imapmail.org> wrote: >> Crni Gorac <cgorac@gmail.com> writes: >> >>> How to specify a time interval for a TODO that will say span over two >>> weeks, working days only, and that will start each day at 10am. I >>> tried with timestamps available in org-mode, as well as with Emacs >>> diary timestamps, but to no avail. Any suggestion? >>> >> >> You could use a diary sexp: >> >> --8<---------------cut here---------------start------------->8--- >> * 10:00am Every weekday for two weeks >> <%%(and (memq (calendar-day-of-week date) '(1 2 3 4 5)) (diary-block 11 9 2009 11 20 2009))> >> --8<---------------cut here---------------end--------------->8--- >> >> - Matt >> > > Thanks Matt, this is almost there; however, if this is a TODO item, > and if I mark it done, than it's marked done once and for all, and not > only for given day, like org-mode timestamps with repeater interval. > Any further suggestions here? Ah. I see. I don't think there's any way make an item with a diary sexp behave like a recurring timestamp. I think the best solution here would be to create multiple items w/ todos, as Stephan suggested in his post. > Maybe I'm wrong, but it seems very strange to me that a need for alike > timestamps was not recognized in org-mode - for example, how would one > build a TODO item for something like a class spanning say over two > months and with class hours say Mon and Wed between 10am and 11am? I imagine one way to do this would be to create two items with repeating timestamps: --8<---------------cut here---------------start------------->8--- * TODO 10:00am Class SCHEDULED: <2009-11-09 Mon +1w> * TODO 10:00am Class SCHEDULED: <2009-11-11 Wed +1w> --8<---------------cut here---------------end--------------->8--- > > Also, is this placing time at the start of item, and having it > recognized when agenda view built some kind of special syntax? I > wasn't able to find it mentioned in org-mode documentation... I'm sorry to say that I'm not sure where it's documented. But org-mode does scan the headline for time of day information. Best, Matt ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-11-07 18:37 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-11-06 10:10 repetitive activity over a period of time, starting at the same time each day Crni Gorac 2009-11-06 10:47 ` Stephan Schmitt 2009-11-06 16:51 ` Matt Lundin 2009-11-06 19:51 ` Crni Gorac 2009-11-07 18:37 ` Matt Lundin
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.