From: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
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: Sat, 04 Jan 2025 19:57:25 +0100 [thread overview]
Message-ID: <87y0zq1k6i.fsf@web.de> (raw)
In-Reply-To: <87v7v2fx4b.fsf@localhost> (Ihor Radchenko's message of "Sun, 29 Dec 2024 13:16:04 +0000")
[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]
Ihor Radchenko <yantar92@posteo.net> writes:
> "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.
Then I misunderstood the article. Sorry for that.
> Using plist-get is abusing implementation details that have been
> changed. See https://orgmode.org/Changes.html#org92f24b2
Thank you!
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
prev parent reply other threads:[~2025-01-04 18:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-29 10:45 [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/)] Dr. Arne Babenhauserheide
2024-12-29 10:51 ` Ihor Radchenko
2024-12-29 13:10 ` Dr. Arne Babenhauserheide
2024-12-29 13:16 ` Ihor Radchenko
2025-01-04 18:57 ` Dr. Arne Babenhauserheide [this message]
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=87y0zq1k6i.fsf@web.de \
--to=arne_bab@web.de \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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).