0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-20 07:26:30 +00:00
org-mode/testing/examples/agenda-file2.org
Ihor Radchenko a19a72f7d3
org-agenda: Fix grid lines when `org-agenda-default-appointment-duration' is non-nil
* lisp/org-agenda.el (org-agenda-add-time-grid-maybe): Let-bind
`org-agenda-default-appointment-duration' to nil when formatting the
grid lines.  Otherwise, `org-agenda-format-item' logic fails to
produce the expected result.
* testing/lisp/test-org-agenda.el (test-org-agenda/time-grid): Add new
test set covering the bug and several simpler cases.
* testing/examples/agenda-file2.org (two): New test file example.

Reported-by: Detlef Steuer <steuer@hsu-hh.de>
Link: https://orgmode.org/list/87edv5fv1w.fsf@localhost
2024-01-17 15:40:24 +01:00

201 B

TODO one

SCHEDULED: <2024-01-17 Wed 09:30-10:00>

TODO two

SCHEDULED: <2024-01-17 Wed 10:00-12:30>

TODO three

SCHEDULED: <2024-01-17 Wed 13:00-15:00>

TODO four

SCHEDULED: <2024-01-17 Wed 19:00>