From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Feature request about habit tracking [was: RELEASE: Org-mode version 6.32] Date: Thu, 5 Nov 2009 13:33:18 +0100 Message-ID: References: <20091030151334.GA6876@taupan.ath.cx> <5F5DB3D2-1637-4E14-9F80-B3199EDDF526@gmail.com> <20091102110618.GA16103@taupan.ath.cx> <20091105111528.GA29500@taupan.ath.cx> <20091105122118.GA323@taupan.ath.cx> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N61Wr-000647-0N for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 07:33:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N61Wl-00063H-CP for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 07:33:27 -0500 Received: from [199.232.76.173] (port=37279 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N61Wl-00063E-7D for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 07:33:23 -0500 Received: from mail-ew0-f228.google.com ([209.85.219.228]:34253) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N61Wk-0003iI-Ss for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 07:33:23 -0500 Received: by ewy28 with SMTP id 28so1077692ewy.42 for ; Thu, 05 Nov 2009 04:33:21 -0800 (PST) In-Reply-To: <20091105122118.GA323@taupan.ath.cx> 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: friedel@nomaden.org Cc: emacs-orgmode@gnu.org You mean the file is empty only if you set orv-icalendar-verify- function???? - Carsten On Nov 5, 2009, at 1:21 PM, Friedrich Delgado Friedrichs wrote: > Sorry! > > I think I left out just about every bit of relevant information > here... > > I'm using 1029daee030975f086be1d7470533b584b262829, and the problem is > that I get an empty org.ics file after > org-export-icalendar-combine-agenda-files. > > (It looks to me like org-print-icalendar-entries has faulty logic, but > that is pure conjecture.) > > If you need more information, or example files, please let me know. > >> Now I've tried to filter the habits out of my icalendar export, as >> suggested by Carsten: >> Carsten Dominik schrieb: >>> A solution for you could be to just use the scheduling stuff anyway, >>> and then use a filter function to make sure these entries do not >>> show up >>> in the iCalendar export (untested): >>> >>> (defun my-icalendar-verify () >>> (if (string= (org-entry-get nil "STYLE") "habit") nil t)) >>> >>> (setq org-icalendar-verify-function 'my-icalendar-verify) >> >> Unfortunately I can't make this work. I've stepped the >> my-icalendar-verify function with edebug and it is simple enough and >> returns nil for habits, and t for non-habits. And I can't spot an >> error in org-print-icalendar-entries, but I can't say I understand >> it. > ---Zitatende--- > > -- > Friedrich Delgado Friedrichs > TauPan on Ircnet and Freenode ;) > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten