From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2N8eGhngGmROQgAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 12:01:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mKgoGRngGmQ+KgEAG6o9tA (envelope-from ) for ; Wed, 22 Mar 2023 12:01:45 +0100 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 31AA62D1E2 for ; Wed, 22 Mar 2023 12:01:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pewD3-0006ld-Vu; Wed, 22 Mar 2023 07:00:51 -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 1pewCw-0006l9-Ee for emacs-orgmode@gnu.org; Wed, 22 Mar 2023 07:00:44 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pewCs-0002sS-JR for emacs-orgmode@gnu.org; Wed, 22 Mar 2023 07:00:42 -0400 Received: by mail-wm1-x336.google.com with SMTP id i5-20020a05600c354500b003edd24054e0so5974233wmq.4 for ; Wed, 22 Mar 2023 04:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679482824; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SAYzcP7FQwGITo3zQou00IEQpexNqDxsKDzlx799MEI=; b=VGM5c5xtwzw1Ry4dT9b28l1axdaYSFKtbmEv/p9Ujm5F01Vaa5AjZcFEyv1qTaS8Gn 4U/p4AMJWqIB2mV++KxYpsPIk1zIocFEgGdbiwRM41nlZ+JmtSMcCMo4++7q0/abny7g lpql0bVoEVlvZO8TBKk9Yxk6J//WoIkvMaJjfMTDUSRcx7nMmM2j5tux4R1DjHf9g3FL I7WXi5ulUgW/0pV8nSs2HK7+aUuAYq3lV4rqy2J3DusC9uoKPNVU/hlPBFphAVRiDNHg 7aUE491fnfgJHr/ZF+yCZy4dj+v9ccTEREm4kR2SGp5Z/48nrgjmsanFoldOIaCjt0a6 Vnfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679482824; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SAYzcP7FQwGITo3zQou00IEQpexNqDxsKDzlx799MEI=; b=Pnyh9Ru/m0mZ6uDLkjIMns+ijg/fmCpZEmV9zmM14NROYUCPlHuh59bLomn5HXZiLy HcN5vcRuNYyJWY3gOxkt+ZVdwzEpn/VEDhQME4W580ZHCwfJrqyDS3dw0ZrwN1jWNjTt 9exFHfVsKGH/5CF4BsHo0L/16L8kW739PEYUvb0sWWVMufaOf7opwOS/qIygpGvJAhpK AZzvyCRtRmmP0cdLJQ8CciDEcr97sox7F4mpKjIt4I3AgwQ9LaUQzTKtw95tOmVbLW6f 4Ig9zp7R4vPcN8ebamsHtvHd8PbQ5YEPtEde2tkGmdSmzN2BDic0E8KHwQkDh5t0Ot3o rryg== X-Gm-Message-State: AO0yUKVmKQrzQB5IqJ9iCraAmuNaRs90CJfCrRrrlL8JjuUDPXsDROk4 2b/lzX9cxi2aRpHw6TfA32Ar9Zlct+ItJNxzdIXnxsmYEmT/KPuU X-Google-Smtp-Source: AK7set8wuBqNICo8JIxeBbfEQznzh8vQnogqbdBPIOX+xrMhxB1kZ2+PlrkmLvaVuFqY8eNRjXrlR3mq5isFhjLyYYw= X-Received: by 2002:a7b:c444:0:b0:3ed:779c:4063 with SMTP id l4-20020a7bc444000000b003ed779c4063mr1437508wmi.8.1679482823910; Wed, 22 Mar 2023 04:00:23 -0700 (PDT) MIME-Version: 1.0 From: Eddie Drury Date: Wed, 22 Mar 2023 19:00:12 +0800 Message-ID: Subject: [BUG] org-at-timestamp-p not correctly detecting when at a timestamp [9.5.5 (release_9.5.5 @ /usr/share/emacs/28.2/lisp/org/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000202b3305f77b1181" Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=eddie.drury@gmail.com; helo=mail-wm1-x336.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 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679482905; a=rsa-sha256; cv=none; b=t3/xrMu3GDSeokADOAE/viKzuhy//2kTEiAoNGKXz761Wci89HMYhgsXeF+8s0HWykUa+S 0O8lIDOihxI5phIF7SB2OTSEGYnDPI6z2axKdKUAM/EJnLkhe6yTBzPQN39x8E9Js5rBNz PzDV4q8ojs1Z9RqsFeA3LiWG7rbuG3OcRe2XL43f7t+hPR7vY6qlsDTDi8E6iEa+yj4Fdj UCcIfsRNQ0+Bfv9pi2SYEC3azG9KzDj75MNfeiv19joEPNltm8Gvjvm+VRy+Li3emPtbA2 JoqNDnSnTXuscJUvPixb8cQGXEm2pRPZYSy10V/+jegaDdYJX7VDkkf8jx7dsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=VGM5c5xt; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679482905; 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=SAYzcP7FQwGITo3zQou00IEQpexNqDxsKDzlx799MEI=; b=R+Tv3zL7t30Ldi/LlryYilV6YH3czgfIGO6CjaX+cHcOB5LgMoYsz5aVt+N9bajmP9coRY bBVC7r5lT5MmTFUDVZIdNtUiRS75vzM34s4L3vQtdkQZmvyee/NMnDSnRz1q69S9DsAt41 SHjQ9QxDRJyBc0JMmqfwte/SX39Es4rYK7dd1oMIUW5PnomjYkv7F6n5cn0NTubsfBcfjO A6kphylJKtR80icjsbppyPDMEwXaN86T/WNOPxNxRyt9Ek4M8BNuyUX+VfhpRp5JIwI4Xo IJ6U29z6KvUcvJPdveBN6gvoSM+AMF3TIKwBSIrp0/T29ms9oG73BUP0n19J4g== X-Migadu-Spam-Score: -4.98 X-Spam-Score: -4.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=VGM5c5xt; 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"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Queue-Id: 31AA62D1E2 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7KKNsPlPUJCS --000000000000202b3305f77b1181 Content-Type: text/plain; charset="UTF-8" Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ org-at-timestamp-p is supposed to test if point is at a timestamp. I've written the following function to test it: (defun my/test-timestamp () (interactive) (if (org-at-timestamp-p) (message "Point is at timestamp") (message "Point is not at timestamp"))) When I run this on a timestamp (either active or inactive), it does not detect a timestamp. If I instead test for (org-at-timestamp-p 'inactive), it does correctly test for inactive timestamps. Is there something I have overlooked? I am running: Org Version: 9.5.5 Emacs Version: GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) This worked as expected before a recent update. Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) of 2023-01-03 Package: Org mode version 9.5.5 (release_9.5.5 @ /usr/share/emacs/28.2/lisp/org/) --000000000000202b3305f77b1181 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Remember to cover the basics, that is, what you expected t= o happen and
what in fact did happen.=C2=A0 You don't know how to ma= ke a good report?=C2=A0 See

