Łukasz Stelmach <lukasz.stelm...@iem.pw.edu.pl> writes: > Richard Riley <rileyrg...@gmail.com> writes:> >> What would the best approach be to schedule something like a radio >> program which is on monday to friday at a certain time for the next 20 >> weeks? > > > > * Incredible Radio Show 20:00-20:55 > &%%(and > (and (< 0 (calendar-day-of-week date)) > (< (calendar-day-of-week date) 6)) > (diary-block 2010 3 1 2010 7 18)) > > > > The time is in the heading, you can use am/pm style too. > > The "&%%(" introduces diray sexp (an elisp snippet evaluated during the > porcess of building agenda view). This one is true, which makes the > event appear, when all of following conditions ar met: > > + the day of week obtained with calendar day of week is greater than > 0 (0: sunday, 6: saturday), and less than 6. > > + the date is between 2010-03-01 (March 1) and 2010-07-18 (July 18) > > Note that: > > + you have to calculate the end date by hand (maybe there is a > function for this, but the sexp would be longer), > > + the order of numbers in diary block expression depends on the > value of calendar-date-style variable. This one is iso style. > > Refere to: > <info:(org)Timestamps> > <info:(org)Weekly/daily agenda> > <info:(emacs)Special Diary Entries> > <info:(org)Time-of-day specifications> > <info:(emacs)Date Formats>
Eek! ;) Thanks to both you and Carsten. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode