unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Andreas Merziger <andreas.merziger@online.de>, 13536@debbugs.gnu.org
Subject: bug#13536: 24.2; Patterns in `diary-european-date-forms' NOT mutually exclusive -- incl. suggested Fix
Date: Thu, 15 Aug 2019 21:31:32 -0400	[thread overview]
Message-ID: <k5blwpnbez.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <8736i2yjgn.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Thu, 15 Aug 2019 00:30:00 -0700")

Lars Ingebrigtsen wrote:

> I don't use Calendar that much, but I don't quite understand this use
> case.  If you have "10am" in your diary file, and then you set the date
> style to `european', then surely that diary file will be invalid?
> "10am" isn't a valid `european' way to specify a time, I think?

The default value of diary-european-date-forms obviously tries to
support times of the form "10:00", "10am", "10AM", "10pm", "10PM".

The various elements of said form should be mutually exclusive but
aren't, as the OP demonstrates.

This seemed like a valid bug report to me, but I never cared enough to
do anything about it.

IMO applying the suggested fix or leaving it open would be better than
closing it due to a bouncing email.





  parent reply	other threads:[~2019-08-16  1:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23 21:17 bug#13536: 24.2; Patterns in `diary-european-date-forms' NOT mutually exclusive -- incl. suggested Fix Andreas Merziger
2019-08-15  7:30 ` Lars Ingebrigtsen
2019-08-16  1:04   ` Lars Ingebrigtsen
2019-08-16  1:31   ` Glenn Morris [this message]
2019-08-16  1:40     ` 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=k5blwpnbez.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=13536@debbugs.gnu.org \
    --cc=andreas.merziger@online.de \
    --cc=larsi@gnus.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).