GNU bug report logs - #53702
27.1; diary does not display some entries in european style

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Francesco Potortì <pot@HIDDEN>; Keywords: patch; dated Tue, 1 Feb 2022 16:23:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) patch. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 53702 <at> debbugs.gnu.org:


Received: (at 53702) by debbugs.gnu.org; 2 Feb 2022 03:41:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 01 22:41:35 2022
Received: from localhost ([127.0.0.1]:51092 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nF6WV-0000BK-5e
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 22:41:35 -0500
Received: from mout.web.de ([212.227.17.12]:52451)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nF6WT-0000B0-In
 for 53702 <at> debbugs.gnu.org; Tue, 01 Feb 2022 22:41:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643773287;
 bh=LiJeYU5uQwgckDjjF6yGWVmbE38JJIsOk6cpNYIA5GE=;
 h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To;
 b=WOZzvyp2yGeVK88mkfhvlQ+E7Z6GRdFHBP0fQN9+BgIQi1Vq+xZZ6EQ4wb9FPAdnR
 kHlQjpmqj5OZoLstAbEDbsKP7oI9roofzLmVAo+qH5izFvr41/CPvo+PzK4jjDaWDK
 nOqGQVwaFD5p9lZapBesILhPnJnzohhOKPAyjopA=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb105
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N0Igv-1mL3Yn427z-00x3V0; Wed, 02
 Feb 2022 04:41:27 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: 53702 <at> debbugs.gnu.org
Subject: Re: bug#53702: 27.1; diary does not display some entries in
 european style
References: <87o83q8sm5.fsf@HIDDEN> <87tudi14g7.fsf@HIDDEN>
Date: Wed, 02 Feb 2022 04:41:25 +0100
In-Reply-To: <87tudi14g7.fsf@HIDDEN> (Michael Heerdegen's message of "Wed, 02
 Feb 2022 01:39:22 +0100")
Message-ID: <87czk6540q.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Provags-ID: V03:K1:cFPLfzKpkZ26EGGpcX0wuDarBdL5hNG6xZQytATYwlLQX4nrj9h
 T3iHXgP5Tjpdeurn46labnPdPD8tBMbaW2xNmr/GihFec772t429g5Rw5NPBGpWjFdIg3RU
 NgApQj4SqM7Keankj/LNVgQvSgdUDtC+mUGaelGleLvv+m9/AifQvrmhol18g+/Cv7KxYsn
 lLn1EoGB+UxGbxLK/zWCw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:vBS1PGWRaxE=:PoQIs9GEusGmfL+wswnhZK
 cgPH+VY/8JLIYVaMuHvPE0iK2Jk4nkvwL6inb9qZFMf7Z8sIlcntcDCe6Fmf58NoO2/aAAlnB
 ZYEOugw/SHgNobatzB0vbWHKWUIZNLzd6Fylcjpxw5PIBWmT0b32p3dLM8tb87dmEI5QMA9nL
 jG2AH8/8WayUSU/kcRQRi3sZfliBvdfGPvVcynzsidTX0fw8duclyszD6AcSdQdDqMK7pKWi7
 r3e/aNtLWDGG0jjRpXbzWaijSIGzzWOvlt4JyepDlAvvTxKUjGO9FCmGEokezqrzLVxZR/Gjv
 fRGS1lkm6vw60bBh32mt+gIN5Gv+qjd6XH/Ao5qs+ESJtEf6vaAT1ayf26kxaXWoS0RnivroR
 geeCBOe9f5860ndrI0Q4CABD0Tm1Bx+t5tQOtFnkVLtcHmy7T3dD9wrJXsI97tevRUJlvV4+E
 xscLJgJCsMwa6IWPQAHnY5qKFCtOed12GM7on2JDfbwL7VubOv9SQJBE5uFwQ9IhJ8cOk+6zg
 48LIqOmOcPM/qiQdylqTT3kuIsDqBl9yGQJcR3+3ULqs5Js2I1U0Vq4CeViy/FZEErVfI7xpd
 82b1l9hlb9LRx9alNRIrRk1jCPuNKFajzV8d7U/aZwg6SqTY/bcQFrhA3R32JhVCb7kyIs6nK
 4EgybSF1EwRh47QtUJETes6sYspuD8IwAih9f9nMgk/05DCtAoXdc48Qoe6rLaO90+Uq4GVqN
 gRkRGB1vwm1URRmHzx2As14Hqu1+GZLwHrER1rwJFE3BwrzQ2IVDojSIpFPJCukp0+Xs03C67
 +rtbqlnT7t9WVoDssAO4YG3sMQfLVZdxu3+H3OsXkGdFHtyobnapr3Cm65eTmQdZkhMlVBEx+
 5qIDM1FdkPH68myQibD4bNEuY9F21s+GsXpRM7PvVo6gDUm1O/dnPk/lMTNaRYxggb8GyQnT9
 gW0et6qXDZXRRUKSsDGqcrW3O8BWyjuD1ZimVjVq+v7ZWvwxr7Gyyt8br3JJiL8h5q1Kj0+99
 LwYQeTm/qOLV3m/5ycWwhlboPdiK0P5cMturuJ2nRHLYRdTRWa7YqyzdXHjVpw9fzZmodwa8p
 XQ6TbiESFsRISo=
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53702
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

Hello again,

sorry for the duplicated last message - my first message had bounced,
but apparently only from the poster's address.

Ok - small addition: the dot should be added in the subsequent line as
well:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=0001-WIP-Try-to-fix-53702.patch
Content-Transfer-Encoding: quoted-printable

=46rom 5346b90b9884b9190cfe77310f2444ed35d182eb Mon Sep 17 00:00:00 2001
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Date: Wed, 2 Feb 2022 01:08:43 +0100
Subject: [PATCH] WIP: Try to fix #53702

=2D--
 lisp/calendar/calendar.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 48d308afad..0605e4bf51 100644
=2D-- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -800,8 +800,8 @@ diary-american-date-forms
 (defcustom diary-european-date-forms
   '((day "/" month "[^/0-9]")
     (day "/" month "/" year "[^0-9]")
-    (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\=
)")
-    (day " *" monthname " *" year "[^0-9:aApP]")
+    (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:.aApP]\\)\=
\)")
+    (day " *" monthname " *" year "[^0-9:.aApP]")
     (dayname "\\W"))
   "List of pseudo-patterns describing the European style of dates.
 The defaults are: DAY/MONTH; DAY/MONTH/YEAR; DAY MONTHNAME;
