On Thu, Mar 17 2011, Nick Dokos wrote: > I can reproduce it just by setting org-agenda-include-diary to t > (Org-mode version 7.5 (release_7.5.60.g706a.dirty)) Well, I can't. :( > x is the St.Patrick's Day entry: #(" Diary: St. Patrick's Day" 0 2 > (org-category #5="diary" tags nil org-highest-priority 65 > org-lowest-priority 67 time-of-day nil duration nil effort nil > effort-minutes nil txt #4=#("St. Patrick's Day" 0 17 (org-heading t)) time > #1="" extra #1# dotime time org-heading t type #3="diary" date #2=(3 17 > 2011) face org-todo) 2 14 (org-category #5# tags nil org-highest-priority 65 > org-lowest-priority 67 time-of-day nil duration nil effort nil > effort-minutes nil txt #4# time #1# extra #1# dotime time org-heading t type > #3# date #2# face org-agenda-diary) 14 31 (org-heading t org-category #5# > tags nil org-highest-priority 65 org-lowest-priority 67 time-of-day nil > duration nil effort nil effort-minutes nil txt #4# time #1# extra #1# dotime > time type #3# date #2# face org-agenda-diary)) > > re is the empty string so indeed it is not nil: "" Well, I do not see how re can be "" since: (setq re (get-text-property 0 'org-todo-regexp x)) And x has no 'org-todo-regexp property. Since you seems familiar with the debugger, could you try to see what's happening? -- Julien Danjou ❱ http://julien.danjou.info