emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* New Heading Parsing and org-vcard
@ 2025-01-18 16:01 Jonas Damm
  2025-01-18 16:41 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ 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] 5+ messages in thread
* Re: New Heading Parsing and org-vcard
@ 2025-01-19 16:17 resource1
  0 siblings, 0 replies; 5+ messages in thread
From: resource1 @ 2025-01-19 16:17 UTC (permalink / raw)
  To: emacs-orgmode

I lost org-vcard functionality too when I last upgraded 
org-mode.

I've been using the export function built in to org-contacts 
in the meantime, but it's pretty bare bones.

Given the number of people who try and live in Emacs I'm 
surprise the loss of contact support hasn't impacted more 
users. Would be great to get this working again.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-01-19 16:47 UTC | newest]

Thread overview: 5+ 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
2025-01-19 11:47   ` Jonas Damm
2025-01-19 12:27     ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2025-01-19 16:17 resource1

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).