1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-02 11:50:48 -08:00
emacs/lisp/calendar
Stephen Berman 36bf4fa0b3 Fix several todo-mode.el editing bugs (bug#42976)
* lisp/calendar/todo-mode.el (todo-insert-item--basic): Ensure the
target todo file is in todo-mode.
(todo-edit-item--text): When editing a done item comment, prevent
clobbering match data on finishing the edit.
(todo-edit-item--header): Ensure that decrementing the month of
the date header works for intervals greater than a year, and when
incrementing or decrementing the month crosses one or more years,
adjust the year as needed.
(todo-read-category): If we're outside of todo-mode and there is a
current todo file, use it; otherwise, use the default todo file.

* test/lisp/calendar/todo-mode-tests.el
(todo-test-edit-item-date-month): New test.

* test/lisp/calendar/todo-mode-resources/todo-test-1.todo: Modify
to accommodate new test.
2020-08-21 22:41:48 +02:00
..
appt.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-bahai.el Use proper digraphs in Bahá’í month names 2020-05-12 15:20:23 -07:00
cal-china.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-coptic.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-dst.el Rename recent calendar user option 2020-08-12 11:30:16 +01:00
cal-french.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-hebrew.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-html.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-islam.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-iso.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-julian.el ; Fix warning after last change in cal-julian.el 2020-05-14 01:30:36 +02:00
cal-mayan.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-menu.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-move.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-persia.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-tex.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cal-x.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
calendar.el Rename recent calendar user option 2020-08-12 11:30:16 +01:00
diary-lib.el Merge from origin/emacs-27 2020-01-01 01:08:16 +00:00
holidays.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
icalendar.el Declare some <package>-version variables obsolete 2020-03-21 02:49:25 +01:00
iso8601.el Give fuller support for obsolete ---12 dates in iso8601 2020-01-30 03:02:48 +01:00
lunar.el Use lexical-binding in lunar.el and add tests 2020-06-07 19:57:45 +02:00
parse-time.el Fix parse-time-string bug with ISO 8601 defaults 2020-01-24 13:41:55 -08:00
solar.el Tweak recent solar.el change 2020-08-12 11:30:16 +01:00
time-date.el Fix off-by-one error in decoded-time-add (with months) 2020-08-21 00:38:23 +02:00
timeclock.el Make more load-hooks obsolete 2020-01-16 23:06:04 -08:00
todo-mode.el Fix several todo-mode.el editing bugs (bug#42976) 2020-08-21 22:41:48 +02:00