From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Can no longer retrieve TIMESTAMP and TIMESTAMP_IA with org-entry-get Date: Sun, 20 Dec 2009 11:09:27 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMIjJ-0008NE-D7 for emacs-orgmode@gnu.org; Sun, 20 Dec 2009 05:09:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMIjE-0008KB-J7 for emacs-orgmode@gnu.org; Sun, 20 Dec 2009 05:09:36 -0500 Received: from [199.232.76.173] (port=41210 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMIjE-0008Jz-EC for emacs-orgmode@gnu.org; Sun, 20 Dec 2009 05:09:32 -0500 Received: from mail-fx0-f225.google.com ([209.85.220.225]:61166) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NMIjE-0002Il-2t for emacs-orgmode@gnu.org; Sun, 20 Dec 2009 05:09:32 -0500 Received: by fxm25 with SMTP id 25so3508066fxm.26 for ; Sun, 20 Dec 2009 02:09:30 -0800 (PST) In-Reply-To: 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: 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