* org-element tutorial?
@ 2023-05-15 11:18 bvchgvbt
2023-05-16 11:51 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: bvchgvbt @ 2023-05-15 11:18 UTC (permalink / raw)
To: orgmode ml
Hi,
Does anyone know of a good tutorial on using org-element? I'm finding
the documentation hard to grok.
Alternatively, given a doc like
* TODO No
** Uninteresting
- item 1
- item 2
* NEXT My thing
SCHEDULED: <2023-05-16 Tue .+1d>
:PROPERTIES:
:STYLE: habit
:LAST_REPEAT: [2023-05-15 Mon 12:12]
:END:
- State "DONE" from "NEXT" [2023-05-15 Mon 12:12] \\
I want this
how would I get at the note entered for the state change, i.e. the "I
want this" list item, in this example (which might be in a drawer,
just doesn't happen to be, here)?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: org-element tutorial?
2023-05-15 11:18 org-element tutorial? bvchgvbt
@ 2023-05-16 11:51 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-05-16 11:51 UTC (permalink / raw)
To: bvchgvbt; +Cc: orgmode ml
bvchgvbt@mail.com writes:
> Does anyone know of a good tutorial on using org-element? I'm finding
> the documentation hard to grok.
We have https://orgmode.org/worg/dev/org-element-api.html
> Alternatively, given a doc like
>
> * TODO No
> ** Uninteresting
> - item 1
> - item 2
>
> * NEXT My thing
> SCHEDULED: <2023-05-16 Tue .+1d>
> :PROPERTIES:
> :STYLE: habit
> :LAST_REPEAT: [2023-05-15 Mon 12:12]
> :END:
> - State "DONE" from "NEXT" [2023-05-15 Mon 12:12] \\
> I want this
>
> how would I get at the note entered for the state change, i.e. the "I
> want this" list item, in this example (which might be in a drawer,
> just doesn't happen to be, here)?
You may find `org-log-beginning' useful.
--
Ihor Radchenko // yantar92,
Org mode contributor,
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:[~2023-05-16 11:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-15 11:18 org-element tutorial? bvchgvbt
2023-05-16 11:51 ` 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).