=2D-
2.30.2


--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable



I'm now a bit worried about this paragraph in
(info "(emacs) Appointments"):

|    You can write times in am/pm style (with =E2=80=9812:00am=E2=80=99 sta=
nding for
| midnight and =E2=80=9812:00pm=E2=80=99 standing for noon), or 24-hour Eur=
opean/military
| style.  You need not be consistent; your diary file can have a mixture
| of the two styles.  Times must be at the beginning of diary entries if
| they are to be recognized.

Military style is 1200 for 12:00am, right?  This definitely can't be
used everywhere when using the European style because lines get
ambiguous: for digits could mean a year - or a military time in a line
not specifying a year.  Should that paragraph be corrected?

Michael.

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53702; Package emacs. Full text available.

Message received at 53702 <at> debbugs.gnu.org:


Received: (at 53702) by debbugs.gnu.org; 2 Feb 2022 00:45:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 01 19:45:52 2022
Received: from localhost ([127.0.0.1]:50955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nF3mS-0003u9-6U
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 19:45:52 -0500
Received: from mout.web.de ([212.227.17.12]:52679)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nF3mQ-0003tw-Oh
 for 53702 <at> debbugs.gnu.org; Tue, 01 Feb 2022 19:45:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643762744;
 bh=XdsNAsEo4KeWQwhqEUMFZqcMJ3S/mzCYvYP7NDAP7U4=;
 h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:Date:References:
 X-UI-Sender-Class;
 b=IvdspuAH1dCSEX8ti1RLxB5TiZHyx86no8kOvalWTAcCNsPus0lEqxLZncgF4J7e6
 T+877T3CoF/9JUKgLRVGDi2zaxUZz5A6kwwOi5X5DmkPZ/eIk7fAO73s1E5Pg71qb3
 MUBeF8Regk/uIV72Oe6BINUNTP8b5938ieVoE9o8=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N5UkC-1m9EjC37rW-016zrD for
 <53702 <at> debbugs.gnu.org>; Wed, 02 Feb 2022 01:45:44 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: 53702 <at> debbugs.gnu.org
Subject: Re: bug#53702: 27.1; diary does not display some entries in
 european style
In-Reply-To: <87o83q8sm5.fsf@HIDDEN>
Date: Wed, 02 Feb 2022 01:39:22 +0100
References: <87o83q8sm5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
Authentication-Results: mqweb114.server.lan; dkim=pass header.i=@web.de
Received: from mout.web.de ([212.227.17.12]) by mx-ha.web.de (mxweb110
 [212.227.17.8]) with ESMTPS (Nemesis) id 1MEWFU-1n0EUQ0fda-00FzNb for
 <michael_heerdegen@HIDDEN>; Wed, 02 Feb 2022 01:39:24 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643762363;
 bh=nzI0jcBlbDxmU6C3j6UjxyElLgSw0CM8eoqQldGD5as=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=bKypjROlT9zpnEtQl9tUMxlJYnotlY8zxGjn2Lv6FwpPrdwcuM0IHnaJ/hA6BaoFq
 J8w7/hZkWYrMJtKesymht8hewrtmXCJWV/MWhOfbSlXNdPpy4o1TsEW8YAazjRrP9I
 a/t0tjMmqbyH8MPJzFuGr/GPmiUrXONA/8x5oI84=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb106
 [213.165.67.124]) with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La0fJFg9P8=
