From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get Date: Sat, 19 Dec 2009 17:57:48 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NM8FJ-0003Yb-Kk for emacs-orgmode@gnu.org; Sat, 19 Dec 2009 17:57:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NM8FF-0003Y2-3E for emacs-orgmode@gnu.org; Sat, 19 Dec 2009 17:57:57 -0500 Received: from [199.232.76.173] (port=58237 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NM8FE-0003Xz-Vy for emacs-orgmode@gnu.org; Sat, 19 Dec 2009 17:57:53 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:47535) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NM8FD-0000wl-GR for emacs-orgmode@gnu.org; Sat, 19 Dec 2009 17:57:51 -0500 Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 044E6C76E3 for ; Sat, 19 Dec 2009 17:57:51 -0500 (EST) Received: from macbook.local (adsl-99-35-15-187.dsl.klmzmi.sbcglobal.net [99.35.15.187]) by mail.messagingengine.com (Postfix) with ESMTPSA id 5E8D5107E9 for ; Sat, 19 Dec 2009 17:57:50 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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