all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug report: org-get-property-block returns nil if the entry does not start with the property drawer
@ 2015-08-25 17:42 Jorge Morais
  2015-08-25 22:22 ` Josiah Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Jorge Morais @ 2015-08-25 17:42 UTC (permalink / raw)
  To: Emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 754 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 921 bytes --]

[-- Attachment #2: drawer-bug.org --]
[-- Type: application/octet-stream, Size: 59 bytes --]

* Dummy
  Dummy.
  :PROPERTIES:
  :LOCATION: Earth
  :END:

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-25 23:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25 17:42 Bug report: org-get-property-block returns nil if the entry does not start with the property drawer Jorge Morais
2015-08-25 22:22 ` Josiah Schwab
2015-08-25 23:59   ` Jorge

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.