diff options
| author | Stephen Berman | 2010-05-25 01:19:50 +0100 |
|---|---|---|
| committer | Stephen Berman | 2010-05-25 01:19:50 +0100 |
| commit | 2c173503dcb83660571ab5abe244cc559eb61596 (patch) | |
| tree | 08802bec7cfcd727be6560ac4fa1d496c99b3256 /lisp/ChangeLog | |
| parent | b28025eddc48b2a17a0b1c011ef97eea77917acc (diff) | |
| download | emacs-2c173503dcb83660571ab5abe244cc559eb61596.tar.gz emacs-2c173503dcb83660571ab5abe244cc559eb61596.zip | |
* calendar/todos.el: Comment out calendar require, since diary-lib
requires calendar. Rearrange file to group definitions according
to their use (types of commands, internal functions, etc.)
(todos-file-done, todos-insert-threshold, todos-remove-separator)
(todos-date-string, todos-time-string, todos-check-overlay)
(todos-show-paren-hack, todos-file-item, todos-more-important-p):
Comment out.
(todos-current-date, todos-item-end-overlays)
(todos-list-categories): Remove.
(todos-item-end): Remove (the variable, not the function).
(todos-item-overlays): Rename to todos-prefix-overlays and adjust
callers.
(todos-prefix-overlays): Rename from todos-item-overlays.
(todos-done-separator, todos-done-string, todos-show-with-done)
(todos-files, todos-archive-file, todos-categories-buffer)
(todos-archived-categories-buffer, todos-wrap-lines)
(todos-line-wrapping-function): New defcustoms.
(todos-done, todos-done-sep): New faces.
(todos-done-face, todos-done-sep-face): Corresponding new variables.
(todos-search-string, todos-date-nodayname-pattern)
(todos-dayname-date-pattern, todos-date-pattern): New variables.
(todos-done-string-match, todos-category-string-match)
(todos-check-format, todos-wrap-and-indent, todos-reset-separator)
(todos-current-category, todos-count-items-in-category)
(todos-done-item-p, todos-categories-alist, todos-count-all-items)
(todos-longest-category-name-length): New functions.
(todos-categories-list): New buffer-specific function replacing
todos-list-categories.
(todos-toggle-item-numbering, todos-toggle-view-done-items)
(todos-search, todos-view-archive, todos-diary-items)
(todos-toggle-display-date-time, todos-insert-item-no-time)
(todos-insert-item-ask-date, todos-insert-item-for-diary)
(todos-insert-item-from-calendar, todos-edit-quit)
(todos-change-date, todos-item-done, todos-archive-done-items)
(todos-item-undo): New commands.
(todos-archive-mode): New mode.
(todos-archive-mode-map, todos-edit-mode-map): New keymaps.
(todos-category-beg): Change value.
(todos-number-prefix): Change default value.
(todos-edit-buffer): Change from defvar to defcustom.
(todos-font-lock-keywords): Use todos-done-string-match and
todos-category-string-match.
(todos-backward-item, todos-forward-item): Use todos-done-string
and todos-date-pattern.
(todos-display-categories): Reimplement using buttons from
button.el instead of widgets.
(todos-top-priorities): Use with-current-buffer; take done items
into account; ensure buffers gets fontified.
(todos-add-category): Ensure new category does not begin with
empty lines.
(todos-jump-to-category): Use todos-category-select instead of
todos-show.
(todos-rename-category): Prompt for new name in body instead of in
interactive spec.
(todos-insert-item): Don't insert in done items section of
category. Add two optional arguments to control insertion: (i) to
insert near point without prompting for priority; (ii) to use
defaults for date and time strings, to prompt for these, or to
choose date from the Calendar.
(todos-insert-item-here): Reimplement using todos-insert-item.
(todos-delete-item): Don't move point after deleting last item.
(todos-raise-item, todos-lower-item): Take done items into account.
(todos-move-item): Don't move done items; update item numbering;
restore if user quits before inserting moved item.
(todos-print): Prompt for confirmation to print.
(todos-reset-prefix): Search backward from end of file instead of
forward from top.
(todos-jump-to-category-noninteractively): Take Todos archive into
account.
(todos-category-select): Show or hide done items according to
todos-show-with-done; if shown, coordinate separator and prefix
overlays.
(todos-add-item-non-interactively): Replace binary insertion
algorithm with prompting for numerical priority.
(todos-insert-with-overlays): Remove use of variable todos-item-end.
(todos-item-start): Take done items into account; use
todos-date-pattern.
(todos-item-end): Reimplement using todos-forward-item.
(todos-remove-item): Reimplement using todos-forward-item and
todos-backward-item; redo overlay handling.
(todos-mode-map): Add some new key bindings and change numerous
existing bindings; use "i" as prefix key for item insertion
commands.
(todos-mode): Use todos-wrap-lines and delegate word-wrap and
wrap-prefix settings to todos-wrap-and-indent; add to invisibility
spec; set buffer-read-only to t and consequently let-bind this
variable in all Todos commands that change buffer content.
(todos-edit-mode): Make an indepent mode, not derived from text-mode.
(todos-save): Don't save top priorities buffer.
(todos-show): Make a no-op if called interactively in narrowed
Todos mode, since, also to work around item prefix reduplication
bug with show-paren-mode enabled; use todos-categories-list.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4110a4ad087..e2d88a96ac4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,98 @@ | |||
| 1 | 2012-09-13 Stephen Berman <stephen.berman@gmx.net> | ||
| 2 | |||
| 3 | * calendar/todos.el: Comment out calendar require, since diary-lib | ||
| 4 | requires calendar. Rearrange file to group definitions according | ||
| 5 | to their use (types of commands, internal functions, etc.) | ||
| 6 | (todos-file-done, todos-insert-threshold, todos-remove-separator) | ||
| 7 | (todos-date-string, todos-time-string, todos-check-overlay) | ||
| 8 | (todos-show-paren-hack, todos-file-item, todos-more-important-p): | ||
| 9 | Comment out. | ||
| 10 | (todos-current-date, todos-item-end-overlays) | ||
| 11 | (todos-list-categories): Remove. | ||
| 12 | (todos-item-end): Remove (the variable, not the function). | ||
| 13 | (todos-item-overlays): Rename to todos-prefix-overlays and adjust | ||
| 14 | callers. | ||
| 15 | (todos-prefix-overlays): Rename from todos-item-overlays. | ||
| 16 | (todos-done-separator, todos-done-string, todos-show-with-done) | ||
| 17 | (todos-files, todos-archive-file, todos-categories-buffer) | ||
| 18 | (todos-archived-categories-buffer, todos-wrap-lines) | ||
| 19 | (todos-line-wrapping-function): New defcustoms. | ||
| 20 | (todos-done, todos-done-sep): New faces. | ||
| 21 | (todos-done-face, todos-done-sep-face): Corresponding new variables. | ||
| 22 | (todos-search-string, todos-date-nodayname-pattern) | ||
| 23 | (todos-dayname-date-pattern, todos-date-pattern): New variables. | ||
| 24 | (todos-done-string-match, todos-category-string-match) | ||
| 25 | (todos-check-format, todos-wrap-and-indent, todos-reset-separator) | ||
| 26 | (todos-current-category, todos-count-items-in-category) | ||
| 27 | (todos-done-item-p, todos-categories-alist, todos-count-all-items) | ||
| 28 | (todos-longest-category-name-length): New functions. | ||
| 29 | (todos-categories-list): New buffer-specific function replacing | ||
| 30 | todos-list-categories. | ||
| 31 | (todos-toggle-item-numbering, todos-toggle-view-done-items) | ||
| 32 | (todos-search, todos-view-archive, todos-diary-items) | ||
| 33 | (todos-toggle-display-date-time, todos-insert-item-no-time) | ||
| 34 | (todos-insert-item-ask-date, todos-insert-item-for-diary) | ||
| 35 | (todos-insert-item-from-calendar, todos-edit-quit) | ||
| 36 | (todos-change-date, todos-item-done, todos-archive-done-items) | ||
| 37 | (todos-item-undo): New commands. | ||
| 38 | (todos-archive-mode): New mode. | ||
| 39 | (todos-archive-mode-map, todos-edit-mode-map): New keymaps. | ||
| 40 | (todos-category-beg): Change value. | ||
| 41 | (todos-number-prefix): Change default value. | ||
| 42 | (todos-edit-buffer): Change from defvar to defcustom. | ||
| 43 | (todos-font-lock-keywords): Use todos-done-string-match and | ||
| 44 | todos-category-string-match. | ||
| 45 | (todos-backward-item, todos-forward-item): Use todos-done-string | ||
| 46 | and todos-date-pattern. | ||
| 47 | (todos-display-categories): Reimplement using buttons from | ||
| 48 | button.el instead of widgets. | ||
| 49 | (todos-top-priorities): Use with-current-buffer; take done items | ||
| 50 | into account; ensure buffers gets fontified. | ||
| 51 | (todos-add-category): Ensure new category does not begin with | ||
| 52 | empty lines. | ||
| 53 | (todos-jump-to-category): Use todos-category-select instead of | ||
| 54 | todos-show. | ||
| 55 | (todos-rename-category): Prompt for new name in body instead of in | ||
| 56 | interactive spec. | ||
| 57 | (todos-insert-item): Don't insert in done items section of | ||
| 58 | category. Add two optional arguments to control insertion: (i) to | ||
| 59 | insert near point without prompting for priority; (ii) to use | ||
| 60 | defaults for date and time strings, to prompt for these, or to | ||
| 61 | choose date from the Calendar. | ||
| 62 | (todos-insert-item-here): Reimplement using todos-insert-item. | ||
| 63 | (todos-delete-item): Don't move point after deleting last item. | ||
| 64 | (todos-raise-item, todos-lower-item): Take done items into account. | ||
| 65 | (todos-move-item): Don't move done items; update item numbering; | ||
| 66 | restore if user quits before inserting moved item. | ||
| 67 | (todos-print): Prompt for confirmation to print. | ||
| 68 | (todos-reset-prefix): Search backward from end of file instead of | ||
| 69 | forward from top. | ||
| 70 | (todos-jump-to-category-noninteractively): Take Todos archive into | ||
| 71 | account. | ||
| 72 | (todos-category-select): Show or hide done items according to | ||
| 73 | todos-show-with-done; if shown, coordinate separator and prefix | ||
| 74 | overlays. | ||
| 75 | (todos-add-item-non-interactively): Replace binary insertion | ||
| 76 | algorithm with prompting for numerical priority. | ||
| 77 | (todos-insert-with-overlays): Remove use of variable todos-item-end. | ||
| 78 | (todos-item-start): Take done items into account; use | ||
| 79 | todos-date-pattern. | ||
| 80 | (todos-item-end): Reimplement using todos-forward-item. | ||
| 81 | (todos-remove-item): Reimplement using todos-forward-item and | ||
| 82 | todos-backward-item; redo overlay handling. | ||
| 83 | (todos-mode-map): Add some new key bindings and change numerous | ||
| 84 | existing bindings; use "i" as prefix key for item insertion | ||
| 85 | commands. | ||
| 86 | (todos-mode): Use todos-wrap-lines and delegate word-wrap and | ||
| 87 | wrap-prefix settings to todos-wrap-and-indent; add to invisibility | ||
| 88 | spec; set buffer-read-only to t and consequently let-bind this | ||
| 89 | variable in all Todos commands that change buffer content. | ||
| 90 | (todos-edit-mode): Make an indepent mode, not derived from text-mode. | ||
| 91 | (todos-save): Don't save top priorities buffer. | ||
| 92 | (todos-show): Make a no-op if called interactively in narrowed | ||
| 93 | Todos mode, since, also to work around item prefix reduplication | ||
| 94 | bug with show-paren-mode enabled; use todos-categories-list. | ||
| 95 | |||
| 1 | 2012-09-12 Stephen Berman <stephen.berman@gmx.net> | 96 | 2012-09-12 Stephen Berman <stephen.berman@gmx.net> |
| 2 | 97 | ||
| 3 | * calendar/todos.el: Comment out time-stamp require; require | 98 | * calendar/todos.el: Comment out time-stamp require; require |