emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: iCalendar export creates VTODO *and* VEVENT for TODO entries with timestamp [6.36trans (release_6.36.158.g1378)]
@ 2010-06-04  6:44 Tassilo Horn
  2010-06-04 11:28 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Tassilo Horn @ 2010-06-04  6:44 UTC (permalink / raw)
  To: emacs-orgmode


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

Hi all,

I really like the iCalendar export.  I'm using that to export all my
agenda files when I save them, and import the ics files in KOrganizer,
so that I also have a visual agenda.

But there's one thing which might be a bug.  I have this TODO entry:

*** TODO Einteilung für Nacht der Informatik machen
    <2010-06-08 Tue>

When I export the file containing that entry to iCalendar, what I get is
one VTODO with SUMMARY "Einteilung für Nacht der Informatik machen",
which has no due date.  Additionally, there's one VEVENT on 2010-06-08
with SUMMARY "TODO Einteilung für Nacht der Informatik machen".

If I set that date as DEADLINE, there's only one VTODO appearing on the
deadline date.  But for simple, short tasks that have to be done on a
given date, I prefer not to use DEADLINE, so that it doesn't show up on
previous days in the org agenda.

So IMHO, TODO entries should always become one VTODO each and no VEVENT,
and if there's no DEADLINE in org, then the normal date should be set as
DUE-date.

Bye,
Tassilo

Emacs  : GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.9)
 of 2010-06-03 on thinkpad
Package: Org-mode version 6.36trans (release_6.36.158.g1378)

current state:
==============
(setq
 org-log-done 'time
 org-remember-default-headline 'bottom
 org-archive-default-command 'org-archive-set-tag
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-link-frame-setup '((vm . vm-visit-folder) (gnus . org-gnus-no-new-news)
                        (file . find-file-other-window))
 org-special-ctrl-a/e 'reversed
 org-agenda-files '("/home/horn/repos/org")
 org-agenda-include-diary t
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-gnus-prefer-web-links t
 org-fontify-whole-heading-line t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-attach-directory "/home/horn/repos/org/attachments"
 org-special-ctrl-k t
 org-agenda-time-leading-zero t
 org-agenda-restore-windows-after-quit t
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-finalize-agenda-hook '(th-org-agenda-to-appt)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-todo-keywords '((sequence "TODO(t)" "STARTED(s)" "DELEGATED(g)" "IDEA(i)" "|" "DONE(d)"
                      "CANCELLED(c)")
                     )
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-export-latex-packages-alist '(("" "a4wide" nil))
 org-default-notes-file "/home/horn/repos/org/remember.org"
 org-directory "/home/horn/repos/org"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-mode-hook '(th-org-mode-init
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
                 )
 org-refile-targets '((org-agenda-files :maxlevel . 5))
 org-complete-tags-always-offer-all-agenda-tags t
 org-return-follows-link t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-refile-use-outline-path 'file
 org-log-into-drawer "LOGBOOK"
 org-icalendar-categories '(all-tags category)
 org-agenda-mode-hook '(th-org-agenda-mode-init)
 org-enforce-todo-dependencies t
 org-refile-allow-creating-parent-nodes 'confirm
 org-occur-hook '(org-first-headline-recenter)
 org-icalendar-include-body t
 org-agenda-skip-additional-timestamps-same-entry nil
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-modules '(org-attach org-protocol org-id org-bbdb org-bibtex org-docview org-gnus org-info
               org-jsinfo org-irc org-w3m)
 org-columns-default-format "%50ITEM %TODO %ALLTAGS %SCHEDULED %DEADLINE"
 outline-minor-mode-hook '(th-outline-minor-mode-init)
 org-remember-templates '(("NORMAL" 110
                           "* %?\n  :PROPERTIES:\n  :created: %U\n  :link: %a\n  :END:\n  %i")
                          ("TODO" 116
                           "* TODO %?\n  :PROPERTIES:\n  :created: %U\n  :link: %a\n  :END:\n  %i")
                          ("IDEA" 105
                           "* IDEA %?\n  :PROPERTIES:\n  :created: %U\n  :link: %a\n  :END:\n  %i")
                          ("BROWSER" 119
                           "* %:description :browser:\n  :PROPERTIES:\n  :created: %U\n  :link: %:link\n  :END:\n  %c\n\n  %i")
                          )
 org-icalendar-include-todo t
 org-remember-backup-directory "~/tmp/"
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
                               org-beamer-auto-fragile-frames
                               org-beamer-place-default-actions-for-lists)
 org-attach-method 'mv
 )

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: iCalendar export creates VTODO *and* VEVENT for TODO entries with timestamp [6.36trans (release_6.36.158.g1378)]
  2010-06-04  6:44 Bug: iCalendar export creates VTODO *and* VEVENT for TODO entries with timestamp [6.36trans (release_6.36.158.g1378)] Tassilo Horn
