bug#4066: 23.1.50; org includes calendar entries on the wrong day

Carsten Dominik <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Hi Leo,

I don't know what is causing this, but it has to do with the
appt-make-list call.  That seems to leave behind some garbage that Org  
finds.  I have not been able to figure out what exactly is causing this.

- Carsten

On Aug 6, 2009, at 2:11 PM, Leo wrote:

> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
>
> This only happens for the first time running org-agenda in a fresh  
> emacs
> session.
>
> Settings to reproduce the bug with Emacs -q:
>
> (define-key mode-specific-map [?a] 'org-agenda)
> (define-key mode-specific-map [?l] 'org-store-link)
> (setq org-agenda-include-diary t)
>
> (setq calendar-date-style 'european)
> (setq diary-number-of-entries 7)
> (add-hook 'diary-hook 'appt-make-list)
>
> Add an entry to the diary file such as:
>
>    8 Aug 2009 Test2
>
> --------------------------------
> Week-agenda (W32):
> Monday      3 August 2009 W32
>  Diary:      Test2
>  Diary:
>  Diary:      Thursday, 6 August 2009
>  Diary:      =======================
> Tuesday     4 August 2009
> Wednesday   5 August 2009
> Thursday    6 August 2009
> Friday      7 August 2009
> Saturday    8 August 2009
>  Diary:      Test2
> Sunday      9 August 2009
> --------------------------------
>
> Running org-agend a second time does not have this problem. This also
> happens in org 6.21b.

=======================
PLEASE NOTE NEW ADDRESS
=======================
prof.dr. Carsten Dominik				[email protected]
Astronomical Institute 'Anton Pannekoek' 	 	www.astro.uva.nl/~dominik
Faculty of Science, University of Amsterdam		phone 	+31-20-5257477/7491
SCIENCE PARK 904, ROOM C4-106			fax   	+31-20-5257484
1098 XH Amsterdam, The Netherlands
mail: PO BOX 94249, 1090GE, Amsterdam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.