emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org, Eric S Fraga <ucecesf@ucl.ac.uk>,
	Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: Re: icalendar: exporting times of day specified in heading?
Date: Mon, 01 Feb 2010 12:41:42 +0000	[thread overview]
Message-ID: <3952.1265028102@maps> (raw)
In-Reply-To: <D9D53943-F44C-46E5-B19D-3756FFD30C55@gmail.com>

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

  parent reply	other threads:[~2010-02-01 12:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16 14:38 icalendar: exporting times of day specified in heading? Stephen Eglen
2010-01-28 14:17 ` Carsten Dominik
2010-01-28 15:22   ` Stephen Eglen
2010-01-28 16:03     ` Eric S Fraga
2010-01-28 18:31     ` Carsten Dominik
2010-01-29 13:04       ` Eric S Fraga
2010-01-29 13:10       ` Stephen Eglen
2010-02-01 12:41       ` Stephen Eglen [this message]
2010-02-01 13:31         ` Carsten Dominik
2010-02-01 13:49           ` Eric S Fraga
2010-02-01 14:00           ` Stephen Eglen
2010-02-01 14:08             ` Stephen Eglen
2010-02-02 13:16 ` Stephen Eglen
2010-02-03 15:25   ` Carsten Dominik
2010-03-17 13:26   ` Matt Lundin
2010-03-17 13:40     ` Stephen Eglen
2010-03-17 15:28       ` Stephen Eglen
2010-03-17 15:55         ` Carsten Dominik
2010-03-17 18:51           ` Stephen Eglen
     [not found]             ` <0F399028-B7BE-4C90-AEA7-099AC05E9040@tsdye.com>
2010-03-17 20:15               ` Stephen Eglen
2010-03-18  2:17       ` Matthew Lundin
2010-03-18  5:37         ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3952.1265028102@maps \
    --to=s.j.eglen@damtp.cam.ac.uk \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ucecesf@ucl.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).