aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog216
1 files changed, 210 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index db18c225cde..0ee809b5d2f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,208 @@
12012-09-19 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Remove old commentary from todo-mode.el; add
4 and revise further doc strings and comments; require cl.el at
5 compile time for remove-duplicates; use function powerset from
6 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
7 code rearrangement. Add adapted version of diary-goto-entry as comment.
8 (todos-file-top, todos-archived-categories-buffer)
9 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
10 (todos-save-top-priorities, todos-reset-separator)
11 (todos-switch-todos-file, todos-item-string-start, todos-counts)
12 (todos-string-count-lines, todos-string-multiline-p)
13 (todos-display-categories-alphabetically): Remove.
14 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
15 (todos-insert-item-ask-date-time-for-diary)
16 (todos-insert-item-ask-date-time-for-diary-here)
17 (todos-insert-item-ask-date-time-here)
18 (todos-insert-item-ask-date-maybe-notime)
19 (todos-insert-item-ask-date-maybe-notime-for-diary)
20 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
21 (todos-insert-item-ask-date-maybe-notime-here)
22 (todos-insert-item-ask-date-for-diary)
23 (todos-insert-item-ask-date-for-diary-here)
24 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
25 (todos-insert-item-ask-dayname-time)
26 (todos-insert-item-ask-dayname-time-for-diary)
27 (todos-insert-item-ask-dayname-time-for-diary-here)
28 (todos-insert-item-ask-dayname-time-here)
29 (todos-insert-item-ask-dayname-maybe-notime)
30 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
31 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
32 (todos-insert-item-ask-dayname-maybe-notime-here)
33 (todos-insert-item-ask-dayname-for-diary)
34 (todos-insert-item-ask-dayname-for-diary-here)
35 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
36 (todos-insert-item-ask-time-for-diary)
37 (todos-insert-item-ask-time-for-diary-here)
38 (todos-insert-item-ask-time-here)
39 (todos-insert-item-maybe-notime)
40 (todos-insert-item-maybe-notime-for-diary)
41 (todos-insert-item-maybe-notime-for-diary-here)
42 (todos-insert-item-maybe-notime-here)
43 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
44 (todos-insert-item-here): Remove; all of these are now generated
45 on loading (some with the same name, most with other names.)
46 (todos-item-counts, todos-display-categories-alphabetically)
47 (todos-display-categories-sorted-by-todo)
48 (todos-display-categories-sorted-by-diary)
49 (todos-display-categories-sorted-by-done)
50 (todos-display-categories-sorted-by-archived): Comment out.
51 (todos-comment-string, todos-mode-line-function)
52 (todos-filter-function, todos-priorities-rules)
53 (todos-visit-files-commands, todos-categories-totals-label)
54 (todos-use-only-highlighted-region, todos-diary-nonmarking):
55 New defcustoms.
56 (todos-mark, todos-comment): New faces.
57 (todos-comment-face): Corresponding new variable.
58 (todos-categories-full, todos-global-current-todos-file)
59 (todos-first-visit, todos-insertion-commands-args-genlist)
60 (todos-insertion-commands-args, todos-insertion-commands-names)
61 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
62 (todos-top-priorities-widgets, todos-date-from-calendar)
63 (todos-item-mark, todos-categories-with-marks): New variables.
64 (todos-mode-line-control, todos-reset-global-current-todos-file)
65 (todos-gen-arglists, todos-insertion-command-name)
66 (todos-insertion-key-bindings, todos-unload-hook)
67 (todos-filter-items, todos-set-date-from-calendar)
68 (todos-comment-string-matcher, todos-after-find-file)
69 (todos-reset-nondiary-marker, todos-reset-done-string)
70 (todos-reset-comment-string, todos-show-current-file)
71 (todos-item-marked-p, todos-total-item-counts): New functions.
72 (todos-define-insertion-command): New macro.
73 (todos-toggle-mark-item, todos-mark-category)
74 (todos-unmark-category, todos-set-top-priorities)
75 (todos-merged-diary-items, todos-regexp-items)
76 (todos-merged-regexp-items, todos-custom-items)
77 (todos-merged-custom-items, todos-comment-done-item)
78 (todos-archive-category-done-items, todos-unarchive-items)
79 (todos-print-to-file): New commands.
80 (todos-done-separator): Change :set function.
81 (todos-done-string): Uncomment :initialize and :set functions.
82 (todos-files): Use file-truename.
83 (todos-show-current-file): Rename from
84 todos-auto-switch-todos-file and change :set function accordingly.
85 (todos-font-lock-keywords): Use todos-comment-string-matcher;
86 change names of other matcher functions to new *-matcher.
87 (todos-category-number): Change initial value.
88 (todos-insertion-map): Use todos-insertion-key-bindings to
89 generate key definitions.
90 (todos-mode-map): Don't suppress digit keys, so they can supply
91 prefix arguments; add new and change some existing bindings.
92 (todos-archive-mode-map): Change a key binding.
93 (todos-categories-mode-map): Comment out a key binding.
94 (todos-filter-items-mode-map): Rename from
95 todos-top-priorities-mode-map.
96 (todos-mode): Make todos-current-todos-file,
97 todos-categories-full, todos-categories, todos-first-visit,
98 todos-category-number, todos-show-done-only,
99 todos-categories-with-marks local variables and set them; add
100 todos-show-current-file to pre-command-hook, todos-after-find-file
101 to post-command-hook and todos-reset-global-current-todos-file to
102 kill-buffer-hook.
103 (todos-archive-mode): Make todos-current-todos-file,
104 todos-categories and todos-category-number local variables and set
105 them; add todos-after-find-file to post-command-hook.
106 (todos-raw-mode): New derived major mode.
107 (todos-categories-mode): Don't set font-lock-defaults and
108 buffer-read-only; make todos-current-todos-file and
109 todos-categories local variables and set them.
110 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
111 (todos-quit): Don't reset todos-categories on quitting
112 todos-categories-mode; handle quitting todos-filter-items-mode.
113 (todos-show): Simplify; when visiting an archive file switch to
114 corresponding Todos file; use todos-first-visit.
115 (todos-view-archived-items): Simplify; call todos-category-number.
116 (todos-show-archive): Rename from todos-switch-to-archive and
117 adjust callers; simplify.
118 (todos-toggle-display-date-time): Add optional argument to toggle
119 display in entire file.
120 (todos-top-priorities): Use todos-filter-items, which now contains
121 the previous core of this command.
122 (todos-merged-top-priorities, todos-diary-items):
123 Use todos-filter-items.
124 (todos-forward-category): Add optional argument to go to the
125 previous category.
126 (todos-backward-category): Use todos-forward-category.
127 (todos-jump-to-category): Refine implementation.
128 (todos-forward-item, todos-backward-item): Fix movement from todo
129 to done item and vice versa.
130 (todos-add-file): Remove argument and simplify.
131 (todos-rename-category): Use todos-current-todos-file and
132 todos-mode-line-function; set todos-categories with
133 todos-set-categories.
134 (todos-delete-category): Ask what to do if category has archived items.
135 (todos-raise-category): Ensure modified todos-categories is added
136 to file's categories sexp.
137 (todos-move-category): Improve implementation, especially handling
138 of archived categories.
139 (todos-merge-category): Tweak; set item counts.
140 (todos-insert-item): Improve handling of various argument values;
141 add new argument values to control marking of diary items and to
142 use region for item body.
143 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
144 (todos-delete-item, todos-edit-item-header): Handle marked items.
145 (todos-edit-item): Incorporate functionality of removed
146 todos-string-multiline-p.
147 (todos-edit-multiline): Use set-window-buffer instead of
148 switch-to-buffer.
149 (todos-edit-quit): Don't save on quitting; use todos-show instead
150 of todos-category-select.
151 (todos-raise-item-priority): Add argument to lower priority;
152 improve handling of top priority items in todos-filter-items-mode;
153 restore marks.
154 (todos-lower-item-priority): Use todos-raise-item-priority.
155 (todos-set-item-priority): Increment maximum number if item is new.
156 (todos-move-item): Handle marked items; delay changing category
157 moved from till after movement to avoid restoring if user cancels
158 before insertion.
159 (todos-item-done): Add optional argument to insert comment; fix
160 item counts and update sexp.
161 (todos-item-undo): Fix item counts and update.
162 (todos-archive-done-item-or-items): Rename from
163 todos-archive-done-items; add optional argument to archive all
164 items in category; handle marked items.
165 (todos-unarchive-category): Use todos-unarchive-items.
166 (todos-toggle-diary-inclusion): Incorporate functionality of
167 removed todos-toggle-item-diary-inclusion; handle marked items.
168 (todos-print): Add optional argument to print to file.
169 (todos-done-string-start): Don't use todos-nondiary-start.
170 (todos-date-string-matcher, todos-time-string-matcher)
171 (todos-done-string-matcher, todos-category-string-matcher): Rename
172 from *-match and adjust callers.
173 (todos-wrap-and-indent): Use set instead of setq for local variables.
174 (todos-prefix-overlays): Improve overlay handling.
175 (todos-reset-categories): Fix and complete implementation.
176 (todos-toggle-show-current-file): Rename from
177 todos-toggle-switch-todos-file-noninteractively.
178 (todos-category-select): Use todos-mode-line-function.
179 (todos-item-start): Comment out code used by removed function.
180 (todos-remove-item): Handle presence of both prefix/number and
181 mark overlays.
182 (todos-get-count): Simplify.
183 (todos-set-count): Change argument list and adjust callers; simplify.
184 (todos-set-categories): Handle new archive files; use
185 todos-categories-full and todos-ignore-archived-categories.
186 (todos-truncate-categories-list): Use todos-categories-full.
187 (todos-update-categories-sexp): Use kill-region instead of
188 kill-line; use todos-categories-full.
189 (todos-read-file-name): Add argument to require existing file and
190 adjust callers; use file-truename.
191 (todos-read-category): Remove argument to require existing
192 category and delegate it to completing-read in function body.
193 (todos-validate-category-name): Make empty string prompt only for
194 initial category name.
195 (todos-read-date): Use = instead of eq for testing if month = 13,
196 and if it is, set monthname to *.
197 (todos-display-categories): Use todos-global-current-todos-file;
198 use set-window-buffer instead of switch-to-buffer; add a line
199 showing item count totals.
200 (todos-padded-string): Use the longest of category name or label.
201 (todos-descending-counts): Rename from
202 todos-descending-counts-store and adjust users.
203 (todos-insert-category-line): Adjust format; use mapconcat; kill
204 buffer after jumping to category.
205
12012-09-18 Stephen Berman <stephen.berman@gmx.net> 2062012-09-18 Stephen Berman <stephen.berman@gmx.net>
2 207
3 * calendar/todos.el Add and revise various doc strings, remove 208 * calendar/todos.el Add and revise various doc strings, remove
@@ -87,7 +292,7 @@
87 Todos files; change display to include category (and file) name as 292 Todos files; change display to include category (and file) name as
88 part of item header; use todos-top-priorities-mode. 293 part of item header; use todos-top-priorities-mode.
89 (todos-diary-items): Reimplement using only todos-top-priorities. 294 (todos-diary-items): Reimplement using only todos-top-priorities.
90 (todos-forward-category, todos-backward-category): Accommodate to 295 (todos-forward-category, todos-backward-category): Adjust to
91 1-based numbering of categories; move point to top of category. 296 1-based numbering of categories; move point to top of category.
92 (todos-jump-to-category): Rewrite, adding optional arguments to 297 (todos-jump-to-category): Rewrite, adding optional arguments to
93 provide a category in non-interactive uses and to prompt for which 298 provide a category in non-interactive uses and to prompt for which
@@ -104,8 +309,8 @@
104 (todos-delete-category): Use todos-get-count and 309 (todos-delete-category): Use todos-get-count and
105 todos-update-categories-sexp, let-bind variable that were 310 todos-update-categories-sexp, let-bind variable that were
106 mistakenly global; use delete-region instead of kill-region; 311 mistakenly global; use delete-region instead of kill-region;
107 accommodate to 1-based numbering of categories; move point to top 312 adjust to 1-based numbering of categories; move point to top of
108 of category. 313 category.
109 (todos-raise-category): Handle item count vectors; use 314 (todos-raise-category): Handle item count vectors; use
110 todos-insert-category-line and todos-update-categories-sexp. 315 todos-insert-category-line and todos-update-categories-sexp.
111 (todos-insert-item): Use nil time-string argument to omit time 316 (todos-insert-item): Use nil time-string argument to omit time
@@ -169,7 +374,7 @@
169 (todos-item-done): Handle diary items; simplify handling of 374 (todos-item-done): Handle diary items; simplify handling of
170 insertion in done items section. 375 insertion in done items section.
171 (todos-item-undo): Handle diary items. 376 (todos-item-undo): Handle diary items.
172 (todos-archive-done-items): Accommodate to new handling of archive 377 (todos-archive-done-items): Adjust to new handling of archive
173 files (in parallel with Todos files); handle diary items; use 378 files (in parallel with Todos files); handle diary items; use
174 todos-done-string-start. 379 todos-done-string-start.
175 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start, 380 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
@@ -192,8 +397,7 @@
192 (todos-reset-separator): Handle archive files. 397 (todos-reset-separator): Handle archive files.
193 (todos-category-number): Make category number one more than its 398 (todos-category-number): Make category number one more than its
194 list index. 399 list index.
195 (todos-current-category): Accommodate to 1-based numbering of 400 (todos-current-category): Adjust to 1-based numbering of categories.
196 categories.
197 (todos-category-select): Simplify handling of done items and done 401 (todos-category-select): Simplify handling of done items and done
198 separator string overlay. 402 separator string overlay.
199 (todos-item-start): Use todos-date-string-start and 403 (todos-item-start): Use todos-date-string-start and