From 943ff2103422b101eaf2b8708075afc91263483b Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 28 Jan 2009 03:56:08 +0000 Subject: [PATCH] * calendar/todo-mode.el (todo-insert-item-here): Prevent insertion of a new entry inside of an existing entry. Minor code cleanup. (todo-add-category): Change the interactive spec. Signal an error if the Todo file is non-empty but contains no category. Reject category names that could induce bugs and confusion. Call todo-mode if the Todo file is new and unsaved. Simplify handling of local variables cookie. Properly display the newly added category in Todo mode. (todo-show): Call todo-initial-setup only if there is neither a Todo file nor a corresponding unsaved buffer. (todo-category-alist): Delete function. (todo-completing-read): New function. (todo-insert-item, todo-jump-to-category): Use it. (todo-insert-item): Make the use of the prefix argument conform to the doc string. --- lisp/ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 144e208ae83..40f23fbd101 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,21 @@ +2009-01-28 Stephen Berman + + * calendar/todo-mode.el (todo-insert-item-here): Prevent insertion + of a new entry inside of an existing entry. Minor code cleanup. + (todo-add-category): Change the interactive spec. Signal an error + if the Todo file is non-empty but contains no category. Reject + category names that could induce bugs and confusion. Call + todo-mode if the Todo file is new and unsaved. Simplify handling + of local variables cookie. Properly display the newly added + category in Todo mode. + (todo-show): Call todo-initial-setup only if there is neither a + Todo file nor a corresponding unsaved buffer. + (todo-category-alist): Delete function. + (todo-completing-read): New function. + (todo-insert-item, todo-jump-to-category): Use it. + (todo-insert-item): Make the use of the prefix argument conform to + the doc string. + 2009-01-28 Glenn Morris * mail/rmail.el (rmail-expunge-and-save): Always show a message, -- 2.39.5