From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: `org-get-category' and `org-entry-get' do not return the same value Date: Fri, 30 Jan 2015 09:57:20 +0100 Message-ID: <87egqcr6hb.fsf@nicolasgoaziou.fr> References: <87386sitvl.fsf@konixwork.incubateur.ens-lyon.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH7ND-0002rA-Tv for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 03:56:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YH7N9-0006sF-Tz for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 03:56:19 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:60153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH7N9-0006s9-NX for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 03:56:15 -0500 In-Reply-To: <87386sitvl.fsf@konixwork.incubateur.ens-lyon.fr> (Samuel Loury's message of "Fri, 30 Jan 2015 08:56:46 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Loury Cc: OrgMode ML Hello, Samuel Loury writes: > I use the version cd6fa4c15e8e35afa6beb9e89ad3723fb82df091 (git sha) of > org-mode. > > Let's say I have a file looking like this: > > #+CATEGORY: c > * foo > :PROPERTIES: > :CATEGORY: a > :END: > ** bar > :PROPERTIES: > :CREATED: [2015-01-30 Fri 08:37] > :END: > > With the point on bar, `org-get-category' returns "a" while > (org-entry-get=C2=A0(point)=C2=A0"CATEGORY"=C2=A0t) returns "c". Notice t= hat it returns > "c" even if the third argument is INHERIT. This should be fixed. Thank you. Regards, --=20 Nicolas Goaziou