emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diary-lib.el how about adding diary-schedule


From: Gijs Hillenius
Subject: Re: diary-lib.el how about adding diary-schedule
Date: Wed, 25 Aug 2021 09:39:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On 24 August 2021 16:37 Michael Heerdegen, wrote:

>> The way I understand it (..) : diary-cyclic does not let me set an
>> end-date, so a weekly entry is repeated "forever".
>>
>> End-date is in diary-block, but then the entry is added every day
>> between begin and end date, instead of say, every Monday.
>>
>> Perhaps diary-block could be improved to allow setting 'every N days'
>> like in diary-cyclic? 
>
> Diary expressions are normal Elisp forms, so just use e.g.:
>
> %%(and (diary-cyclic 10 08 24 2021) (diary-block 08 24 2021 12 31 2021))


Ow! And thanks!


this indeed does what I want:

%%(and (diary-block 15 07 2020 30 06 2021) (diary-cyclic 7 15 07 2020))
  14:00-14:30 some weekly meeting


   
I should have known. Back to my Lisp books!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]