emacs-devel
[Top][All Lists]
Advanced

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

Re: Upstreaming org-element-ast (was: Improving Emacs' iCalendar support


From: Ihor Radchenko
Subject: Re: Upstreaming org-element-ast (was: Improving Emacs' iCalendar support)
Date: Fri, 10 Jan 2025 18:32:31 +0000

Richard Lawrence <rwl@recursewithless.net> writes:

>> I think that the simplest approach could be just leaving
>> `org-element--standard-properties' constant, but stuffing it with truly
>> generic properties that are common for all the possible parsers.
>>
>> WDYT?
>
> Well, it doesn't seem ideal, but maybe it's sufficient.
>
> Another idea: could one use aliasing or symbol properties somehow to
> allow library users to "rename" standard properties they don't need? All
> that really needs to happen dynamically is mapping a keyword to an array
> index, right?

The whole idea behind standard properties is that they are resolved
statically, at compile time. Adding any kind of dynamic resolution will
defeat their purpose (speed).

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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