From: Ihor Radchenko <yantar92@posteo.net>
To: bvchgvbt@mail.com
Cc: orgmode ml <emacs-orgmode@gnu.org>
Subject: Re: org-element tutorial?
Date: Tue, 16 May 2023 11:51:46 +0000 [thread overview]
Message-ID: <87pm704hpp.fsf@localhost> (raw)
In-Reply-To: <trinity-d322e66f-cdbb-4317-9d57-9ec2927767cb-1684149489276@3c-app-mailcom-lxa05>
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>
prev parent reply other threads:[~2023-05-16 11:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 11:18 org-element tutorial? bvchgvbt
2023-05-16 11:51 ` Ihor Radchenko [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pm704hpp.fsf@localhost \
--to=yantar92@posteo.net \
--cc=bvchgvbt@mail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.