* New Heading Parsing and org-vcard
@ 2025-01-18 16:01 Jonas Damm
2025-01-18 16:41 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Jonas Damm @ 2025-01-18 16:01 UTC (permalink / raw)
To: emacs-orgmode
Reading here: https://orgmode.org/Changes.html makes me believe breaking
changes in orgmode made the seemingly unmaintained org-vcard package not
work anymore.
> Internal structure of Org parse tree has been changed
>
> The code relying upon the previously used (TYPE PROPERTIES-PLIST
> CONTENTS-LIST) structure may no longer work. Please use
> org-element-create, org-element-property, and other Org element API
> functions to work with Org syntax trees.
>
> Some syntax node properties are no longer stored as property list
> elements. Instead, they are kept in a special vector value of a new
> :standard-properties property. This is done to improve performance.
>
> If there is a need to traverse all the node properties, a new API
> function org-element-properties-map can be used.
>
> Properties and their values can now be deferred to avoid overheads when
> parsing. They are calculated lazily, when the value/property is
> requested by org-element-property and other getter functions. Using
> plist-get to retrieve values of PROPERTIES-PLIST is not recommended as
> deferred properties will not be resolved in such scenario.
>
> New special property :secondary is used internally to record which
> properties store secondary objects.
>
> New special property :deferred is used to keep information how to
> calculate property names lazily.
>
> See the commentary in lisp/org-element-ast.el for more details.
I tried to modify the org-vcard package, but this is beyond my
capabillities.
So my question is: Can I maybe downgrade orgmode or restore the old
method of parsing some other way? I relied on org-vcard pretty
heavily. I hope I can find a way to keep using it.
Thanks!
Jonas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: New Heading Parsing and org-vcard
2025-01-18 16:01 New Heading Parsing and org-vcard Jonas Damm
@ 2025-01-18 16:41 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2025-01-18 16:41 UTC (permalink / raw)
To: Jonas Damm; +Cc: emacs-orgmode
Jonas Damm <mailing@jonas-damm.de> writes:
> Reading here: https://orgmode.org/Changes.html makes me believe breaking
> changes in orgmode made the seemingly unmaintained org-vcard package not
> work anymore.
AFAIK, org-vcard is maintained at https://github.com/pinoaffe/org-vcard
> So my question is: Can I maybe downgrade orgmode or restore the old
> method of parsing some other way? I relied on org-vcard pretty
> heavily. I hope I can find a way to keep using it.
It might be enough to replace plist-get with org-element-property calls.
--
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-18 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-18 16:01 New Heading Parsing and org-vcard Jonas Damm
2025-01-18 16:41 ` Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).