From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#54210: 27.1; appt-add checks for bad data only at end Date: Fri, 04 Mar 2022 00:59:02 +0100 Message-ID: <87ilsupozd.fsf@web.de> References: <87v8wxiwhm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10808"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Francesco =?UTF-8?Q?Potort=C3=AC?= , 54210@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 04 01:16:30 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nPvcU-0002bn-54 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Mar 2022 01:16:30 +0100 Original-Received: from localhost ([::1]:37952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPvcT-0004hd-64 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Mar 2022 19:16:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPvMY-0001rI-Tq for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2022 19:00:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPvMY-0004Sd-Iz for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2022 19:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPvMY-0002XX-Dt for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2022 19:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2022 00:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54210 X-GNU-PR-Package: emacs Original-Received: via spool by 54210-submit@debbugs.gnu.org id=B54210.16463519539677 (code B ref 54210); Fri, 04 Mar 2022 00:00:02 +0000 Original-Received: (at 54210) by debbugs.gnu.org; 3 Mar 2022 23:59:13 +0000 Original-Received: from localhost ([127.0.0.1]:44185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPvLl-0002W1-Dl for submit@debbugs.gnu.org; Thu, 03 Mar 2022 18:59:13 -0500 Original-Received: from mout.web.de ([217.72.192.78]:55381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPvLj-0002Vo-9L for 54210@debbugs.gnu.org; Thu, 03 Mar 2022 18:59:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1646351943; bh=raKJNc0+gIk+Bh/fXGe/fi1CRW4lcmnY17DatCdpuuA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Y/6ijZEQ1zhK8Bp51SJ7MCyAyd7p19awA96e+v8pH536vVSeuemQqMHebKURksXOo fUW9L3B5JlhnUFTHe0N0GPoYG7DNn4G0WOFxbU0x0QtKDN+HydcFPPg8bX9gDNzdoI bE3dvOZyeljmUkHFDZU6zDo0IjsvUtS2wGWsHtlY= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MN6Fj-1niH9149wr-00JAdB; Fri, 04 Mar 2022 00:59:03 +0100 In-Reply-To: <87v8wxiwhm.fsf@gmail.com> (Robert Pluim's message of "Tue, 01 Mar 2022 15:21:57 +0100") X-Provags-ID: V03:K1:cWaK/v2TyhCdF7zV8allMkV+hYvotdog5ssLxebKhTIWJtmFByH /Kl6ntGWvLnggC27kHdD5rUEQUABbx9lOPQdxD5xandZzRigCZL8rLXOfi7aGtcs0dQ9xiF 1vPtpyxwXG8yGQkzfWSEzetfaxR809q4bTMg4R3RSaqt925HpTRCxyWiHMhCWSxeGTGQJev KBYtM9BZ68a5yiQUw+PRg== X-UI-Out-Filterresults: notjunk:1;V03:K0:GH8CoHrqFzQ=:hJPFX/+pIxraVs6FgvRNct S0YE8oXGwc2lPv8cJiz8LtPiCf1P/e4q71u3WgI/Yim5ZQDVJRgHeVnaZYhGZs7erxs00xJAm 5rePLizU6ZiklLuuaVZkbrmfUtpemgnlyTRvHXzZOsTGZfzeQedRw7Mz2Kgzl5iteULWko5eW I/SbQ9bQrl+Sf+/6hSMDN+T2mC22OzWBfJ/88hfE3IJaZxayohw56JFR2QxxnenzMBHWVgu7z rolkD5W8ATzlTnWVqhEPeadftw8aO1IOC7r0vUmzEe+tF2KCUoG+A9bmGi5/FodCKGVEJqvc3 BCr5BxiB21OHJgVi89H/0+2v1buUq8rr5TECVNidE8kdsdd501yP+oq9f5fbufgXON81InVmq 1WIPCRN9pycMuVgWbftJWKbt4IPYFLliVpMALHOKoOdcG79Mbwk+GW4mzWLqo82YFEf0cLt35 KX+nI05sv75hZUZsaI9LWVvrYGpr9paLkWHuDwtvQVbC0HKLGzyAfkm2LIeu5TdectP8Wd985 4jO3MX4oY5rWnVJDcqeVhtvKvN24d0GObvyd7kyoerYImHyw5Wd/3QuAI6YkRgyPJ5JyzrAK5 y6mFvmEbyLGLxqYPjACyZvIuJ5fU0G6nL4cJpV4PUw/u7hevPRlPD7NT4sruVMWXUfFbJLmLC jJPiyv18QK6AJ0EUk9YrpoSPHieskaG3NOMBlzDSAFFOmEbXbbAmHfDGYJc6QZ9SWLLnhJ7yD zVT2Lxy8VE5U4J5ULjgKFqpascntl+1HXB62u6k7gbwqWaLkhkH3uu0QObToNdBECaxWfuyw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227980 Archived-At: Robert Pluim writes: > How about this (I can=CA=BCt find a `read-time-of-day', unless org has on= e 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.