From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iNQRHn8XVGJ0QQAAgWs5BA (envelope-from ) for ; Mon, 11 Apr 2022 13:56:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OH9kG38XVGL5awEA9RJhRA (envelope-from ) for ; Mon, 11 Apr 2022 13:56:47 +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 21D4539E76 for ; Mon, 11 Apr 2022 13:56:47 +0200 (CEST) Received: from localhost ([::1]:48264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndsez-0007tD-M7 for larch@yhetil.org; Mon, 11 Apr 2022 07:56:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndse9-0007sr-5U for emacs-orgmode@gnu.org; Mon, 11 Apr 2022 07:55:53 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:43578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndse6-0006ns-OG for emacs-orgmode@gnu.org; Mon, 11 Apr 2022 07:55:51 -0400 Received: by mail-wr1-x436.google.com with SMTP id g18so6384560wrb.10 for ; Mon, 11 Apr 2022 04:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=6MTP1eMy9eie/dQsQtaxR/V2CTTg9bihNq2Vo0TVUtA=; b=BJaTVE4uNXoE9TfNWFq/0NhFu/CxB10dgRGX/YeNUXrER7F2IB1IjCEYtCZ+0qUBY7 xkBFuOrX+ch3Tamcrb7bXDaDrez6XV1QMsE0LQMZZvhl9sJXIOu53dcRM4tdj/dnubL/ xo39uouwCXm9X8IPintb1KPSBvTwr1oVGX2oIlmBzd1GwS6Pu8FvsRWESA8HHQ2azqiB YaSs7NECm+EYQqYPhXldh8vkIMeQ9Fn+GuxgxS2z2LYOR0CtpE7m/CM94B/nRDznAtlD T3Y+EylJ7q6p5poqWxpNSe8vKQbknaaiECuQByF9qucHI7hlGoWnsl4auOUGrlRfFMfp qRWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6MTP1eMy9eie/dQsQtaxR/V2CTTg9bihNq2Vo0TVUtA=; b=kcWQ1eeqSBJAeWMwZiG49UUI/DtbtYSnsCElk/0yZERNt7O+PGQaL56sUnXRiH1DDe wcDk0EZvQKUyWygunNIj68XuPHXJusQIBCZ/ySJQt/FIgwsyiOIUEYTm+8kSWIMltlo+ drteYD1yqiKrXZzTJXZx5xgw+XDnsIKC2c5kgu9I5LoQQf6JYYLvzeY2wCqVwMTblHYw 9mgKaw8P3LiW69RhSkjUv45d+lx6TH8qAl4QFnWEnoLtVCRNw85F8PhENcvqZ/XkR7Tb GCIbEibfPDwWqltLpdOsp+Z/0ewLW0kVY4ZszxLlRSKA6Urw6//o4G8oLmc0Jx4iBRlz 7ffw== X-Gm-Message-State: AOAM531RghllV1dtBDxLKlgo3snAekJc4ztjeLXgGyPOXUplv4ZPoIIY F9BvGuTdQcOzGiUey7r16CYS0eV3EJJ1LYnnUt4ype6OsUo= X-Google-Smtp-Source: ABdhPJwtUwPCCMmLHAZw6D/TlxeohrnI9qB7c/hvkVcsbd4S67ChrIMzu20Xjlq9xbYdVdSZw8NIkfLSSCFhhjbPaH8= X-Received: by 2002:adf:82c1:0:b0:207:9d8b:dd6c with SMTP id 59-20020adf82c1000000b002079d8bdd6cmr8935878wrc.4.1649678149044; Mon, 11 Apr 2022 04:55:49 -0700 (PDT) MIME-Version: 1.0 From: Anders Johansson Date: Mon, 11 Apr 2022 13:55:37 +0200 Message-ID: Subject: Bug: Changed behaviour of org-at-timestamp-p after recent change To: org-mode-email , Ihor Radchenko Content-Type: multipart/alternative; boundary="000000000000114f0405dc5fa0d5" Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=mejlaandersj@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649678207; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6MTP1eMy9eie/dQsQtaxR/V2CTTg9bihNq2Vo0TVUtA=; b=twKIULul6+NIY45NBoJ0WoxHAVz3GVzPUzX3/3xD4s+QEDA5e1OuBb42SBWVf16/d9w3Fc KOB/Lsslk0fOBLbANQJy4KpSO8GVB1/aaeIUSutWIZ3vF0UZDpoaVI4ruLwhqVX4BfPbM4 F6Jd8Uq8Ri5fvj/Lfx7Y5Sw3wgDq+6BWZMCO+ulz1OEW3q5B/61w5s42zNU5yCKgVnO/Jm Na2B8HVOzpKEPh4T65v4+VsODQWtrMTdvtmUwoYTHh+UAN7PKkE8oDzD3CqFWnjl8/LGy2 +ay/ItRTAKv7SNvz81kDWe8IxZMwdZEWjcYoHbhdH0fdBZultdZKqMeQI+sEqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649678207; a=rsa-sha256; cv=none; b=F8aH/3FGUAQTXOKAin1ncy53K7ImdOvgqcTCi/+qeDknGeoKuVzN/YLOvfS28BCQ9B6ifj cJOo8VtHrAneOwnKOQAdhNTlJuq0hkfuE6OIkMV2eBym+m4JWap9kUyWpmSPbt1pshyqmq yFnOa8AC+ChdIIZpNHPze0eAqO0vGQeErueE5OyizMNnuQZGnAJnuLyqIrUKuOjzpE2zb3 g8Izj0/VPXj+HFut+8FaY69khVY/0eCtMwx09lhxcNgYmXqAT30Ibe6+UQXhN9un2DT/7y bneL4jacQNeVSpYnikNgH1bvRAnoJby4/oOjG9kI4gRZHL8G/U4GNUxzbZphag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BJaTVE4u; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -8.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BJaTVE4u; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 21D4539E76 X-Spam-Score: -8.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: BCQbrehcNDUk --000000000000114f0405dc5fa0d5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I noticed that this commit: b1a570b3b org-agenda: Fix regression when diary sexp timestamps are ignore= d made a call like (org-at-timestamp-p 'agenda) match against the regexp `org-element--timestamp-regexp`. However, this regexp doesn=E2=80=99t have = the match groups setup as the others (`org-ts-regexp3` and `org-ts-regexp2`) so the last part of the docstring for org-at-timestamp-p doesn=E2=80=99t hold = anymore (that the timestamp parts should now be put in match groups). I was using this in some code of mine, but I also realize that this doesn= =E2=80=99t feel all that clean anyway. I am not sure if this is used elsewhere in org though. Best, Anders --000000000000114f0405dc5fa0d5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I noticed that this commit:
b1a570b3b=C2=A0 org-agenda: Fix regression when diary sexp timestamps ar= e ignored

made a call like (org-at-timestamp-p = 9;agenda) match against the regexp `org-element--timestamp-regexp`. However= , this regexp doesn=E2=80=99t have the match groups setup as the others (`o= rg-ts-regexp3` and `org-ts-regexp2`) so the last part of the docstring for = org-at-timestamp-p doesn=E2=80=99t hold anymore (that the timestamp parts s= hould now be put in match groups).

I was using thi= s in some code of mine, but I also realize that this doesn=E2=80=99t feel a= ll that clean anyway. I am not sure if this is used elsewhere in org though= .

Best,
Anders
--000000000000114f0405dc5fa0d5--