From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: how to get all entries with filled fields in csv? Date: Thu, 31 May 2007 17:07:13 +0200 Message-ID: <8a573432a19b219307a011671c5ef969@science.uva.nl> References: <87odk117lu.fsf@kosolapov-nb.plesk.ru> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HtmFB-0003nR-DD for emacs-orgmode@gnu.org; Thu, 31 May 2007 11:07:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HtmF9-0003mU-Fm for emacs-orgmode@gnu.org; Thu, 31 May 2007 11:07:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtmF9-0003mR-9p for emacs-orgmode@gnu.org; Thu, 31 May 2007 11:07:15 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HtmF8-0001LR-R7 for emacs-orgmode@gnu.org; Thu, 31 May 2007 11:07:15 -0400 In-Reply-To: <87odk117lu.fsf@kosolapov-nb.plesk.ru> 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: Ruslan Kosolapov Cc: org-mode On May 31, 2007, at 14:49, Ruslan Kosolapov wrote: > > I want to get ALL entries from my org-file as csv (I want to parse it > and create some things like Gantt chart etc). > > > (org-batch-agenda-csv "a") give me: > IncOfPfW,WWW - certificates > 4h,upcoming-deadline,NEW,sveta,2007-6-26,,In 26 d.:,B,984 > > I.e. all fields filled well. > > But there are only agenda on current week, and there are no DONE > items. Anyway, I need very custom views, and week agenda can solve my > problem only if will contain all todo keywords (DONE too) and will be > created for custom date interval (now I need current year, > i.e. "2007-01-01 - 2008-01-01"). As far as I understand, now such > ability is absent. Yes, this is currently not possible and would also be very slow. Has been on my list for quire some time, but not yet. > (org-batch-agenda-csv "t") returns me all TODOs, but without deadline > (and without DONE items): > IncOfPfW,WWW - certificates 4h,todo,NEW,sveta,,,,B,1001 > > Is there any way to get deadlines (and schedule time too) in > custom-agenda-commands view? > > Or maybe there are other way to get all entries in parseable format? I guess for your application it may be easier to write a little perl or python program to do the parsing yourself - I think I can make it possible to get all the DONE entries as well, but I am not sure what the right course would be for the deadlines/scheduled. Maybe indeed allowing arbitrary agenda durations - but as I said this would be slow. - Carsten