emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] Org Element Api: :begin and :end are missing [9.7.13 (9.7.13-8


From: Ihor Radchenko
Subject: Re: [BUG] Org Element Api: :begin and :end are missing [9.7.13 (9.7.13-8566bc @ /home/arne/.emacs.d/elpa/org-9.7.13/)]
Date: Sun, 29 Dec 2024 13:16:04 +0000

"Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:

>> Why? What's wrong with `org-element-begin' and `org-element-end'?
>
> I didn’t know that I could also use these ☺
>
> What’s wrong is only that I had to fix showing the first paragraph of
> articles on my website with this change:¹
> - (begin (plist-get (car (cdr (assoc 'paragraph (org-element-contents
> (nth 2 org-elements))))) ':begin))
> ...
> But https://orgmode.org/worg/dev/org-element-api.html#fnr.1 claims that
> it should still be working.

I do not see anything mentioning plist on that page. That WORG page
suggests using org-element-property.

Using plist-get is abusing implementation details that have been
changed. See https://orgmode.org/Changes.html#org92f24b2

Not a bug.
Canceled.

-- 
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]