From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: icalendar: exporting times of day specified in heading? Date: Mon, 1 Feb 2010 14:31:02 +0100 Message-ID: <4EE58547-CB7B-431F-B1D1-0CF5EB6CCAEB@gmail.com> 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> <3952.1265028102@maps> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbwMy-0001Tb-H0 for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 08:31:12 -0500 Received: from [199.232.76.173] (port=52986 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbwMx-0001Sp-LN for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 08:31:11 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbwMu-0002HJ-El for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 08:31:11 -0500 Received: from mail-ww0-f41.google.com ([74.125.82.41]:61173) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbwMu-0002HF-3b for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 08:31:08 -0500 Received: by wwb29 with SMTP id 29so355093wwb.0 for ; Mon, 01 Feb 2010 05:31:06 -0800 (PST) In-Reply-To: <3952.1265028102@maps> 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: Stephen Eglen Cc: Eric S Fraga , emacs-orgmode@gnu.org Hi Stephen, Eric, this bug should be fixed now. Thanks! - Carsten On Feb 1, 2010, at 1:41 PM, Stephen Eglen wrote: > 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)" - Carsten