emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is there a method to extract incomplete items from Org lists as strings?
@ 2024-11-04  4:47 Jean Louis
  2024-11-11 19:04 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Louis @ 2024-11-04  4:47 UTC (permalink / raw)
  To: Emacs Org Mode

I have blobs, or strings of Org Mode, and I would like to
programmatically extract incomplete items

- [x] First one is complete
- [ ] This second one is incomplete,
      and I would like extracting it in full, even if it has multiple
      lines
- [x] This one is complete

I would prefer to do extraction of incomplete items by using some
function. The extraction is to serve to create a new blob, new
document (not file) as string, with only incomplete items.

Jean Louis


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is there a method to extract incomplete items from Org lists as strings?
  2024-11-04  4:47 Is there a method to extract incomplete items from Org lists as strings? Jean Louis
@ 2024-11-11 19:04 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-11-11 19:04 UTC (permalink / raw)
  To: Jean Louis; +Cc: Emacs Org Mode

Jean Louis <bugs@gnu.support> writes:

> I have blobs, or strings of Org Mode, and I would like to
> programmatically extract incomplete items
>
> - [x] First one is complete
> - [ ] This second one is incomplete,
>       and I would like extracting it in full, even if it has multiple
>       lines
> - [x] This one is complete
>
> I would prefer to do extraction of incomplete items by using some
> function. The extraction is to serve to create a new blob, new
> document (not file) as string, with only incomplete items.

See https://orgmode.org/worg/dev/org-element-api.html

-- 
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:[~2024-11-11 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04  4:47 Is there a method to extract incomplete items from Org lists as strings? Jean Louis
2024-11-11 19:04 ` 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).