emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Dmitri Minaev" <minaev@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Three questions about Org-mode API
Date: Mon, 12 May 2008 00:19:24 +0500	[thread overview]
Message-ID: <b6c377310805111219o1316032cj7959f2760081fae3@mail.gmail.com> (raw)

Hello,

I use org-mode as a front-end to view and edit the data stored in a
list. It's easy and fast to render the list as an Org-mode tree, but I
have some problems with the performance when I convert the data back
to the list.

1. If I want to retrieve all properties of an entry (a thousand or two
of entries, for that matter), what would be faster: using
org-entry-get for every property, org-entry-properties or using custom
regexps?

2. Is there a way to obtain programmatically the contents of an entry,
the text in it (assuming the entry has no children nodes)?

3. It would be nice to mark the edited entries as `dirty' to avoid the
conversion of non-changed entries. Any ideas?

Thanks.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com

             reply	other threads:[~2008-05-11 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-11 19:19 Dmitri Minaev [this message]
2008-05-12 11:03 ` Three questions about Org-mode API Carsten Dominik
2008-05-12 18:36   ` Dmitri Minaev
2008-05-15  6:58     ` Carsten Dominik

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=b6c377310805111219o1316032cj7959f2760081fae3@mail.gmail.com \
    --to=minaev@gmail.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 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).