1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
emacs/lisp/calendar
Stephen Berman 1cf6b15799 Fix several todo-mode bugs found while debugging bug#27609
* lisp/calendar/todo-mode.el (todo-toggle-mark-item): Calculate
current category only once.
(todo-mark-category): Update number of marked items to avoid
spurious duplication in todo-categories-with-marks alist and
corruption of the todo-categories alist.  Handle empty line
when there are no todo items and done items are shown.
(todo-set-item-priority): Make noop if called from
todo-raise-item-priority or todo-lower-item-priority when
point is on a done todo item or an empty line.
(todo-move-item): Use markers instead of integer positions to
correctly handle deleting the now moved items from the source
category (without markers an infinite loop arises when moving
marked item to a preceding category).
(todo-unarchive-items): Put point on the (first) restored done
item, instead of leaving it at the end of the done items
separator string.
(todo-revert-buffer): Ensure buffer remains read-only after
reverting.
2017-07-07 17:37:46 +02:00
..
appt.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
cal-bahai.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-china.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-coptic.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-dst.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-french.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-hebrew.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
cal-html.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-islam.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-iso.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
cal-julian.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-mayan.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-menu.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-move.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-persia.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cal-tex.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
cal-x.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
calendar.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
diary-lib.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
holidays.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
icalendar.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
lunar.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
parse-time.el Turn on lexical-binding in parse-time.el 2017-02-01 21:01:45 -05:00
solar.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
time-date.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
timeclock.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
todo-mode.el Fix several todo-mode bugs found while debugging bug#27609 2017-07-07 17:37:46 +02:00