[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] icalendar: exporting times of day specified in heading?
From: |
Stephen Eglen |
Subject: |
Re: [Orgmode] icalendar: exporting times of day specified in heading? |
Date: |
Mon, 01 Feb 2010 12:41:42 +0000 |
Here is a shorter example of the bug of adding new items to
org-agenda-diary-file using 'i d' from the *Org Agenda* buffer.
(setq org-agenda-diary-file "~/txt/org/a.org")
Start with an small agenda.org file (a.org) containing
----------------------------------------------------------------------
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
**** test 1
<2010-03-02 Tue>
*** 2010-03-06 Saturday
**** test 2
<2010-03-06 Sat>
----------------------------------------------------------------------
(those entries were put in using 'i d' fine).
Go into a.org and show only the top-level heading is shown, i.e.
* 2010...
Everything else is hidden. Now go back to the agenda and e.g. on the
3rd March add a diary entry 'i d test 3'. What I then see in a.org is:
----------------------------------------------------------------------
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
**** test 1
<2010-03-02 Tue>
*** 2010-03-03 Wednesday
** test 3
<2010-03-03 Wed>
*** 2010-03-06 Saturday
**** test 2
<2010-03-06 Sat>
----------------------------------------------------------------------
test 3 is incorrectly given a level 2 heading, and there are two lines
of whitespace before the level-3 date heading.
If however the whole date tree is visible before doing the 'i d'
command, I get the correct output:
----------------------------------------------------------------------
* 2010
** 2010-03 March
*** 2010-03-02 Tuesday
**** test 1
<2010-03-02 Tue>
*** 2010-03-03 Wednesday
**** test 3
<2010-03-03 Wed>
*** 2010-03-06 Saturday
**** test 2
<2010-03-06 Sat>
----------------------------------------------------------------------
(emacs-version)
"GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
of 2009-08-05 on maps"
(org-version)
"Org-mode version 6.34trans (release_6.34c.25.g3693.dirty)"
- Re: [Orgmode] icalendar: exporting times of day specified in heading?,
Stephen Eglen <=