emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Headline generation as in diary?


From: Ihor Radchenko
Subject: Re: Headline generation as in diary?
Date: Thu, 03 Sep 2020 21:35:54 +0800

> When dealing with complicated date rules it can likely happen that a
> diary sexp doesn't fit into one line.

Diary sexp can be a user-defined function. If your sexp needs to span
multiple lines, it is probably worth defining a function and simply
using <%%(your-function)> as a timestamp.

Best,
Ihor

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Robert Pluim <rpluim@gmail.com> writes:
>
>> I can push my change to org, but Iʼm not a regular org contributor, so
>> Iʼd prefer to hear from one of the maintainers first.
>
> Sorry - I meant, I see no reason to touch the existing code.  No need to
> change anything for what I want.
>
>>     Michael> This doesn't work:
>>
>>     Michael> | ** APPT 17:00 Test
>>     Michael> | SCHEDULED: <%%(and (or (diary-date 03 09 2020)
>>     Michael> |                        (diary-date 04 09 2020)))>
>
>> I think thatʼs just a consequence of timestamps not being allowed to
>> span multiple lines in org, unlike diary.
>
> This is bad.  Why is that?  Can it be changed?
>
> When dealing with complicated date rules it can likely happen that a
> diary sexp doesn't fit into one line.
>
> Regards,
>
> Michael.



reply via email to

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