emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonas Damm <mailing@jonas-damm.de>
To: emacs-orgmode@gnu.org
Subject: New Heading Parsing and org-vcard
Date: Sat, 18 Jan 2025 17:01:48 +0100	[thread overview]
Message-ID: <8734hg14uu.fsf@jonas-damm.de> (raw)

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


             reply	other threads:[~2025-01-18 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-18 16:01 Jonas Damm [this message]
2025-01-18 16:41 ` New Heading Parsing and org-vcard Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8734hg14uu.fsf@jonas-damm.de \
    --to=mailing@jonas-damm.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).