From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Loury Subject: `org-get-category' and `org-entry-get' do not return the same value Date: Fri, 30 Jan 2015 08:56:46 +0100 Message-ID: <87386sitvl.fsf@konixwork.incubateur.ens-lyon.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH6Ri-000511-0B for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 02:56:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YH6Rd-0003re-0q for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 02:56:53 -0500 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:54319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YH6Rc-0003rZ-Px for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 02:56:48 -0500 Received: by mail-wi0-f172.google.com with SMTP id h11so1113329wiw.5 for ; Thu, 29 Jan 2015 23:56:48 -0800 (PST) Received: from localhost (162.48.7.109.rev.sfr.net. [109.7.48.162]) by mx.google.com with ESMTPSA id q10sm13727067wjr.41.2015.01.29.23.56.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jan 2015 23:56:47 -0800 (PST) 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: OrgMode ML --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I use the version cd6fa4c15e8e35afa6beb9e89ad3723fb82df091 (git sha) of org-mode. Let's say I have a file looking like this: =2D-8<---------------cut here---------------start------------->8--- #+CATEGORY: c * foo :PROPERTIES: :CATEGORY: a :END: ** bar :PROPERTIES: :CREATED: [2015-01-30 Fri 08:37] :END: =2D-8<---------------cut here---------------end--------------->8--- 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 tha= t it returns "c" even if the third argument is INHERIT. This causes the strange behavior that I cannot set interactively the CATEGORY property value to "c" with C-x C-c p. The behavior is again more strange in the agenda, where the bar entry is correctly shown with the CATEGORY "a" and trying to change it with =2D-8<---------------cut here---------------start------------->8--- C-x=C2=A0C-c=C2=A0p CATEGORY c =2D-8<---------------cut here---------------end--------------->8--- does nothing. Is there a new way to interactively edit the CATEGORY or should `org-set-property' tackle the special case of CATEGORY? Best regards, =2D-=20 Konubinix GPG Key : 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUyzk+AAoJEHXSPO10ORBqfr0H/A+j1cGkkWG6waj4zPnv37qQ P5RUGRF5EHRh/W+gRhPNzdXgaL7fTyN3VZVzjizV1LoDij6L9gpibaKZQi47HI2s myItJlYwkLowjac3B8cCO0xJqHVuocA0k5Mziju3Byy9lf8wbGokxMJsoHrU7D3W C+CAPPS09M97H8y7S2uctNBRNAAYo6G11BKLp5uWfN1d/1DxAucu0wH1e94fko3o L1UtZl8jt2uSGdLJclySLEG3MAqXaNX+gtFHCCFpPns2QP2kqUbammc8ph6eF0rF jJyrY9ALVAn4iDL88++SQymNRGNB0wEjpzWa5q3hn55FPEALvbezEuTxQzSJ4lE= =Fqk5 -----END PGP SIGNATURE----- --=-=-=--