New 'org-category-position text property in agendas.
authorBastien Guerry <bzg@altern.org>
Tue, 23 Aug 2011 15:34:15 +0000 (17:34 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 23 Aug 2011 15:34:15 +0000 (17:34 +0200)
commit15798836e2bb84bebfb005375e08e38830fc90ee
treef35656e1c021bab13a8822cc90ccc6bcb051f1d1
parent8478a5541c28d2d52146829661ba61f2ffce9b04
New 'org-category-position text property in agendas.

* org.el (org-refresh-category-properties): New text property
'org-category-position to point at the beginning of the
headline from which the category is set.

* org-agenda.el (org-search-view, org-agenda-get-todos)
(org-agenda-get-timestamps, org-agenda-get-sexps)
(org-agenda-get-progress, org-agenda-get-deadlines)
(org-agenda-get-scheduled, org-agenda-get-blocks)
(org-agenda-filter-by-tag-refine): Add the
'org-category-position text property.

This commit prepares for a future `org-agenda-set-category'
function allowing to set the category of the headline at point.
lisp/org-agenda.el
lisp/org.el