From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: Re: icalendar: exporting times of day specified in heading? Date: Mon, 01 Feb 2010 12:41:42 +0000 Message-ID: <3952.1265028102@maps> References: <15490.1263652716@cpc1-cmbg14-2-0-cust6.5-4.cable.virginmedia.com> <8420.1264692161@cpc1-cmbg14-2-0-cust6.5-4.cable.virginmedia.com> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbvbG-0002bj-9G for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 07:41:54 -0500 Received: from [199.232.76.173] (port=45369 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbvbF-0002bZ-SE for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 07:41:53 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nbvb8-0004ns-5N for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 07:41:53 -0500 Received: from ppsw-6.csi.cam.ac.uk ([131.111.8.136]:53631) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nbvb7-0004nU-Jb for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 07:41:45 -0500 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org, Eric S Fraga , Stephen Eglen 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)"