emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Cooke Karen <karen.cooke@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ical export
Date: Mon, 23 Jun 2008 09:11:24 +0200	[thread overview]
Message-ID: <D90159D6-64F2-4DE2-A4BA-42A199B93907@uva.nl> (raw)
In-Reply-To: <F4FD3CF1-DD11-4FA2-8250-6327531CCC94@gmail.com>


On Jun 22, 2008, at 8:38 PM, Cooke Karen wrote:

> Hi,
>
> I'm interested in using the ical export functionality to get todos  
> and appointments onto my new mobile phone.  Todos are appearing in  
> the todo list as I've set org-icalendar-include-todo, however I'd  
> like for the todo's with a deadline associated with them to have the  
> due date set (eg DUE;VALUE=DATE:20080623) and not appear as an  
> appointment as they do at the moment.     I've worked out the  
> function where all this happens is org-print-icalendar-entries but  
> my lisp skills are none existent so any pointers or assistance would  
> be greatly appreciated.
>
> Regards
>
> Karen

Hi Karen,

I think you are completely right that the export implementation of  
deadlines does now
not do the right thing for TODO entries.  I think that for entries  
that are not a TODO,
exporting a deadline as an event makes actually sense.  Not so for  
TODO entries.

I have just pushed a new version to the GIT repo that does the  
following.  Thanks for
sharing your thoughts.

HTH

- Carsten

------------------------8 
 ><---------------------------------8><------------------

Changes in iCalendar export
---------------------------
     Deadline and scheduling time stamps are now treated
     differently in iCalendar export.  The default behavior is now
     the following:

     - a DEADLINE that appears in an entry that is a TODO item is
       used as the item's DUE date.  Therefore, such a deadline
       will no longer show up in the calendar.

     - a DEADLINE that appears in an item that is *not* a TODO
       item is exported as an EVENT and will show up in the
       calendar.

     - a SCHEDULED timestamp in a TODO item will be used as the
       items DTSTART.  Therefore, such a timestamp will not show
       up in the calendar.

     - a SCHEDULED timestamp in an item that is not a TODO has no
       effect on iCalendar export at all.  It will be ignored.

     Of course this would not be Emacs if you could not configure
     exactly what you want.  Take a look at the variables
     `org-icalendar-use-deadlines' and
     `org-icalendar-use-deadlines' if you want to go back to the
     old behavior or even do something completely different.

  reply	other threads:[~2008-06-23  7:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-22 18:38 ical export Cooke Karen
2008-06-23  7:11 ` Carsten Dominik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-25 20:00 Richard Riley
2009-04-25 20:42 ` Samuel Wales
2009-04-25 21:17   ` Richard Riley
2009-04-25 21:18     ` Samuel Wales
2009-04-25 23:16       ` Richard Riley

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=D90159D6-64F2-4DE2-A4BA-42A199B93907@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=karen.cooke@gmail.com \
    /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).