[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improving Emacs' iCalendar support
From: |
Richard Lawrence |
Subject: |
Re: Improving Emacs' iCalendar support |
Date: |
Fri, 25 Oct 2024 14:53:19 +0200 |
Hi Ihor,
Ihor Radchenko <yantar92@posteo.net> writes:
> Richard Lawrence <rwl@recursewithless.net> writes:
>
>>> While I started extending the gnus-icalendar-event EIEIO class to
>>> support property parameters, it ended up being very cumbersome to
>>> create new event objects with all parameters correctly set.
>
> As an alternative option, you may consider using org-element-ast API -
> it is a generic data structure and API that Org mode uses to handle
> parsed AST. It is servility optimized for performance and does not
> really depend on other parts of Org mode.
Thanks for pointing me to this! I took a look at the file commentary,
and I've played around with org-element before. I do like org-element's
plist-based format...it makes things simple and readable as an outside
tinkerer.
Can you tell me a bit more about the performance benefits? Do these
mostly just stem from the use of an array for :standard-properties?
(You get this for free with cl-structs, too.) Or is it more about when
and how parsing happens? (This is something I feel like I've never
grasped in org-element...in the past I've been confused because the
properties I'd see when calling e.g. org-element-at-point would be
different than the ones available in some other context.)
Thanks!
Best,
Richard
- Re: Improving Emacs' iCalendar support, (continued)
- Re: Improving Emacs' iCalendar support, Adam Porter, 2024/10/19
- Re: Improving Emacs' iCalendar support, Ihor Radchenko, 2024/10/22
- Re: Improving Emacs' iCalendar support, Björn Bidar, 2024/10/23
- Re: Improving Emacs' iCalendar support, Ihor Radchenko, 2024/10/23
- Re: Improving Emacs' iCalendar support, Richard Lawrence, 2024/10/23
- Re: Improving Emacs' iCalendar support, Björn Bidar, 2024/10/23
- Re: Improving Emacs' iCalendar support, Richard Lawrence, 2024/10/23
- Re: Improving Emacs' iCalendar support, Ferdinand Pieper, 2024/10/23
- Re: Improving Emacs' iCalendar support, Richard Lawrence, 2024/10/24
- Re: Improving Emacs' iCalendar support, Ihor Radchenko, 2024/10/24
- Re: Improving Emacs' iCalendar support,
Richard Lawrence <=
- Re: Improving Emacs' iCalendar support, Ihor Radchenko, 2024/10/25
- Re: Improving Emacs' iCalendar support, Björn Bidar, 2024/10/21
- Re: Improving Emacs' iCalendar support, Visuwesh, 2024/10/21