From mboxrd@z Thu Jan 1 00:00:00 1970 From: Friedrich Delgado Friedrichs Subject: Re: Feature request about habit tracking [was: RELEASE: Org-mode version 6.32] Date: Thu, 5 Nov 2009 13:21:18 +0100 Message-ID: <20091105122118.GA323@taupan.ath.cx> References: <20091030151334.GA6876@taupan.ath.cx> <5F5DB3D2-1637-4E14-9F80-B3199EDDF526@gmail.com> <20091102110618.GA16103@taupan.ath.cx> <20091105111528.GA29500@taupan.ath.cx> Reply-To: friedel@nomaden.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N61LF-00013c-9J for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 07:21:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N61L9-000129-7z for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 07:21:27 -0500 Received: from [199.232.76.173] (port=35766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N61L7-00011i-Id for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 07:21:22 -0500 Received: from dudelab.org ([212.12.33.202]:18032 helo=mail.dudelab.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N61L7-0001lt-6H for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 07:21:21 -0500 Received: from abrasax.taupan.ath.cx (p5DE8BCC5.dip.t-dialin.net [93.232.188.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Friedrich Delgado Friedrichs", Issuer "User CA" (verified OK)) by mail.dudelab.org (Postfix) with ESMTP id 11461228148 for ; Thu, 5 Nov 2009 13:21:43 +0100 (CET) Content-Disposition: inline In-Reply-To: <20091105111528.GA29500@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: emacs-orgmode@gnu.org 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 ;)