Message-ID: <87tudi14g7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Provags-ID: V03:K1:NHw6Hk4XHxrUhRBk7QJn34+ZezDlmV7W573Gx7xHV7UiaJUEWhA
 PEO7KcdBFdKAGGjcLYkCV3j74FqXTevWDTUFFj6auUC8cBJCM3ncFhVP1mJFLMRm+XuSztK
 kVkHtZx4XvF7DVxqdJ69ISh30DD6dj9wn/5a19spcqICpT9GeswsKCuPXNPTqNOAoSXHYvN
 z5PdU51UIcuWt/y4OozxA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:48Xz97XEBYY=:RM9f4c428BwQdJsBpTfNXa
 TQZ3BXoX+NBAeThEQL0JmtpUBc4oAlPL+lY/B4lZCPG0EnbqR1tQbdSKSmiOSuydd0E0Er94L
 7Yqc6EQ/dD0SKO8Kc1VWe/xUcN0b0bspWsgMWJW2INGcFi8t84X4X0sf1UbVlx2C0CIkYk1c6
 CYoxXl8G0zKZiR/J9d1nwDTs52nqp6lznYw8b+0SqnKU6Iw1kScWbGAkruXiBBPpfm5bKBLL5
 nP/DNN7jySPg9D3BGxj4AmFuXCysxVq52kQr+Bm2zq7NrVbIkGLvc/l+Z37SasGjKyWnjHPnc
 MvNj8e8tRvrjVMig0bbO57yQsAodi5CBc96MpHjerZPWBhtWlyHPA6xPs+6paAFmTIA6LOOR0
 pOXVkBwqJ5iXV8t/lkvNIjRgkudBArMpdgSjVY2Ux5TpIM/E80SBD5XmSrZea5otmfOrMsXgv
 C0Xur+Du28zDtsvUZ1QOVs1/fG/lX3S+Ik0k0017e0yVFUrxJHemPh0E2TcvZ5l5PFG5eyXG9
 JeA3vaQi4llaYgFe9BjNvLaWqL8aafm1qBqqw+zZeDQ211xnBmAJhqfUtjvc1rD6/N+k8aRal
 vSKJ1b8c4+gNXhWlYYY8HhBSAKqUMVYsFHTeRqASWCitsJmK5XEggGo8exvdBnNWAVIbUnXP3
 yRUsw6961z3tNiGTjtI4OA6kJPL4ScoIaS0XCZ9w+9LliG7kBAyl/CjLiUuh7JBd42TKFs6tR
 5uXCcQNIXLNV4VEZc6+WFqPqWAWHO4H/R6kfVDUOq+rtOJSCL6BgIvEA/gXwb2XkAp2WcD+He
 cKsDfuDHLwrOddGKtoUUUzLC6WFs/Q/Ph9JA+UVwZlWJRWuQWqFLUMHj6XItPg1N4Ry+CNA18
 oFkzmMAGYLGHfro3bvvQeoXQEFfHQVwWodM7+VePHWyAp7Tj3m81DoosuijEaoCNUnw5kC2ui
 U9FdrngiItl6TbkOBmJoXq8e1VSvKooo9H75VYrqi4+NM/sgI8kxfMOJ+fV6UY+QkJbtfVxJ0
 9qgs+SP+Jbv1+qiHoUYGUL9lca3QRmI9HONZyhHgWhMSb6YPr0eZw9CnYgKw9Yl07Fnt5TWKl
 WjjAWainMsvwuo=
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53702
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Francesco Potort=C3=AC <pot@HIDDEN> writes:

