From: Matt Lundin <mdl@imapmail.org>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get
Date: Sat, 19 Dec 2009 17:57:48 -0500 [thread overview]
Message-ID: <m2bphuy3kj.fsf@fastmail.fm> (raw)
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
next reply other threads:[~2009-12-19 22:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-19 22:57 Matt Lundin [this message]
2009-12-20 10:09 ` Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bphuy3kj.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.