From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How-to access org-mode data Date: Sat, 26 Feb 2011 10:30:40 +0100 Message-ID: <87hbbqg41s.fsf@altern.org> References: <4D63AEA7.4050207@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=51006 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtMte-0004sW-9h for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 11:21:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtMtZ-0007IS-E1 for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 11:21:30 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:46629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtMtZ-0007Hy-7l for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 11:21:25 -0500 Received: by mail-fx0-f41.google.com with SMTP id 5so3080472fxm.0 for ; Sat, 26 Feb 2011 08:21:24 -0800 (PST) In-Reply-To: <4D63AEA7.4050207@gmail.com> (Torsten Wagner's message of "Tue, 22 Feb 2011 21:40:07 +0900") 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: Torsten Wagner Cc: emacs-orgmode@gnu.org Hi Torsten, Torsten Wagner writes: > I try to extract certain information which are processed by org-mode. > As an example the compiled agenda-list. Basically, I want to have certain > parts of the agenda in a variable (or an array) instead of a buffer. The easiest way might be to recreate this data with org-map-entries instead of trying to get them from the agenda itself. > I could run e.g., > (org-agenda list nil nil 1) > however, this always end up in a buffer, which I could start parsing and > closing afterwards, but maybe there is a more smart way? A clean rewriting of the agenda would put every agenda information in a list, then display this info in a buffer. This way you could well fetch information directly in the list, not in the buffer. That would be a nice improvement indeed -- don't expect this to happen soon thought. Best, -- Bastien