emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request about habit tracking [was: [Orgmode] RELEASE: Org-mo


From: Friedrich Delgado Friedrichs
Subject: Re: Feature request about habit tracking [was: [Orgmode] RELEASE: Org-mode version 6.32]
Date: Thu, 5 Nov 2009 12:15:28 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

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 <address@hidden>
                             TauPan on Ircnet and Freenode ;)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]