GNU bug report logs - #7377
23.2; Diary entries displayed twice

Previous Next

Package: emacs;

Reported by: Frank Lovelace <frank.lovelace <at> gmail.com>

Date: Thu, 11 Nov 2010 18:03:02 UTC

Severity: normal

Found in version 23.2

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 7377-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 7377-done <at> debbugs.gnu.org
Subject: Re: bug#7377: 23.2; Diary entries displayed twice
Date: Thu, 11 Nov 2010 14:48:03 -0500
Version: 23.3

Frank Lovelace wrote:

> Then from within calendar with point on 11th of any month press d to
> display dairy, "pay bills" is written twice.

It is because in the default value of diary-iso-date-forms, both these
elements match your entry:

(year "[-/]" month "[-/]" day "[^0-9]")
(year "-" monthname "-" day "[^0-9]")

This is a no-no, the elements are supposed to be mutually exclusive.

For 23.3, I will change the default diary-iso-date-forms to:

 '((month "[-/]" day "[^-/0-9]")
    (year "[-/]" month "[-/]" day "[^0-9]")
    (monthname " *" day "[^-0-9]")
    (year " *" monthname " *" day "[^0-9]")
    (dayname "\\W"))

You can manually set `diary-date-forms' to that in 23.2.




This bug report was last modified 14 years and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.