Unable to open org-agenda after using org-clock-in and org-clock-out
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### I confirm that...
- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.
- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.
- [X] The issue can be reproduced on the **latest** available commit of Doom.
- [X] The issue can be reproduced on a stable release of Emacs, such as 27 or 28. *(Doom does not support development builds like 29+ or any version ending in .50 or .9x)*
### Expected behavior
When I open org-agenda after using org-clock-in and org-clock-out, it should open the agenda.
### Current behavior
When I open org-agenda after using org-clock-in and org-clock-out, it throws the error below.
Debugger entered--Lisp error: (wrong-type-argument listp "----------------------")
org-agenda-add-time-grid-maybe((#(" scheduled: 11:12-11:14 Clocked: (0:02) TODO Monitoreo :Company::" 0 38 (done-face org-agenda-done undone-face org-warning date (2 2 2023) type "clock" effort-minutes nil effort nil priority 100000 face org-agenda-done org-hd-marker #> org-marker #> help-echo "mouse-2 or RET jump to org file ~/OneDrive/Emacs/org/Company/scheduled.org" org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(DONE\\|HOLD\\|IDEA\\|KILL\\|LOOP\\|NO\\|OKAY\\|PROJ\\|STRT\\|TODO\\|WAIT\\|YES\\|\\[\\(?:[ ?X-]]\\)\\)\\)?\\(?: +\\(\\[#.\\]\\)\\)?\\(?: +\\(.*?\\)\\)??\\(?:[ \11]+\\(:[[:alnum:]_@#%:]+:\\)\\)?[ \11]*$" org-todo-regexp "\\(DONE\\|HOLD\\|IDEA\\|KILL\\|LOOP\\|NO\\|OKAY\\|PROJ\\|STRT\\|TODO\\|WAIT\\|YES\\|\\[\\(?:[ ?X-]]\\)\\)" org-not-done-regexp "\\(HOLD\\|IDEA\\|LOOP\\|PROJ\\|STRT\\|TODO\\|WAIT\\|\\[\\(?:[ ?-]]\\)\\)" mouse-face highlight dotime #("CLOCK: [2023-02-02 Thu 11:12-11:14]" 0 28 (fontified nil org-fold--spec-org-fold-drawer--181214370863407833 org-fold-drawer isearch-open-invisible org-fold-core--isearch-show isearch-open-invisible-temporary org-fold-core--isearch-show-temporary) 29 34 (fontified nil org-fold--spec-org-fold-drawer--181214370863407833 org-fold-drawer isearch-open-invisible org-fold-core--isearch-show isearch-open-invisible-temporary org-fold-core--isearch-show-temporary)) format (((org-prefix-has-time t) (org-prefix-has-tag nil) (org-prefix-category-length 12) (org-prefix-has-effort nil) (org-prefix-has-breadcrumbs nil)) (format " %s %s%s%s" (format "%s" (if (member category-icon '("" nil)) "" (concat category-icon "" (get-text-property 0 'extra-space category-icon)))) (format "%-12s" (if (member category '("" nil)) "" (concat category ":" (get-text-property 0 'extra-space category)))) (if (member time '("" nil)) "" (format "%-12s" (concat time ""))) (format "%s" (if (member extra '("" nil)) "" (concat extra " " (get-text-property 0 'extra-space extra)))))) extra #("Clocked: (0:02)" 12 16 (fontified nil org-fold--spec-org-fold-drawer--181214370863407833 org-fold-drawer isearch-open-invisible org-fold-core--isearch-show isearch-open-invisible-temporary org-fold-core--isearch-show-temporary)) time "11:12-11:14" level " " txt #("TODO Monitoreo
### Steps to reproduce
1. Open Doom Emacs
2. Open Org-Agenda
3. Select a TODO Task
4. Press "I" key in keyboard.
5. After a couple of minutes press "O" key in keyboard.
6. Open or Refresh Org-Agenda.
7. You will get the error mentioned above
### System Information
https://pastebin.com/HGwVHtHZ
Contributor guide
Assessment
This issue has not been assessed yet.