From: Michael Heerdegen <michael_heerdegen@web.de>
To: 53702@debbugs.gnu.org
Subject: bug#53702: 27.1; diary does not display some entries in european style
Date: Wed, 02 Feb 2022 04:41:25 +0100 [thread overview]
Message-ID: <87czk6540q.fsf@web.de> (raw)
In-Reply-To: <87tudi14g7.fsf@web.de> (Michael Heerdegen's message of "Wed, 02 Feb 2022 01:39:22 +0100")
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
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:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-WIP-Try-to-fix-53702.patch --]
[-- Type: text/x-diff, Size: 1058 bytes --]
From 5346b90b9884b9190cfe77310f2444ed35d182eb Mon Sep 17 00:00:00 2001
From: Michael Heerdegen <michael_heerdegen@web.de>
Date: Wed, 2 Feb 2022 01:08:43 +0100
Subject: [PATCH] WIP: Try to fix #53702
---
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
--- 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;
--
2.30.2
[-- Attachment #3: Type: text/plain, Size: 698 bytes --]
I'm now a bit worried about this paragraph in
(info "(emacs) Appointments"):
| You can write times in am/pm style (with ‘12:00am’ standing for
| midnight and ‘12:00pm’ standing for noon), or 24-hour European/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.
next prev parent reply other threads:[~2022-02-02 3:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-01 16:21 bug#53702: 27.1; diary does not display some entries in european style Francesco Potortì
2022-02-02 0:39 ` Michael Heerdegen
2022-02-02 0:39 ` Michael Heerdegen
2022-02-02 3:41 ` Michael Heerdegen [this message]
2022-03-04 2:00 ` Michael Heerdegen
2022-09-08 13:29 ` Lars Ingebrigtsen
2022-09-08 13:41 ` Francesco Potortì
2022-09-08 13:45 ` Lars Ingebrigtsen
2022-09-09 4:13 ` Michael Heerdegen
2022-09-09 17:08 ` Lars Ingebrigtsen
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czk6540q.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=53702@debbugs.gnu.org \
/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.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).