* Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get
@ 2009-12-19 22:57 Matt Lundin
2009-12-20 10:09 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Matt Lundin @ 2009-12-19 22:57 UTC (permalink / raw)
To: Org Mode
Hi Carsten,
I believe that commit b8e0d6fdb41f2165d675e89fcb54b741c971f6f4 broke
accessing timestamps with the org-entry-get.
With that commit, several functions I use to check whether an entry has
a timestamp stopped working.
In other words,
(org-entry-get nil "TIMESTAMP_IA")
or
(org-entry-get nil "TIMESTAMP")
always return nil, even if a timestamp exists.
Strangely, the org-entry-properties alist includes values for TIMESTAMP
and TIMESTAMP_IA.
I tested this by evaluating the expressions in the sample entry below:
--8<---------------cut here---------------start------------->8---
* TODO Test :computer:
<2009-12-19 Sat>
[2009-12-19 Sat 17:47]
(org-entry-get nil "TIMESTAMP_IA")
(org-entry-get nil "TIMESTAMP")
(org-entry-properties)
--8<---------------cut here---------------end--------------->8---
Thanks,
Matt
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get
2009-12-19 22:57 Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get Matt Lundin
@ 2009-12-20 10:09 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-12-20 10:09 UTC (permalink / raw)
To: Matt Lundin; +Cc: Org Mode
Fixed, thanks matt!
- Carsten
On Dec 19, 2009, at 11:57 PM, Matt Lundin wrote:
> Hi Carsten,
>
> I believe that commit b8e0d6fdb41f2165d675e89fcb54b741c971f6f4 broke
> accessing timestamps with the org-entry-get.
>
> With that commit, several functions I use to check whether an entry
> has
> a timestamp stopped working.
>
> In other words,
>
> (org-entry-get nil "TIMESTAMP_IA")
>
> or
>
> (org-entry-get nil "TIMESTAMP")
>
> always return nil, even if a timestamp exists.
>
> Strangely, the org-entry-properties alist includes values for
> TIMESTAMP
> and TIMESTAMP_IA.
>
> I tested this by evaluating the expressions in the sample entry below:
>
> --8<---------------cut here---------------start------------->8---
> * TODO Test :computer:
> <2009-12-19 Sat>
> [2009-12-19 Sat 17:47]
>
> (org-entry-get nil "TIMESTAMP_IA")
> (org-entry-get nil "TIMESTAMP")
> (org-entry-properties)
> --8<---------------cut here---------------end--------------->8---
>
> Thanks,
> Matt
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-20 10:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-19 22:57 Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get Matt Lundin
2009-12-20 10:09 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.