On 25 Feb 2007, John Sullivan wrote:

> "Ryan Krauss" <[EMAIL PROTECTED]> writes:
>
>> Having looked at planner-cyclic, I see that it is easy to create
>> tasks for every Monday, or every Tuesday or whatever. How do I create
>> a task for every or every Mon-Fri?
>>
>
> Maybe there's a more high-tech way, but I just do:
>
> Monday #B0 _ Read -30-
> Tuesday #B0 _ Read -30-
> Wednesday #B0 _ Read -30-
> Thursday #B0 _ Read -30-
> Friday #B0 _ Read -30-

Assuming that you don't want this each and every week, but during some
specified period, you could have something like this in the cyclic diary file:

&%%(and (diary-block 1 3 2007 1 4 2007)
         (memq (calendar-day-of-week date)  '(1 2 3 4 5))) #A1 _ your task here

with an appropriate date range in the diary-block form. This would have
the task appear from Monday to Friday for the next month.

If it is each and every week, you'd just need

&%%(memq (calendar-day-of-week date)  '(1 2 3 4 5)) #A1 _ Your task here

In these, the variable `date' is dynamically bound to the current date
by the code that works out whether an entry should be shown.

Regards,

-- 
Jim Ottaway

_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss

Reply via email to