Jeffrey DeLeo <jeffreydeleo <at> gmail.com> writes: > > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > ------------------------------------------------------------------------ > > Trying to use the org-agenda gives fatal error. > (org-agenda) then hit 'a' or 't' > > Stack trace: > > (wrong-type-argument integer-or-marker-p nil) > put-text-property(101818 nil org-effort "0:30") > (save-excursion (org-back-to-heading t) (put-text-property (point-at- bol) > (outline-next-heading) tprop p)) > (while (re-search-forward (concat "^[ ]*:" dprop ": +\\(.*\\)[ > ]*$")
Found solution of this bug. Due to the (outline-next-heading) method return nil value when current heading is the last heading in document. So it cannot work correctly during invoke (put-text-properties) Temporary solution: 1. Add new headline at the end of org-mode document, like this: * TODO hello :PROPERTIES: :Effort: 0:10 :END: * duplicated headline 2. Modify the source code of org-mode and then re-compile it. This need to modify the method (org-refresh-properties) in org.el change the following line: (put-text-property (point-at-bol) (outline-next-heading) tprop p) to: (put-text-property (point-at-bol) (or (outline-next-heading) (point-max)) tprop p) Hope it works.