all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Robert Pluim <rpluim@gmail.com>
Cc: "Francesco Potortì" <pot@potorti.it>, 54210@debbugs.gnu.org
Subject: bug#54210: 27.1; appt-add checks for bad data only at end
Date: Fri, 04 Mar 2022 00:59:02 +0100	[thread overview]
Message-ID: <87ilsupozd.fsf@web.de> (raw)
In-Reply-To: <87v8wxiwhm.fsf@gmail.com> (Robert Pluim's message of "Tue, 01 Mar 2022 15:21:57 +0100")

Robert Pluim <rpluim@gmail.com> writes:

> How about this (I canʼt find a `read-time-of-day', unless org has one hidden
> away somewhere):

Doesn't look wrong to me.

> +                       (unless (string-match appt-time-regexp time)
> +                         (user-error "Unacceptable time-string"))

I know you just more or less copied that code from the body, but I think
this can be made a `string-match-p' test.  I think that code is just
older than the existence of `string-match-p'.

Michael.





      parent reply	other threads:[~2022-03-03 23:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 12:54 bug#54210: 27.1; appt-add checks for bad data only at end Francesco Potortì
2022-03-01 14:21 ` Robert Pluim
2022-03-01 14:31   ` Francesco Potortì
2022-03-01 14:40     ` Robert Pluim
2022-04-05 16:11       ` Robert Pluim
2022-03-03 23:59   ` Michael Heerdegen [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ilsupozd.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=54210@debbugs.gnu.org \
    --cc=pot@potorti.it \
    --cc=rpluim@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.