1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
emacs/lisp/calendar
Stephen Berman d610f6dd0f * calendar/todo-mode.el: Add handling of file deletion, both by
mode command and externally.  Fix various related bugs.  Clarify
Commentary and improve some documentation strings and code.
(todo-delete-file): New command.
(todo-check-file): New function.
(todo-show): Handle external deletion of the file we're trying to
show.  Replace called-interactively-p by an optional
prefix argument to avoid problematic interaction with catch form
when byte compiled (bug#14702).
(todo-quit): Handle external deletion of the archive's todo file.
Make sure the buffer that was visiting the archive file is still
live before trying to bury it.
(todo-category-completions): Handle external deletion of any
category completion files.
(todo-jump-to-category, todo-basic-insert-item): Recalculate list
of todo files, in case of external deletion.
(todo-add-file): Replace unnecessary setq by let-binding.
(todo-find-archive): Check whether there are any archives.
Replace unnecessary setq by let-binding.
(todo-archive-done-item): Use find-file-noselect to get the
archive buffer whether or not the archive already exists.  Remove
superfluous code.  Use file size instead of buffer-file-name to
check if the archive is new; if it is, update list of archives.
(todo-default-todo-file): Allow nil to be a valid value for when
there are no todo files.
(todo-reevaluate-default-file-defcustom): Use corrected definition
of todo-default-todo-file.
(todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
(todo-delete-category, todo-show-categories-table)
(todo-category-number): Clarify comment.
(todo-filter-items): Clarify documentation string.
(todo-show-current-file, todo-display-as-todo-file)
(todo-reset-and-enable-done-separator): Tweak documentation string.
(todo-done-separator): Make separator length window-width, since
bug#2749 is now fixed.

Fixes: debbugs:14688
2013-07-05 16:03:35 +02:00
..
.gitignore
appt.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-bahai.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-china.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-coptic.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-dst.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-french.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-hebrew.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-html.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-islam.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-iso.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-julian.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-mayan.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-menu.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-move.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-persia.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-tex.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
cal-x.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
calendar.el Make S-SPC scroll in the opposite direction to SPC 2013-02-11 20:46:18 -08:00
diary-lib.el * diary-lib.el (diary-goto-entry-function): New variable. 2013-06-18 18:05:01 +02:00
holidays.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
icalendar.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
lunar.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
parse-time.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
solar.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
time-date.el Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca 2013-01-02 08:13:04 -08:00
timeclock.el Use locate-user-emacs-file. 2013-03-11 22:08:21 -04:00
todo-mode.el * calendar/todo-mode.el: Add handling of file deletion, both by 2013-07-05 16:03:35 +02:00