> (setq diary-file "~/appt-bug-diary"
>       calendar-date-style 'european
>       )

The recipe should better call the function `calendar-set-date-style'
because "setting this variable [calendar-date-style] directly does not
take effect (if the calendar package is already loaded).

But that doesn't prevent the issue - the report is valid nonetheless.
One already sees in the diary file that the problematic lines are not
fontified.

The manual describes that different time formats can be mixed, and

  3 Feb	18.00 t3 does not work (european)

is not invalid AFAIU (`diary-entry-time': "A period (.) can be used
instead of a colon (:) to separate the hour and minute parts.").

The problem is actually that the date part is rejected because the time
format is not recognized by `diary-european-date-forms'.  This seems to
fix it:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=0001-WIP-Try-to-fix-53702.patch

From 07a072db84ec722e4e77d02c4d6aa77cafc19354 Mon Sep 17 00:00:00 2001
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Date: Wed, 2 Feb 2022 01:08:43 +0100
Subject: [PATCH] WIP: Try to fix #53702

---
 lisp/calendar/calendar.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 48d308afad..d578d1a251 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -800,7 +800,7 @@ diary-american-date-forms
 (defcustom diary-european-date-forms
   '((day "/" month "[^/0-9]")
     (day "/" month "/" year "[^0-9]")
-    (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)")
+    (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:.aApP]\\)\\)")
     (day " *" monthname " *" year "[^0-9:aApP]")
     (dayname "\\W"))
   "List of pseudo-patterns describing the European style of dates.
--
2.30.2


--=-=-=
Content-Type: text/plain
Content-Disposition: inline


See also Bug#13536 which touched that definition.

We must be sure that the entries of `diary-european-date-forms' are
still mutually exclusive.  `year' never contains a dot "." (that regexp
is built in `diary-list-entries-2'), so I guess we are save... right?

Michael.

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53702; Package emacs. Full text available.

Message received at 53702 <at> debbugs.gnu.org:


