From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dmitri Minaev" Subject: Three questions about Org-mode API Date: Mon, 12 May 2008 00:19:24 +0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvH4x-0008ET-Sr for emacs-orgmode@gnu.org; Sun, 11 May 2008 15:19:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvH4x-0008EH-GU for emacs-orgmode@gnu.org; Sun, 11 May 2008 15:19:27 -0400 Received: from [199.232.76.173] (port=48918 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvH4x-0008EE-Bm for emacs-orgmode@gnu.org; Sun, 11 May 2008 15:19:27 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:30031) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvH4x-00034c-9O for emacs-orgmode@gnu.org; Sun, 11 May 2008 15:19:27 -0400 Received: by fg-out-1718.google.com with SMTP id l26so2309498fgb.30 for ; Sun, 11 May 2008 12:19:26 -0700 (PDT) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode 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