aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorStephen Berman2010-07-09 13:50:10 +0100
committerStephen Berman2010-07-09 13:50:10 +0100
commitf730d2733db5e5c757ebdbfbdba25340c11ebe9e (patch)
treedb9063067ab7e0052418e36ed7d7026f6d28f00a /lisp/ChangeLog
parentee7412e467393ef608f1b1f868e368ab923ae406 (diff)
downloademacs-f730d2733db5e5c757ebdbfbdba25340c11ebe9e.tar.gz
emacs-f730d2733db5e5c757ebdbfbdba25340c11ebe9e.zip
* calendar/todos.el Remove lots of commented out code; add various
comments; further code rearrangement. (todos-insert-item-here-ask-date-time) (todos-insert-item-ask-date-time) (todos-insert-item-ask-dayname-time) (todos-insert-item-for-diary) (todos-insert-item-for-diary-ask-date-time) (todos-make-categories-alist, todos-categories-alist): Remove. (todos-categories-list): Comment out. (todos-make-categories-list): New function replacing todos-make-categories-alist, using category plists to get item counts and taking archive into account. (todos-current-todos-file): New variable. (todos-mode-map): Update key bindings. (todos-save): Add as comment code to make sure todos-categories sexp is current on saving. (todos-quit): Call todos-show on quitting Todos archive buffer. (todos-show): If todos-current-todos-file is not set to Todos file, set it as a new file; set todos-categories from todos-make-categories-alist. (todos-display-categories): Use a different display format for archive file; put point initially on the first button. (todos-toggle-view-done-items): Check the category's `done' property to determine if there are done items. (todos-view-archive): Set todos-current-todos-file to the archive file; jump from the Todos file to the same category in the archive, if it exists, else jump to the first category; use message instead of error. (todos-add-category): Intern a special symbol for the new category and set its property list to holds counts of the numbers of todo, done and archived items in the category; assign the new category the current highest category number. (todos-rename-category): Don't use todos-categories-alist. (todos-delete-category): Check the category's `todo' and `done' properties to determine if it is empty; ensure that the end of the last category is found; after deleting the category, empty its plist and unintern its special symbol. (todos-insert-item-here): Fix argument list of todos-insert-item. (todos-delete-item, todos-raise-item, todos-lower-item): Use message instead of error. (todos-move-item): If the category to be moved to does not exist, add it as a new category. (todos-item-done, todos-reset-separator): Use todos-category-select instead of todos-show. (todos-archive-done-items): Make buffer writeable; conditionalize search for end of category; save after adding to archive in case the file is new, so it can be found. (todos-category-select): Wrap search in if instead of or+and; don't hide done items in an archive. (todos-set-item-priority): Check the category's `todo' property to determine if there are not done todo items. (todos-jump-to-category-noninteractively): Just switch to buffer visiting todos-current-todos-file, since this can be either a Todos file or an archive. (todos-item-counts): Use category's plist instead of an alist. (todos-longest-category-name-length): Argument is now a list of category names, not an alist, so just test each element, not each element's the car. (todos-padded-string): Use todos-categories instead of todos-categories-alist. (todos-insert-category-name): Use category plist to get item counts; take archived items into account.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog65
1 files changed, 65 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0bcb61c3712..fc8bbbac000 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,68 @@
12012-09-14 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el Remove lots of commented out code; add various
4 comments; further code rearrangement.
5 (todos-insert-item-here-ask-date-time)
6 (todos-insert-item-ask-date-time)
7 (todos-insert-item-ask-dayname-time)
8 (todos-insert-item-for-diary)
9 (todos-insert-item-for-diary-ask-date-time)
10 (todos-make-categories-alist, todos-categories-alist): Remove.
11 (todos-categories-list): Comment out.
12 (todos-make-categories-list): New function replacing
13 todos-make-categories-alist, using category plists to get item
14 counts and taking archive into account.
15 (todos-current-todos-file): New variable.
16 (todos-mode-map): Update key bindings.
17 (todos-save): Add as comment code to make sure todos-categories
18 sexp is current on saving.
19 (todos-quit): Call todos-show on quitting Todos archive buffer.
20 (todos-show): If todos-current-todos-file is not set to Todos
21 file, set it as a new file; set todos-categories from
22 todos-make-categories-alist.
23 (todos-display-categories): Use a different display format for
24 archive file; put point initially on the first button.
25 (todos-toggle-view-done-items): Check the category's `done'
26 property to determine if there are done items.
27 (todos-view-archive): Set todos-current-todos-file to the archive
28 file; jump from the Todos file to the same category in the
29 archive, if it exists, else jump to the first category; use
30 message instead of error.
31 (todos-add-category): Intern a special symbol for the new category
32 and set its property list to holds counts of the numbers of todo,
33 done and archived items in the category; assign the new category
34 the current highest category number.
35 (todos-rename-category): Don't use todos-categories-alist.
36 (todos-delete-category): Check the category's `todo' and `done'
37 properties to determine if it is empty; ensure that the end of the
38 last category is found; after deleting the category, empty its
39 plist and unintern its special symbol.
40 (todos-insert-item-here): Fix argument list of todos-insert-item.
41 (todos-delete-item, todos-raise-item, todos-lower-item):
42 Use message instead of error.
43 (todos-move-item): If the category to be moved to does not exist,
44 add it as a new category.
45 (todos-item-done, todos-reset-separator):
46 Use todos-category-select instead of todos-show.
47 (todos-archive-done-items): Make buffer writeable; conditionalize
48 search for end of category; save after adding to archive in case
49 the file is new, so it can be found.
50 (todos-category-select): Wrap search in if instead of or+and;
51 don't hide done items in an archive.
52 (todos-set-item-priority): Check the category's `todo'
53 property to determine if there are not done todo items.
54 (todos-jump-to-category-noninteractively): Just switch to buffer
55 visiting todos-current-todos-file, since this can be either a
56 Todos file or an archive.
57 (todos-item-counts): Use category's plist instead of an alist.
58 (todos-longest-category-name-length): Argument is now a list of
59 category names, not an alist, so just test each element, not each
60 element's the car.
61 (todos-padded-string): Use todos-categories instead of
62 todos-categories-alist.
63 (todos-insert-category-name): Use category plist to get item
64 counts; take archived items into account.
65
12012-09-13 Stephen Berman <stephen.berman@gmx.net> 662012-09-13 Stephen Berman <stephen.berman@gmx.net>
2 67
3 * calendar/todos.el: Numerous spelling and comment fixes, doc 68 * calendar/todos.el: Numerous spelling and comment fixes, doc