[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-03-18 Thread Carsten Dominik
Applied, thanks. - Carsten On Mar 18, 2010, at 3:17 AM, Matthew Lundin wrote: Hi Stephen, Stephen Eglen s.j.eg...@damtp.cam.ac.uk writes: When I enter the time of day after typing i d, the time of day is added to the timestamp (as above) but is *not* removed the headline. E.g., Day entry:

[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-03-17 Thread Matt Lundin
Hi Stephen, Sorry for the late reply, but I've just begun using i d to enter dates into my org files and I have a few comments on the patch you submitted in February. Stephen Eglen s.j.eg...@damtp.cam.ac.uk writes: I often use org-agenda-diary-entry to make simple entries into an agenda.org

[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-03-17 Thread Stephen Eglen
hi Matt, When I enter the time of day after typing i d, the time of day is added to the timestamp (as above) but is *not* removed the headline. E.g., Day entry: 9:00am go shopping [RET] ...results in the following headline... * 9:00am go shopping 2010-03-17 Wed 09:00 that's odd;

[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-03-17 Thread Stephen Eglen
Ok, here is a patch that introduces a new variable so that the code to extract times from diary entries entered using 'i d' is off by default. 2010-03-17 Stephen Eglen step...@gnu.org * org-agenda.el (org-agenda-insert-diary-extract-time): New variable.

[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-03-17 Thread Carsten Dominik
Applied, thanks. Stephen, woudl you ming changing your diff format to diff -u ? Somehow I have problems to apply your patches (already earlier...) Thanks - Carsten On Mar 17, 2010, at 4:28 PM, Stephen Eglen wrote: Ok, here is a patch that introduces a new variable so that the code to

[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-03-17 Thread Stephen Eglen
Carsten Dominik carsten.domi...@gmail.com wrote: Applied, thanks. Stephen, woudl you ming changing your diff format to diff -u ? Somehow I have problems to apply your patches (already earlier...) Thanks for applying it. Sure, re: diffs -- actually, all I do is M-x ediff-revision on a

Re: [Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-03-17 Thread Stephen Eglen
thanks -- this works great: git diff org-agenda.el for comparing my version against last check in. Stephen ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org

[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-03-17 Thread Matthew Lundin
Hi Stephen, Stephen Eglen s.j.eg...@damtp.cam.ac.uk writes: When I enter the time of day after typing i d, the time of day is added to the timestamp (as above) but is *not* removed the headline. E.g., Day entry: 9:00am go shopping [RET] ...results in the following headline... *

Re: [Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-02-03 Thread Carsten Dominik
Hi Stephen, this is an interesting patch. I am a bit uneasy because it changes the entered text and that may work better in some cases than in others. However, as the resulting agenda entry is the same, I have applied the patch. We'll see how it goes - maybe we do need to add another variable

[Orgmode] Re: icalendar: exporting times of day specified in heading?

2010-02-02 Thread Stephen Eglen
I often use org-agenda-diary-entry to make simple entries into an agenda.org file. I see that the agenda is clever enough to recognise if a time range has been typed into the heading. However, this time range is not exported by the icalendar code. Attached is a patch to the code