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
..
2020-08-09 15:13:05 -05:00
2020-05-15 20:15:36 +02:00
2020-08-21 22:41:48 +02:00
2020-08-18 20:10:44 +02:00
2020-05-01 13:05:26 +02:00
2020-08-19 15:02:43 +01:00
2020-05-01 13:05:26 +02:00
2020-08-05 10:27:40 +02:00
2020-06-07 09:03:59 -07:00
2020-08-12 18:39:06 -07:00
2020-07-31 04:19:03 +02:00
2020-08-21 14:47:45 +02:00
2020-08-14 16:15:13 +02:00
2020-08-07 17:37:06 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-13 02:06:03 +02:00
2020-08-14 10:58:00 -04:00
2020-08-08 01:40:38 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-08-19 15:36:08 +02:00
2020-08-15 13:37:38 +02:00
2020-08-04 14:48:38 +02:00
2020-01-01 00:59:52 +00:00
2020-04-18 18:43:23 +02:00
2020-05-14 18:43:15 +02:00
2020-01-22 07:37:01 +01:00
2020-01-01 00:59:52 +00:00
2020-06-21 13:42:14 +01:00
2020-01-22 11:45:26 +01:00
2020-06-18 13:11:17 +01:00
2020-08-09 15:13:05 -05:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-07-08 17:35:54 -07:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-04-30 10:46:54 +01:00
2020-05-20 00:15:11 +01:00
2020-04-19 08:04:57 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-08-15 12:11:41 +02:00
2020-03-07 12:17:01 -08:00
2020-08-12 16:30:17 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-06-18 12:46:21 +01:00
2020-08-11 15:26:24 +02:00
2020-05-09 20:01:37 +02:00
2020-01-01 00:59:52 +00:00
2020-04-14 02:33:52 +03:00
2020-01-01 00:59:52 +00:00
2020-01-24 23:04:34 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-06-21 12:50:34 +01:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-05-22 15:16:13 +01:00
2020-04-18 17:10:02 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-04-26 00:30:37 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-16 22:25:07 -07:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-31 12:31:27 +02:00
2020-01-01 00:59:52 +00:00
2020-08-08 01:40:38 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-20 15:52:27 +01:00
2020-08-14 11:37:48 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-14 19:29:14 +02:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-05-14 18:43:15 +02:00
2020-02-21 11:15:00 +02:00
2020-01-01 00:59:52 +00:00
2020-05-01 13:05:26 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 01:08:16 +00:00
2020-01-01 00:59:52 +00:00
2020-04-28 23:35:52 +02:00
2020-08-04 15:15:45 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-05-23 14:01:17 +02:00
2020-01-01 00:59:52 +00:00