Received: (at 53702) by debbugs.gnu.org; 2 Feb 2022 00:39:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 01 19:39:31 2022
Received: from localhost ([127.0.0.1]:50951 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nF3gJ-0003kL-Eb
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 19:39:31 -0500
Received: from mout.web.de ([212.227.17.12]:46825)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1nF3gH-0003k7-ON
 for 53702 <at> debbugs.gnu.org; Tue, 01 Feb 2022 19:39:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1643762363;
 bh=nzI0jcBlbDxmU6C3j6UjxyElLgSw0CM8eoqQldGD5as=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=bKypjROlT9zpnEtQl9tUMxlJYnotlY8zxGjn2Lv6FwpPrdwcuM0IHnaJ/hA6BaoFq
 J8w7/hZkWYrMJtKesymht8hewrtmXCJWV/MWhOfbSlXNdPpy4o1TsEW8YAazjRrP9I
 a/t0tjMmqbyH8MPJzFuGr/GPmiUrXONA/8x5oI84=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([84.57.248.31]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MTvw0-1mpApF1L8c-00R40V; Wed, 02
 Feb 2022 01:39:23 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Francesco =?utf-8?Q?Potort=C3=AC?= <pot@HIDDEN>
Subject: Re: bug#53702: 27.1; diary does not display some entries in
 european style
References: <87o83q8sm5.fsf@HIDDEN>
Date: Wed, 02 Feb 2022 01:39:22 +0100
In-Reply-To: <87o83q8sm5.fsf@HIDDEN> ("Francesco =?utf-8?Q?Pot?=
 =?utf-8?Q?ort=C3=AC=22's?=
 message of "Tue, 01 Feb 2022 17:21:54 +0100")
Message-ID: <8735l22jb9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Provags-ID: V03:K1:h87ptcGXNy4a2UI3gE6PfEW4+L+IxmuVohAf7shxWIeyPC1E4S1
 p1+ZPdnPv27u0oTwuiUA3f0rba1nlDaLu7cSQYqxttzxCpiOQozQVQuYkw3Mi+c0YVrkQlA
 nJwx9MQpzEFGwRV3evVOL7bObHYpRV9ENLlayFyc6nVDGNWEH1hnG877nalpgKp3NuDAxE6
 mcEqZpOZZ625iq8RupQug==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:2YbLPvnXTgM=:CBEAxVvuoEBWuUT+w040Oq
 CzDZQeS5eOLmohNKhrIxINzcl+G7l/TqegBYRWn0hfIbC2NbVLxMVvVpxtvlbjBg3lIcVMuae
 LVIpmVKoeinQOCa38i5g1upWQxhUcaRuJcp+lvGAFHocJToDu3SJcoLFJS1/zw6j6mwathabR
 gwMRLHpIsrUkgU7ftIBs2LsKu5d+YMHimeR8y5zz/Ra5fGMZMQZQs60Ai3jCQpqDL4f5SBQdj
 7P5tBThZUZ3Nyi4MujBKR1nvS+4M2xFYo0TJudIG/iYAf9Y7xGEit4w7Pf845PBGIC+9kKq+g
 RwCUGNQpWYiLKm4Bx/U+0k/I7VRfHkTyg8DWuYMWHb+G8xwZTs5UuLNtp2iAiDNu747kk8qRe
 dXxqdEnXO2sD1F4YYTBOretugqTYrlXGOcBwv6oBoUQ1l0m2qk8+Q0CKnjhhZgS7s7RQh9vxY
 3MSKKHaIUdhK3QS5DplxQC2u1Mr6ReqiJxwgaVeYVuSC3v+N4wLtJizme4giLKyJ0XRI0Wixz
 iItMDfv09Fk7PnlHGlChMlabwniBiv3PEXnVlMICacqIAm688FEK5YNwVKb9C3X4tecEymG71
 VJrKqrQ5fZQMWgNGxFPQUny4N5HwDsOGjWJ0B2oARdKucaoOLtVg9YuMAMr/s/xUYrPRYkzm3
 Tlurg4R2ZAVTr1c+3XAuhbQWavDZ0cWSnT3YxS4ovLLk52zzuBQWPAu8mbB5QkP1ZZ+JHhpa4
 NT6Ex0vUS1nIt73mIXnWT8Y30Sy01qrpsvRlEaHMH3MjCiGMFKEfgU+fuoWSZ8RY4QDUkAHen
 FkIeydtab9e9e8vUst0ky1znEmlbdqELoCQLsZjAlR0SaD0go4V2Z6f8D6njh2H6UJlaggb8s
 DyJCGUgVRS7wyJs8HGnaiwfh++JpPP1Kl3AuFaakhU9sCxvnlTEAHuFLXthDbA5F2Hk23sFbQ
 P2ldE1lVKnTXZqsNz2etPy+4XIsBvGoLEcIdMHFH5U/PjwPziqHiqgNi9l4vKgyqiAtTYryMM
 02OYYDAgY8DixTl+/8folhuQOLZwttbdCNv7FPLAsDM6NZG7DMEX+SchIYcxEc8eb/X8Zlejd
 oQ0Ab/d+dj6dzg=
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53702
Cc: 53702 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Francesco Potort=C3=AC <pot@HIDDEN> writes:

> (setq diary-file "~/appt-bug-diary"
>       calendar-date-style 'european
>       )

The recipe should better call the function `calendar-set-date-style'
because "setting this variable [calendar-date-style] directly does not
take effect (if the calendar package is already loaded).

But that doesn't prevent the issue - the report is valid nonetheless.
One already sees in the diary file that the problematic lines are not
fontified.

The manual describes that different time formats can be mixed, and

  3 Feb	18.00 t3 does not work (european)

is not invalid AFAIU (`diary-entry-time': "A period (.) can be used
instead of a colon (:) to separate the hour and minute parts.").

The problem is actually that the date part is rejected because the time
format is not recognized by `diary-european-date-forms'.  This seems to
fix it:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=0001-WIP-Try-to-fix-53702.patch
Content-Transfer-Encoding: quoted-printable

=46rom 07a072db84ec722e4e77d02c4d6aa77cafc19354 Mon Sep 17 00:00:00 2001
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Date: Wed, 2 Feb 2022 01:08:43 +0100
Subject: [PATCH] WIP: Try to fix #53702

=2D--
 lisp/calendar/calendar.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index 48d308afad..d578d1a251 100644
=2D-- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -800,7 +800,7 @@ diary-american-date-forms
 (defcustom diary-european-date-forms
   '((day "/" month "[^/0-9]")
     (day "/" month "/" year "[^0-9]")
-    (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\=
)")
+    (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:.aApP]\\)\=
\)")
     (day " *" monthname " *" year "[^0-9:aApP]")
     (dayname "\\W"))
   "List of pseudo-patterns describing the European style of dates.
=2D-
2.30.2


--=-=-=
Content-Type: text/plain


See also Bug#13536 which touched that definition.

We must be sure that the entries of `diary-european-date-forms' are
still mutually exclusive.  `year' never contains a dot "." (that regexp
is built in `diary-list-entries-2'), so I guess we are save... right?

Michael.

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#53702; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 16:22:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 01 11:22:03 2022
Received: from localhost ([127.0.0.1]:43915 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nEvut-0001ZO-DO
	for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 11:22:03 -0500
Received: from lists.gnu.org ([209.51.188.17]:59248)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pot@HIDDEN>) id 1nEvur-0001Yv-34
 for submit <at> debbugs.gnu.org; Tue, 01 Feb 2022 11:22:01 -0500
Received: from eggs.gnu.org ([209.51.188.92]:41428)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pot@HIDDEN>) id 1nEvuq-0008Kv-QS
 for bug-gnu-emacs@HIDDEN; Tue, 01 Feb 2022 11:22:00 -0500
Received: from plesklin7.if1.ehiweb.it ([79.98.45.16]:46304)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <pot@HIDDEN>) id 1nEvuo-0006qP-Ur
 for bug-gnu-emacs@HIDDEN; Tue, 01 Feb 2022 11:22:00 -0500
Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102])
 by plesklin7.if1.ehiweb.it (Postfix) with ESMTPSA id A54D010904F
 for <bug-gnu-emacs@HIDDEN>; Tue,  1 Feb 2022 17:21:54 +0100 (CET)
