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 12:15:28 +0100 Message-ID: <20091105111528.GA29500@taupan.ath.cx> References: <20091030151334.GA6876@taupan.ath.cx> <5F5DB3D2-1637-4E14-9F80-B3199EDDF526@gmail.com> <20091102110618.GA16103@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 1N60JZ-0000Zq-0o for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 06:15:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N60JT-0000YO-BF for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 06:15:39 -0500 Received: from [199.232.76.173] (port=58104 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N60JT-0000YL-5A for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 06:15:35 -0500 Received: from dudelab.org ([212.12.33.202]:28762 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 1N60JS-0000Ra-PY for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 06:15:35 -0500 Received: from abrasax.taupan.ath.cx (p5DE8BF8F.dip.t-dialin.net [93.232.191.143]) (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 94148228148 for ; Thu, 5 Nov 2009 12:15:52 +0100 (CET) Content-Disposition: inline In-Reply-To: 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 mailing list Hi again! Meanwhile I've experimented a bit more with org-habit.el and I've grown to like it very much. 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) ---Zitatende--- 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. -- Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;)