@ 2010-06-04 11:28 ` Carsten Dominik
  2010-06-04 12:10   ` Tassilo Horn
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2010-06-04 11:28 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: emacs-orgmode


On Jun 4, 2010, at 8:44 AM, Tassilo Horn wrote:

>
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?   
> See
>
>     http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> Hi all,
>
> I really like the iCalendar export.  I'm using that to export all my
> agenda files when I save them, and import the ics files in KOrganizer,
> so that I also have a visual agenda.
>
> But there's one thing which might be a bug.  I have this TODO entry:
>
> *** TODO Einteilung für Nacht der Informatik machen
>    <2010-06-08 Tue>

Hi Tassilo,  before looking deeper:  Why don't you schedule
the item for this day?

- Carsten

>
> When I export the file containing that entry to iCalendar, what I  
> get is
> one VTODO with SUMMARY "Einteilung für Nacht der Informatik machen",
> which has no due date.  Additionally, there's one VEVENT on 2010-06-08
> with SUMMARY "TODO Einteilung für Nacht der Informatik machen".
>
> If I set that date as DEADLINE, there's only one VTODO appearing on  
> the
> deadline date.  But for simple, short tasks that have to be done on a
> given date, I prefer not to use DEADLINE, so that it doesn't show up  
> on
> previous days in the org agenda.
>
> So IMHO, TODO entries should always become one VTODO each and no  
> VEVENT,
> and if there's no DEADLINE in org, then the normal date should be  
> set as
> DUE-date.
>
> Bye,
> Tassilo
>
> Emacs  : GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version  
> 2.18.9)
> of 2010-06-03 on thinkpad
> Package: Org-mode version 6.36trans (release_6.36.158.g1378)
>
> current state:
> ==============
> (setq
> org-log-done 'time
> org-remember-default-headline 'bottom
> org-archive-default-command 'org-archive-set-tag
> org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- 
> vars)
> org-link-frame-setup '((vm . vm-visit-folder) (gnus . org-gnus-no- 
> new-news)
>                        (file . find-file-other-window))
> org-special-ctrl-a/e 'reversed
> org-agenda-files '("/home/horn/repos/org")
> org-agenda-include-diary t
> org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
> org-gnus-prefer-web-links t
> org-fontify-whole-heading-line t
> org-after-todo-state-change-hook '(org-clock-out-if-current)
> org-attach-directory "/home/horn/repos/org/attachments"
> org-special-ctrl-k t
> org-agenda-time-leading-zero t
> org-agenda-restore-windows-after-quit t
> org-export-latex-format-toc-function 'org-export-latex-format-toc- 
> default
> org-export-preprocess-hook '(org-export-blocks-preprocess)
> org-tab-first-hook '(org-hide-block-toggle-maybe)
> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
> org-finalize-agenda-hook '(th-org-agenda-to-appt)
> org-confirm-shell-link-function 'yes-or-no-p
> org-export-first-hook '(org-beamer-initialize-open-trackers)
> org-todo-keywords '((sequence "TODO(t)" "STARTED(s)" "DELEGATED(g)"  
> "IDEA(i)" "|" "DONE(d)"
>                      "CANCELLED(c)")
>                     )
> org-agenda-before-write-hook '(org-agenda-add-entry-text)
> org-export-latex-packages-alist '(("" "a4wide" nil))
> org-default-notes-file "/home/horn/repos/org/remember.org"
> org-directory "/home/horn/repos/org"
> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- 
> drawers
>                  org-cycle-show-empty-lines org-optimize-window- 
> after-visibility-change)
> org-export-preprocess-before-normalizing-links-hook '(org-remove- 
> file-link-modifiers)
> org-mode-hook '(th-org-mode-init
>                 #[nil "\300\301\302\303\304$\207"
>                   [org-add-hook change-major-mode-hook org-show- 
> block-all append local] 5]
>                 )
> org-refile-targets '((org-agenda-files :maxlevel . 5))
> org-complete-tags-always-offer-all-agenda-tags t
> org-return-follows-link t
> org-confirm-elisp-link-function 'yes-or-no-p
> org-refile-use-outline-path 'file
> org-log-into-drawer "LOGBOOK"
> org-icalendar-categories '(all-tags category)
> org-agenda-mode-hook '(th-org-agenda-mode-init)
> org-enforce-todo-dependencies t
> org-refile-allow-creating-parent-nodes 'confirm
> org-occur-hook '(org-first-headline-recenter)
> org-icalendar-include-body t
> org-agenda-skip-additional-timestamps-same-entry nil
> org-export-preprocess-before-selecting-backend-code-hook '(org- 
> beamer-select-beamer-code)
> org-modules '(org-attach org-protocol org-id org-bbdb org-bibtex org- 
> docview org-gnus org-info
>               org-jsinfo org-irc org-w3m)
> org-columns-default-format "%50ITEM %TODO %ALLTAGS %SCHEDULED  
> %DEADLINE"
> outline-minor-mode-hook '(th-outline-minor-mode-init)
> org-remember-templates '(("NORMAL" 110
>                           "* %?\n  :PROPERTIES:\n  :created: %U 
> \n  :link: %a\n  :END:\n  %i")
>                          ("TODO" 116
>                           "* TODO %?\n  :PROPERTIES:\n  :created: %U 
> \n  :link: %a\n  :END:\n  %i")
>                          ("IDEA" 105
>                           "* IDEA %?\n  :PROPERTIES:\n  :created: %U 
> \n  :link: %a\n  :END:\n  %i")
>                          ("BROWSER" 119
>                           "* %:description :browser:\n  :PROPERTIES: 
> \n  :created: %U\n  :link: %:link\n  :END:\n  %c\n\n  %i")
>                          )
> org-icalendar-include-todo t
> org-remember-backup-directory "~/tmp/"
> org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix- 
> toc
>                               org-beamer-auto-fragile-frames
>                               org-beamer-place-default-actions-for- 
> lists)
> org-attach-method 'mv
> )
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: iCalendar export creates VTODO *and* VEVENT for TODO entries with timestamp [6.36trans (release_6.36.158.g1378)]
  2010-06-04 11:28 ` Carsten Dominik
@ 2010-06-04 12:10   ` Tassilo Horn
  2010-06-04 12:20     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Tassilo Horn @ 2010-06-04 12:10 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On Friday 04 June 2010 13:28:02 Carsten Dominik wrote:

