From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jorge Morais Subject: Bug report: org-get-property-block returns nil if the entry does not start with the property drawer Date: Tue, 25 Aug 2015 14:42:21 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=089e01493b54965785051e26411e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUISF-0007nj-Jg for Emacs-orgmode@gnu.org; Tue, 25 Aug 2015 13:56:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUISE-0001qz-OW for Emacs-orgmode@gnu.org; Tue, 25 Aug 2015 13:56:15 -0400 Received: from mail-ig0-x244.google.com ([2607:f8b0:4001:c05::244]:35390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUISE-0001qe-KE for Emacs-orgmode@gnu.org; Tue, 25 Aug 2015 13:56:14 -0400 Received: by igcse8 with SMTP id se8so2115901igc.2 for ; Tue, 25 Aug 2015 10:56:13 -0700 (PDT) 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: Emacs-orgmode@gnu.org --089e01493b54965785051e26411e Content-Type: multipart/alternative; boundary=089e01493b5496577f051e26411c --089e01493b5496577f051e26411c Content-Type: text/plain; charset=UTF-8 In Org mode's info, I could not find any requirement that the property drawer must be the first thing in the entry. However, this is the case in recent versions of Org. Things work OK in the following version: Org-mode version 8.2.10 (8.2.10-42-g2e1bc4-elpa @ /home/jorge/.emacs.d/elpa/org-20150727/) but things fail in recent versions, particularly 2015-08-24 (which I uninstalled because it kept pestering me about many supposed "malformed drawer"s because of this bug). If have created a small file that reproduces this bug, and attached it to this email. In this file, with old Org and point at the beginning of the drawer, org-get-property-block returns (33 . 52). New Org returns nil. This is Emacs 24.5 compiled from sources in Ubuntu 15.04. --089e01493b5496577f051e26411c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
In Org mode's info, I could not find any requirement t= hat the property drawer must be the first thing in the entry.=C2=A0 However= , this is the case in recent versions of Org.=C2=A0 Things work OK in the f= ollowing version:
Org-mode version 8.2.10 (8.2.10-42-g2e1bc4-elpa = @ /home/jorge/.emacs.d/elpa/org-20150727/)
but things fail = in recent versions, particularly 2015-08-24 (which I uninstalled because it= kept pestering me about many supposed "malformed drawer"s becaus= e of this bug).

If have created a small file that = reproduces this bug, and attached it to this email.=C2=A0 In this file,
with old Org and point at the beginning of the drawer, org-get-prope= rty-block returns
(33 . 52).
New Org returns nil.

This is Emacs 24.5 compiled from sources in Ubuntu = 15.04.

--089e01493b5496577f051e26411c-- --089e01493b54965785051e26411e Content-Type: application/octet-stream; name="drawer-bug.org" Content-Disposition: attachment; filename="drawer-bug.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_idrmrth00 KiBEdW1teQogIER1bW15LgogIDpQUk9QRVJUSUVTOgogIDpMT0NBVElPTjogRWFydGgKICA6RU5E Ogo= --089e01493b54965785051e26411e--