1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-18 03:40:47 -08:00
emacs/test/lisp/calendar/todo-mode-resources/todo-test-1.todo
Stephen Berman ed3c971534 Prevent spurious tabs by RET in todo-edit-mode (bug#43068)
* lisp/calendar/todo-mode.el (todo-key-bindings-t)
(todo-edit-mode-map): Remove remapping of `newline' to
`newline-and-indent'.
(todo-modes-set-1): Remove local setting of `indent-line-function'.
(todo-edit-mode): Locally set `indent-line-function' to `todo-indent'.

* test/lisp/calendar/todo-mode-tests.el (todo-test-move-item05):
Prevent interactive test failure.  (Until the addition of testcat4
to todo-test-1.todo, the test passed by chance, since testcat3 is
empty and has no archived items.)
(todo-test-edit-item-date-month): Refer to bug number.
(todo-test-multiline-item-indentation-1)
(todo-test-multiline-item-indentation-2)
(todo-test-multiline-item-indentation-3): New tests.

* test/lisp/calendar/todo-mode-resources/todo-test-1.todo: Remove
spurious tabs from testcat1.
2020-08-27 13:53:22 +02:00

24 lines
595 B
Text

(("testcat1" . [2 0 2 1]) ("testcat2" . [3 0 1 1]) ("testcat3" . [0 0 0 0]) ("testcat4" . [1 0 0 0]))
--==-- testcat1
[May 29, 2017] testcat1 item3
has more than one line
to test item highlighting
[Jul 3, 2017] testcat1 item4
==--== DONE
[DONE Jul 3, 2017] [Jun 30, 2017] testcat1 item5
[DONE Jul 3, 2017] [May 30, 2017] testcat1 item2
--==-- testcat2
[Jul 3, 2017] testcat2 item3
[Jul 3, 2017] testcat2 item4
[Jul 3, 2017] testcat2 item5
==--== DONE
[DONE Jul 3, 2017] [May 28, 2017] testcat2 item2
--==-- testcat3
==--== DONE
--==-- testcat4
[Jan 1, 2020] testcat4 item1
==--== DONE