* calendar/todos.el: Further significant code rearrangement;
commit18aef8a33ebd85749b89dc6f9ecec09bc19cae01
authorStephen Berman <stephen.berman@gmx.net>
Sun, 24 Jun 2012 17:31:14 +0000 (24 18:31 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Sun, 24 Jun 2012 17:31:14 +0000 (24 18:31 +0100)
treed80e385c0df0912624c8f480b97e3bf9fcb8c685
parent616ffa8b8178781388d06147806e0c5e3b8b0778
* calendar/todos.el: Further significant code rearrangement;
further comment revision.
(todos-mode-display): New defgroup.
(todos-prefix, todos-number-priorities)
(todos-done-separator-string, todos-done-string)
(todos-comment-string, todos-show-with-done)
(todos-mode-line-function, todos-skip-archived-categories)
(todos-highlight-item, todos-wrap-lines)
(todos-line-wrapping-function): Use it.
(todos-item-insertion): New defgroup.
(todos-include-in-diary, todos-diary-nonmarking)
(todos-nondiary-marker, todos-always-add-time-string)
(todos-use-only-highlighted-region): Use it.
(todos-forward-button, todos-backward-button): New commands.
(todos-categories-mode-map): Use them, replacing forward-button
and backward-button.
(todos-merge-category): Fix and improve implementation; handle
archived items.
(todos-insert-item, todos-set-date-from-calendar): Handle setting
date by calling todos-insert-item-from-calendar.
(todos-delete-item): Fix overlay handling.
(todos-move-item): Highlight item to be moved.
(todos-item-undo): Handle marked items.
(todos-insert-item-from-calendar): Rewrite using
todos-date-from-calendar.
lisp/ChangeLog
lisp/calendar/todos.el