I recently went Win7->Win10 on my work PC and org-agenda is now kicking an error.
I've reduced my org-mode related .emacs down to the following and the issue is persisting.
(custom-set-variables
'(org-agenda-files (quote ("~/org/inWork.org")))
)
When I run org-agenda 'a', I get an empty agenda, dates only, nothing is captured from inWork.org. The minibuffer displays Wrong number of arguments: (0 . 0), 2
Running the same in debug mode gives a backtrace of
Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 0) 2)
org-get-tags(nil nil)
org-agenda-get-deadlines()
org-agenda-get-day-entries("~/org/inWork.org" (2 7 2019) :deadline :scheduled :timestamp :sexp)
apply(org-agenda-get-day-entries "~/org/inWork.org" (2 7 2019) (:deadline :scheduled :timestamp :sexp))
org-agenda-list(nil)
funcall-interactively(org-agenda-list nil)
call-interactively(org-agenda-list)
org-agenda(nil)
funcall-interactively(org-agenda nil)
call-interactively(org-agenda nil nil)
command-execute(org-agenda)
org-agenda 't' fails similarly. I tried stripping down the org files and .emacs as much as possible, but I haven't been able to isolate the issue.
Any help appreciated.
Well, just uninstalled org 9.2.1, falling back to org 9.1.9 (built-in), and that fixed it. Agenda scrapes the files, no errors.
Not sure what the problem with 9.2.1. is.