[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [feature request] org-at-timestamp-p should accept multiple paramete
From: |
Bastien |
Subject: |
Re: [feature request] org-at-timestamp-p should accept multiple parameters |
Date: |
Wed, 09 Sep 2020 10:13:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Adam,
Adam Faryna <adamfaryna@gmail.com> writes:
> Ok, maybe I misunderstood the purpose of this function. I wanted to
> use it to check if the timestamp is active or inactive and I tried to
> get it by using (org-at-timestamp-p 'inactive) while pointing at the
> timestamp. But actually when I call it on any timestamp like
> [2020-09-04 Fri], <2020-09-04 Fri> I always get nil. So either it's a
> bug, or I miss something.
(org-at-timestamp-p) returns t on an active timestamp.
(org-at-timestamp-p 'inactive) returns t on any timestamp, including
inactive ones.
If you think the docstring could be enhanced, can you share a patch?
See https://orgmode.org/worg/org-contribute.html on how to contribute.
Thanks,
--
Bastien