From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QCCKJHRpX2Rd3QAASxT56A (envelope-from ) for ; Sat, 13 May 2023 12:41:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UDSoI3RpX2QXAgEAG6o9tA (envelope-from ) for ; Sat, 13 May 2023 12:41:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5C4D32DAC2 for ; Sat, 13 May 2023 12:41:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxmgU-0000ie-HR; Sat, 13 May 2023 06:41:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxmgS-0000iW-Sz for emacs-orgmode@gnu.org; Sat, 13 May 2023 06:41:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxmgN-0002KH-Tx for emacs-orgmode@gnu.org; Sat, 13 May 2023 06:41:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D7975240047 for ; Sat, 13 May 2023 12:40:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683974457; bh=vXRX17eqTrNijuTEGORnq9NQmVJBIXa/NJY1yMPngPU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=ZLvn0BhK2FNW3m9/ZQU5Y6935kS0SLA1SWhbFCfSmT/5usKqR4IV5uql60qkdssa5 hao2ot07fjw+KFZH0LfIFmow0fof7cCX78Gae7yZkjn7D8iPSVzSIpejFsywS0ndGr CLnm9fuBlax7dvgNoPfdZ/hVj+L4eNPrdi5alvAhCc+pCtrAA+jrXQhHRhKnrvd3Dg CiMUvELknA6ait0xyySSFh3hGa4yxIBH2tAi7umivQHH+h92ma8CgxCeBOmrc1Ffam AtMSRXGjEmmuKdJsvspCZqj6TM3qvTzI1PriY47LKaWqQp2R2RhmvVcCENkVOhAGJD wcaxGKtz58b8A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QJMc933lQz6trs; Sat, 13 May 2023 12:40:57 +0200 (CEST) From: Ihor Radchenko To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] <2022-04-11 Mon 17:1-19:10> is wrongly parsed as a valid timestamp [9.5.3 (release_9.5.3-461-ga3dac4 @ /home/yantar92/.emacs.d/straight/build/org/)] In-Reply-To: <87a6c3urkv.fsf@localhost> References: <87a6c3urkv.fsf@localhost> Date: Sat, 13 May 2023 10:44:24 +0000 Message-ID: <8735401pfb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683974516; a=rsa-sha256; cv=none; b=eJ2TrruZeHCbfmUfACNIGtaFnSxUVTbv39IyTPT0x1+dz6Ib8HiUmDyKvtEpo+OgC/iakH UrsngNviusqLd9RcnVyl8/lSuZIszqVCYOHVe/2/pGMtIuZzPy+PcntGez+n3OpUJ+U9du lSgsQQnfC20Z6lWIcFPfJgKsBajNGXGMISzDW2UG/TlMWBofziy89Lg0P6/JlUwVfF1iER 0Nw+lsTHWHy9HTHf6cALISzrfhhmFdDTDlvvZtIFHg3HqxYd8MYeUprGSuGuFVKP0bijx3 tvAEJB+kVWdgp4e66FMX/57aY2fsXbwzZI2AuhndNxJyoMSDHzRXvyfxtkMxQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZLvn0BhK; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683974516; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fqfb2sg3xRPuhZhqDqR/E+XPgMWdX36H0LAR3axNkAM=; b=Dw1lqyAI2jNX9IqpkfJrc6plt0bjSg4DGKfOJDFsG+u5GuB/RYsqmmoMaIGIb+Sj2yFQGH np/pmxCd7IbZLZKIiNkfWfJBBRcyLhm88lz3Mz+ZPOHgtpiuteXQW5lfuHNfWDdeiQlrI+ gTjNfHMFftDlohvgZqmaT7KOLXmecZHdGyaLHu5DRRw6arv1eee+aSZIB88E09zkcQAwVO k4oakRh9Z6O2RLNBbzNkgTmUZXFFuYl8V0t1jAysYHZdkOL+ebMhhIEhez2ZPygxrnoTYB BVlRXnRpeUSRYDKG9fXpT2oh6cuSMTbesEUKHlesBO4C24SpGNxlVwGEw9cotA== X-Migadu-Spam-Score: -6.39 X-Spam-Score: -6.39 X-Migadu-Queue-Id: 5C4D32DAC2 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZLvn0BhK; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: gnWwnE3iQeqQ Ihor Radchenko writes: > Consider the following timestamp with a typo in starting minute: > > <2022-04-11 Mon 17:1-19:10> > ... > > Expected: The example timestamp is not parsed as a valid timestamp, but > rather considered a paragraph. Upon further thinking, I do not think that the above should be parsed as a paragraph. We are rather permissive about extra unrecognized text in the timestamps - it is a feature. I, however, added a low-trust linter that reports timestamps with unexpected extra text. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ab542a653 Handled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at