Re: [O] [PATCH] Fix (wrong-type-argument integer-or-marker-p nil) in org-agenda-get-todos.

2012-03-08 Thread Bastien
Hi Adam, Adam Spiers orgm...@adamspiers.org writes: org-get-category can sometimes invoke org-refresh-category-properties which can perform a re-search-forward which destroys the existing match data. When called from org-agenda-get-todos, this can result in its subsequent call to

[O] [PATCH] Fix (wrong-type-argument integer-or-marker-p nil) in org-agenda-get-todos.

2012-03-04 Thread Adam Spiers
org-get-category can sometimes invoke org-refresh-category-properties which can perform a re-search-forward which destroys the existing match data. When called from org-agenda-get-todos, this can result in its subsequent call to (match-beginning 2) to return nil, which when passed as the first