=C2=A0 =C2=A0 =C2=A0https://orgmode.org/manual/Feedba= ck.html#Feedback

Your bug report will be posted to the Org maili= ng list.
---------------------------------------------------------------= ---------
org-at-timestamp-p is supposed to test if point is at a timest= amp.

I've written the following function to test it:


= =C2=A0 (defun my/test-timestamp ()
=C2=A0 =C2=A0 (interactive)
=C2=A0= =C2=A0 (if (org-at-timestamp-p)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (message &q= uot;Point is at timestamp")
=C2=A0 =C2=A0 =C2=A0 (message "Poi= nt is not at timestamp")))

When I run this on a timestamp (eith= er active or inactive), it does not detect a timestamp.

If I instead= test for (org-at-timestamp-p 'inactive), it does correctly test for in= active timestamps.

Is there something I have overlooked?

I am= running: Org Version: 9.5.5 Emacs Version: GNU Emacs 28.2 (build 1, x86_64= -pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6)

This work= ed as expected before a recent update.


Emacs =C2=A0: GNU Emacs 2= 8.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17= .6)
=C2=A0of 2023-01-03
Package: Org mode version 9.5.5 (release_9.5.= 5 @ /usr/share/emacs/28.2/lisp/org/)
--000000000000202b3305f77b1181--