Hi Carsten,

> > But there's one thing which might be a bug.  I have this TODO entry:
> >
> > *** TODO Einteilung für Nacht der Informatik machen
> >    <2010-06-08 Tue>
> 
> Hi Tassilo,  before looking deeper:  Why don't you schedule
> the item for this day?

Indeed, that would be more correct.  And after doing that, there're no
duplicate VEVENTs for TODOs.  Here's the VTODO I get:

--8<---------------cut here---------------start------------->8---
BEGIN:VTODO
UID: TODO-148d89b6-7212-4ffc-94c6-48e27dc2af98
DTSTART;VALUE=DATE:20100608
SUMMARY:Einteilung für Nacht der Informatik machen
DESCRIPTION: normal: http://www.[snip]...
CATEGORIES:agebert,uni
SEQUENCE:1
PRIORITY:5
STATUS:NEEDS-ACTION
END:VTODO
--8<---------------cut here---------------end--------------->8---

The scheduled date is set as start time (DTSTART), which is correct as
far as I can tell.  The only problem is that KOrganizer doesn't show it
in its agenda.

It seems org behaves correctly, and there's only an issue with
KOrganizer.  So I'll knock on their doors. ;-)

Bye,
Tassilo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: iCalendar export creates VTODO *and* VEVENT for TODO entries with timestamp [6.36trans (release_6.36.158.g1378)]
  2010-06-04 12:10   ` Tassilo Horn
@ 2010-06-04 12:20     ` Carsten Dominik
  2010-06-04 12:29       ` Tassilo Horn
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2010-06-04 12:20 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: emacs-orgmode


On Jun 4, 2010, at 2:10 PM, Tassilo Horn wrote:

> On Friday 04 June 2010 13:28:02 Carsten Dominik wrote:
>
> Hi Carsten,
>
>>> But there's one thing which might be a bug.  I have this TODO entry:
>>>
>>> *** TODO Einteilung für Nacht der Informatik machen
>>>   <2010-06-08 Tue>
>>
>> Hi Tassilo,  before looking deeper:  Why don't you schedule
>> the item for this day?
>
> Indeed, that would be more correct.  And after doing that, there're no
> duplicate VEVENTs for TODOs.  Here's the VTODO I get:
>
> --8<---------------cut here---------------start------------->8---
> BEGIN:VTODO
> UID: TODO-148d89b6-7212-4ffc-94c6-48e27dc2af98
> DTSTART;VALUE=DATE:20100608
> SUMMARY:Einteilung für Nacht der Informatik machen
> DESCRIPTION: normal: http://www.[snip]...
> CATEGORIES:agebert,uni
> SEQUENCE:1
> PRIORITY:5
> STATUS:NEEDS-ACTION
> END:VTODO
> --8<---------------cut here---------------end--------------->8---
>
> The scheduled date is set as start time (DTSTART), which is correct as
> far as I can tell.  The only problem is that KOrganizer doesn't show  
> it
> in its agenda.
>
> It seems org behaves correctly, and there's only an issue with
> KOrganizer.  So I'll knock on their doors. ;-)

Great.

Another option would be of course a deadline with 0 warning days in  
there.  This would show up as a due date.

The start date is, I think, meant to make sure that the item will show  
up on that date in the TODO list.  But I have heard that not all  
organizers do support it.

OK, I consider this closed, unless you tell me otherwise.

- Carsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: iCalendar export creates VTODO *and* VEVENT for TODO entries with timestamp [6.36trans (release_6.36.158.g1378)]
  2010-06-04 12:20     ` Carsten Dominik
@ 2010-06-04 12:29       ` Tassilo Horn
  0 siblings, 0 replies; 5+ messages in thread
From: Tassilo Horn @ 2010-06-04 12:29 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


> > It seems org behaves correctly, and there's only an issue with
> > KOrganizer.  So I'll knock on their doors. ;-)
> 
> Great.

Haha, that sounds kinda maliciously. ;-)

> Another option would be of course a deadline with 0 warning days in
> there.  This would show up as a due date.

Yes, but org is the center of my planning game, and I refrain from
taking any extra burden just to make third-party apps happy.

After thinking about it, I concluded that I don't need any todos in the
KOrganizer views anyway, so now I only export events.

> OK, I consider this closed, unless you tell me otherwise.

Nope, it's dead and forgotten.  We'll never to touch that topic
anymore. :-)

Bye,
Tassilo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-04 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-04  6:44 Bug: iCalendar export creates VTODO *and* VEVENT for TODO entries with timestamp [6.36trans (release_6.36.158.g1378)] Tassilo Horn
2010-06-04 11:28 ` Carsten Dominik
2010-06-04 12:10   ` Tassilo Horn
2010-06-04 12:20     ` Carsten Dominik
2010-06-04 12:29       ` Tassilo Horn

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).