[-- Attachment #1: Type: text/plain, Size: 656 bytes --] Hello, Can anyone reproduce this? Say I write the following in my agenda org file: * Weekly meeting <%%(diary-cyclic 7 9 10 2021) 9:00-10:00> Invoking org-agenda with a (org-agenda-list) does not show the item, whereas scheduled diary sexp or plain timestamp works fine: * Weekly meeting SCHEDULED: <%%(diary-cyclic 7 9 10 2021) 9:00-10:00> or * Weekly meeting <2021-09-10 9:00-10:00 +1w> emacs version: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) of 2021-03-27 -- Best, Yuchen PGP Key: 47F9 D050 1E11 8879 9040 4941 2126 7E93 EF86 DFD0 <https://ypei.me/assets/ypei-pubkey.txt> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 243 bytes --]
Yuchen Pei [2021-09-10 Fri 18:00] wrote:
> * Weekly meeting
> <%%(diary-cyclic 7 9 10 2021) 9:00-10:00>
>
> Invoking org-agenda with a (org-agenda-list) does not show the item, whereas scheduled diary sexp or plain timestamp
> works fine:
>
> * Weekly meeting
> SCHEDULED: <%%(diary-cyclic 7 9 10 2021) 9:00-10:00>
>
I can reproduce; adding the hour makes the event not appear unless it
has a DEADLINE or SCHEDULED.
--
Daniel Fleischer
[-- Attachment #1: Type: text/plain, Size: 840 bytes --] Daniel Fleischer <danflscr@gmail.com> writes: > Yuchen Pei [2021-09-10 Fri 18:00] wrote: > >> * Weekly meeting >> <%%(diary-cyclic 7 9 10 2021) 9:00-10:00> >> >> Invoking org-agenda with a (org-agenda-list) does not show the >> item, whereas scheduled diary sexp or plain timestamp >> works fine: >> >> * Weekly meeting >> SCHEDULED: <%%(diary-cyclic 7 9 10 2021) 9:00-10:00> >> > > I can reproduce; adding the hour makes the event not appear > unless it > has a DEADLINE or SCHEDULED. Thanks for confirming. The org-agenda code is not very readable for me with some very long functions, but I'll see if I can fix it. By the way is breaking functions into smaller ones desirable for the project? -- Best, Yuchen PGP Key: 47F9 D050 1E11 8879 9040 4941 2126 7E93 EF86 DFD0 <https://ypei.me/assets/ypei-pubkey.txt> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 243 bytes --]
On Friday, 10 Sep 2021 at 18:00, Yuchen Pei wrote: > Say I write the following in my agenda org file: > > * Weekly meeting > <%%(diary-cyclic 7 9 10 2021) 9:00-10:00> What works for me, for diary sexp entries, is putting the time in the heading: * 09:00-10:00 Weekly meeting <%%(diary-cyclic 7 9 10 2021)> -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-628-g366444 : Latest paper written in org: https://arxiv.org/abs/2106.05096
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> What works for me, for diary sexp entries, is putting the time in the
> heading:
>
> * 09:00-10:00 Weekly meeting
> <%%(diary-cyclic 7 9 10 2021)>
Actually, that is how the manual explain their usage.
[[info:org#Timestamps]]
--
Daniel Fleischer
Eric S Fraga [2021-09-10 Fri 11:57] wrote:
> What works for me, for diary sexp entries, is putting the time in the
> heading:
>
> * 09:00-10:00 Weekly meeting
> <%%(diary-cyclic 7 9 10 2021)>
This is exactly how the feature is described in the manual:
#+begin_example
Diary-style expression entries
For more complex date specifications, Org mode supports using the
special expression diary entries implemented in the Emacs Calendar
package(2). For example, with optional time:
* 22:00-23:00 The nerd meeting on every 2nd Thursday of the month
<%%(diary-float t 4 2)>
#+end_example
--
Daniel Fleischer
[-- Attachment #1: Type: text/plain, Size: 993 bytes --] Daniel Fleischer <danflscr@gmail.com> writes: > Eric S Fraga [2021-09-10 Fri 11:57] wrote: > >> What works for me, for diary sexp entries, is putting the time >> in the >> heading: >> >> * 09:00-10:00 Weekly meeting >> <%%(diary-cyclic 7 9 10 2021)> > > > This is exactly how the feature is described in the manual: > > #+begin_example > Diary-style expression entries > For more complex date specifications, Org mode supports > using the > special expression diary entries implemented in the Emacs > Calendar > package(2). For example, with optional time: > > * 22:00-23:00 The nerd meeting on every 2nd Thursday > of the month > <%%(diary-float t 4 2)> > #+end_example Thanks, my bad. I guess the reason for the time to be included in the headline is to be consistent with the diary format. -- Best, Yuchen PGP Key: 47F9 D050 1E11 8879 9040 4941 2126 7E93 EF86 DFD0 <https://ypei.me/assets/ypei-pubkey.txt> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 243 bytes --]