I'm trying to add-to-list org-agenda, but I failboat
(setq c-view
`(
("c" "High Priority and Low Rewards"
(
(tags "PRIORITY=\"A\""
(
(org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
(org-agenda-overriding-header "High-priority unfinished tasks:"))
)
(agenda "")
(alltodo "")
)
)
)
)
(add-to-list 'org-agenda-custom-commands `,c-view)
I get this:
Debugger entered--Lisp error: (wrong-type-argument stringp ("c" "High Priority and Low Rewards" ((tags "PRIORITY=\"A\"" ((org-agenda-skip-function '(org-agenda-skip-entry-if ... ...)) (org-agenda-overriding-header "High-priority unfinished tasks:"))) (agenda "") (alltodo ""))))
string-to-char(("c" "High Priority and Low Rewards" ((tags "PRIORITY=\"A\"" ((org-agenda-skip-function '(org-agenda-skip-entry-if ... ...)) (org-agenda-overriding-header "High-priority unfinished tasks:"))) (agenda "") (alltodo ""))))
org-agenda-get-restriction-and-command(nil)
org-agenda(nil)
funcall-interactively(org-agenda nil)
call-interactively(org-agenda nil nil)
command-execute(org-agenda)
I'm not sure how to debug this. Where does it actually stop?;)
(add-to-list 'org-agenda-custom-commands c-view)
.