emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Friedrich Delgado Friedrichs <friedel@nomaden.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Feature request about habit tracking [was: RELEASE: Org-mode version 6.32]
Date: Thu, 5 Nov 2009 12:15:28 +0100	[thread overview]
Message-ID: <20091105111528.GA29500@taupan.ath.cx> (raw)
In-Reply-To: <C6F6F912-9EC3-4DFF-80B2-F75884AD46C9@gmail.com>

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 <friedel@nomaden.org>
                             TauPan on Ircnet and Freenode ;)

  parent reply	other threads:[~2009-11-05 11:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26  8:03 RELEASE: Org-mode version 6.32 Carsten Dominik
2009-10-30 15:13 ` Feature request about habit tracking [was: RELEASE: Org-mode version 6.32] Friedrich Delgado Friedrichs
2009-11-02 10:19   ` Carsten Dominik
2009-11-02 11:06     ` Friedrich Delgado Friedrichs
2009-11-02 12:36       ` Carsten Dominik
2009-11-02 12:53         ` Friedrich Delgado Friedrichs
2009-11-02 13:58           ` Feature request about habit tracking Matt Lundin
2009-11-02 15:11             ` Friedrich Delgado Friedrichs
2009-11-05 11:15         ` Friedrich Delgado Friedrichs [this message]
2009-11-05 12:21           ` Feature request about habit tracking [was: RELEASE: Org-mode version 6.32] Friedrich Delgado Friedrichs
2009-11-05 12:33             ` Carsten Dominik
2009-11-05 22:06               ` Friedrich Delgado Friedrichs
2009-11-05 22:48                 ` Carsten Dominik
2009-11-06 11:06                   ` Friedrich Delgado Friedrichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091105111528.GA29500@taupan.ath.cx \
    --to=friedel@nomaden.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).