Message-Id: <87o83q8sm5.fsf@HIDDEN>
From: =?utf-8?Q?Francesco_Potort=C3=AC?= <pot@HIDDEN>
Date: Tue, 01 Feb 2022 17:21:54 +0100
To: bug-gnu-emacs@HIDDEN
Subject: 27.1; diary does not display some entries in european style
Organization: The GNU project
X-fingerprint: 4B02 6187 5C03 D6B1 2E31  7666 09DF 2DC9 BE21 6115
X-PPP-Message-ID: <20220201162154.11154.75982@HIDDEN>
X-PPP-Vhost: potorti.it
Received-SPF: softfail client-ip=79.98.45.16; envelope-from=pot@HIDDEN;
 helo=plesklin7.if1.ehiweb.it
X-Spam_score_int: -11
X-Spam_score: -1.2
X-Spam_bar: -
X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Diary entries are not parsed by M-x diary if:
- calendar-date-style is set to european (rather than american)
AND
- the date is written as "3 Feb" (rather than 3/2)
AND
- the time is written as "18.00" (rather than 18:00)

At least, this is what I have found by trial and error.  I looked at the code in appt.el and diary-lib.el but was not able to find the culprit...

To reproduce:

$ emacs -Q -nw --load=appt-bug.el

You will see that only two european entries are shown (t1 and t2).

Then exit Emacs, comment out the second line in appt-bug-el and rerun Emacs as above: you will see four american entries (t1, t2, t3, t4).


================ appt-bug.el
(setq diary-file "~/appt-bug-diary"
      calendar-date-style 'european
      )
(load-library "diary-lib")
(diary-list-entries (list 2 3 (decoded-time-year (decode-time))) 1)


================ appt-bug-diary
	-*-diary-*-

3 Feb	18:00 t1 works (european)

3/2	18.00 t2 works (european)

3 Feb	18.00 t3 does not work (european)

3 Feb
	18.00 t4 does not work (european)

Feb 3	18:00 t1 works (american)

2/3	18.00 t2 works (american)

Feb 3	18.00 t3 works (american)

Feb 3
	18.00 t4 works (american)




Acknowledgement sent to Francesco Potortì <pot@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#53702; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 2 Feb 2022 18:15:02 UTC

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