alphapapa / alphapapa/org-super-agenda
origami code doesn't work with a87ca11
- Lingua principale
- Emacs Lisp
- Stelle
- 1.5k
- Fork
- 107
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I just updated to a87ca11 of org-super-agenda and realized I got a origami related error when trying to update a heading in org-super-agenda from `TODO` to `IN-PROGRESS`.
I rolled back to f65ff81 and had no issue so will continue using it for now.
Here is the error with a87ca11:
```
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
#f(compiled-function (line) #)(nil)
#f(compiled-function (levels) #)((nil))
#f(compiled-function (content) #)(#(" misc: 15:21...... Scheduled: ..." 0 38 (todo-state #("TODO" 0 4 (org-stats 64 org-category "misc" fontified nil)) org-habit-p nil priority 1099 warntime nil ts-date 737351 date (10 19 2019) type "scheduled" org-hd-marker # org-marker # face org-scheduled-today undone-face org-scheduled-today help-echo "mouse-2 or RET jump to Org file ~/bsab..." mouse-face highlight done-face org-agenda-done org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|D\\(?:ELEGAT..." org-todo-regexp "\\(CANCELLED\\|D\\(?:ELEGATED\\|ONE\\)\\|IN-..." org-not-done-regexp "\\(DELEGATED\\|IN-PROGRESS\\|NEXT\\|SOMEDA..." day 737351 org-day-cnt 1 ...) 38 49 (org-heading t face org-todo fontified nil org-todo-head #("TODO" 0 4 (face org-todo)) org-category "misc" tags ("refile") org-highest-priority 65 org-lowest-priority 67 time-of-day 1521 duration nil breadcrumbs nil txt #("TODO debug origami breaking org agenda..." 0 38 (org-heading t org-stats 64 org-category "misc" fontified nil) 38 49 (org-heading t)) level " " time "15:21......" extra "Scheduled: " 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" ...) (format "%-12s" ...) (if ... "" ...) (format "%s" ...))) dotime #("15:21 " 0 5 (org-stats 64 org-category "misc" fontified nil)) org-series-cmd nil org-redo-cmd (org-agenda-list 'nil nil 'day nil) ...) 49 50 (todo-state #("TODO" 0 4 (org-stats 64 org-category "misc" fontified nil)) org-habit-p nil priority 1099 warntime nil ts-date 737351 date (10 19 2019) type "scheduled" org-hd-marker # org-marker # face org-scheduled-today undone-face org-scheduled-today help-echo "mouse-2 or RET jump to Org file ~/bsab..." mouse-face highlight done-face org-agenda-done org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|D\\(?:ELEGAT..." org-todo-regexp "\\(CANCELLED\\|D\\(?:ELEGATED\\|ONE\\)\\|IN-..." org-not-done-regexp "\\(DELEGATED\\|IN-PROGRESS\\|NEXT\\|SOMEDA..." day 737351 org-day-cnt 1 ...) 50 83 (todo-state #("TODO" 0 4 (org-stats 64 org-category "misc" fontified nil)) org-habit-p nil priority 1099 warntime nil ts-date 737351 date (10 19 2019) type "scheduled" org-hd-marker # org-marker # face org-scheduled-today undone-face org-scheduled-today help-echo "mouse-2 or RET jump to Org file ~/bsab..." mouse-face highlight done-face org-agenda-done org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|D\\(?:ELEGAT..." org-todo-regexp "\\(CANCELLED\\|D\\(?:ELEGATED\\|ONE\\)\\|IN-..." org-not-done-regexp "\\(DELEGATED\\|IN-PROGRESS\\|NEXT\\|SOMEDA..." day 737351 org-day-cnt 1 ...) 83 150 (org-heading t org-category "misc" tags ("refile") org-highest-priority 65 org-lowest-priority 67 time-of-day 1521 duration nil breadcrumbs nil txt #("TODO debug origami breaking org agenda..." 0 38 (org-heading t org-stats 64 org-category "misc" fontified nil) 38 49 (org-heading t)) level " " time "15:21......" extra "Scheduled: " 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" ...) (format "%-12s" ...) (if ... "" ...) (format "%s" ...))) dotime #("15:21 " 0 5 (org-stats 64 org-category "misc" fontified nil)) org-series-cmd nil org-redo-cmd (org-agenda-list 'nil nil 'day nil) org-last-args (nil nil day) org-agenda-type agenda org-day-cnt 1 ...) 150 158 (todo-state #("TODO" 0 4 (org-stats 64 org-category "misc" fontified nil)) org-habit-p nil priority 1099 warntime nil ts-date 737351 date (10 19 2019) type "scheduled" org-hd-marker # org-marker # face (org-tag org-scheduled-today) undone-face org-scheduled-today help-echo "mouse-2 or RET jump to Org file ~/bsab..." mouse-face highlight done-face org-agenda-done org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|D\\(?:ELEGAT..." org-todo-regexp "\\(CANCELLED\\|D\\(?:ELEGATED\\|ONE\\)\\|IN-..." org-not-done-regexp "\\(DELEGATED\\|IN-PROGRESS\\|NEXT\\|SOMEDA..." day 737351 org-day-cnt 1 ...)))
origami-build-tree(# #f(compiled-function (content) #))
origami-get-fold-tree(#)
origami-forward-toggle-node(# 4062)
(progn (origami-forward-toggle-node (current-buffer) (point)) (origami-forward-fold-same-level (current-buffer) (point)))
(while (progn (origami-forward-toggle-node (current-buffer) (point)) (origami-forward-fold-same-level (current-buffer) (point))))
(progn (while (progn (origami-forward-toggle-node (current-buffer) (point)) (origami-forward-fold-same-level (current-buffer) (point)))) nil)
ap/org-super-agenda-origami-fold-default()
run-hooks(org-agenda-finalize-hook)
#f(compiled-function () #)()
apply(#f(compiled-function () #) nil)
org-agenda-finalize()
org-agenda-change-all-lines(#("IN-PROGRESS debug origami breaking org agenda :ref..." 0 11 (face org-todo fontified nil line-prefix #("*" 0 1 (face org-indent)) wrap-prefix #("*** " 0 4 (face org-indent)) org-todo-head #("TODO" 0 4 (face org-todo))) 12 45 (fontified nil org-category "misc" org-stats 64 line-prefix #("*" 0 1 (face org-indent)) wrap-prefix #("*** " 0 4 (face org-indent)) org-todo-head #("TODO" 0 4 (face org-todo))) 46 54 (fontified nil org-category "misc" org-stats 64 line-prefix #("*" 0 1 (face org-indent)) wrap-prefix #("*** " 0 4 (face org-indent)) org-todo-head #("TODO" 0 4 (face org-todo)))) # fixface nil)
org-agenda-todo(nil)
funcall-interactively(org-agenda-todo nil)
call-interactively(org-agenda-todo nil nil)
command-execute(org-agenda-todo)
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.