problem with cyclic task definition

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with cyclic task definition

Mirko Vukovic
The following cyclic entry in my .diary.cyclic-tasks does not compile.
 The variable `date' is supposed to be available to sexps (according
to diary's info).  Any ideas what I am doing wrong?

%%(let ((weekday (calendary-day-of-week date)))
    (and (> weekday 0)
         (< weekday 6))) #A0 _ Backup computer ([[PCBackup]])

Thanks,

Mirko

_______________________________________________
Planner-el-discuss mailing list
[hidden email]
https://mail.gna.org/listinfo/planner-el-discuss
Reply | Threaded
Open this post in threaded view
|

Re: problem with cyclic task definition

Ottaway, Jim
>>>>> Mirko Vukovic <[hidden email]> writes:

> The following cyclic entry in my .diary.cyclic-tasks does not compile.
>  The variable `date' is supposed to be available to sexps (according
> to diary's info).  Any ideas what I am doing wrong?

> %%(let ((weekday (calendary-day-of-week date)))
>     (and (> weekday 0)
> (< weekday 6))) #A0 _ Backup computer ([[PCBackup]])

You are mis-spelling calendar!

(should be calendar-day-of-week)

Yours sincerely,
--
Jim Ottaway


_______________________________________________
Planner-el-discuss mailing list
[hidden email]
https://mail.gna.org/listinfo/planner-el-discuss
Reply | Threaded
Open this post in threaded view
|

Re: problem with cyclic task definition

Mirko Vukovic
On Fri, Sep 3, 2010 at 10:59 AM, Ottaway, Jim <[hidden email]> wrote:

>>>>>> Mirko Vukovic <[hidden email]> writes:
>
>> The following cyclic entry in my .diary.cyclic-tasks does not compile.
>>  The variable `date' is supposed to be available to sexps (according
>> to diary's info).  Any ideas what I am doing wrong?
>
>> %%(let ((weekday (calendary-day-of-week date)))
>>     (and (> weekday 0)
>>        (< weekday 6))) #A0 _ Backup computer ([[PCBackup]])
>
> You are mis-spelling calendar!
>
> (should be calendar-day-of-week)
>

duh, thank you!

> Yours sincerely,
> --
> Jim Ottaway

Yours, grateful,

Mirko

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