emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: friedel@nomaden.org
Cc: emacs-orgmode@gnu.org
Subject: Re: Feature request about habit tracking [was: RELEASE: Org-mode version 6.32]
Date: Thu, 5 Nov 2009 13:33:18 +0100	[thread overview]
Message-ID: <C3D2D2D9-26E8-4D51-8D02-D6245EA0B0FB@gmail.com> (raw)
In-Reply-To: <20091105122118.GA323@taupan.ath.cx>

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 <friedel@nomaden.org>
>                             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

  reply	other threads:[~2009-11-05 12:33 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         ` Feature request about habit tracking [was: RELEASE: Org-mode version 6.32] Friedrich Delgado Friedrichs
2009-11-05 12:21           ` Friedrich Delgado Friedrichs
2009-11-05 12:33             ` Carsten Dominik [this message]
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=C3D2D2D9-26E8-4D51-8D02-D6245EA0B0FB@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=friedel@nomaden.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).