From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-entry-get backward incompatibility. Bug or feature? Date: Wed, 19 Jun 2019 20:59:12 +0200 Message-ID: <87pnn9pfjz.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42343) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdfnj-0003pI-0t for emacs-orgmode@gnu.org; Wed, 19 Jun 2019 14:59:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdfni-0002ui-2K for emacs-orgmode@gnu.org; Wed, 19 Jun 2019 14:59:18 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57779) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdfnh-0002rH-Sb for emacs-orgmode@gnu.org; Wed, 19 Jun 2019 14:59:18 -0400 In-Reply-To: (John's message of "Thu, 13 Jun 2019 20:12:10 +0200 (CEST)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: John Cc: emacs-orgmode@gnu.org Hello, John writes: > I'm migrating an older system for Org 8 to the latest > version (9.2.4) and I found org-entry-get behaves differently. > > For the entry: > > ** TODO task > SCHEDULED: <2019-06-14 Fri 09:15> > > > With Org 8 (org-entry-get nil "SCHEDULED") returns: > > 2019-06-14 Fri 09:15 > > > while with Org 9.2.4 for the same returns: > > <2019-06-14 Fri 09:15> > > > Is this a bug? Why Org 9 returns the brackets too in addition to the > time? This isn't a bug. `org-entry-get' is expected to return the full value, which is a timestamp. Timestamps include brackets. Regards, -- Nicolas Goaziou