组织议程“错误数量的论点”错误 [英] Org agenda "wrong number of arguments" error
问题描述
我最近在工作PC上运行了Win7-> Win10,并且org-agenda现在出现错误。
I recently went Win7->Win10 on my work PC and org-agenda is now kicking an error.
- 2018年5月30日的GNU Emacs 26.1(build 1,x86_64-w64-mingw32)
- org 9.2.1
我已将与组织模式相关的.emacs简化为以下内容,问题仍然存在。
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")))
)
当我运行org-agenda时,我的议程空着,只有日期,没有从inWork.org中捕获任何东西。迷你缓冲区显示错误的参数数量:(0。0),2
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议程't'同样失败。我尝试了尽可能多地剥离组织文件和.emacs,但我一直无法找出问题所在。
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.
任何帮助表示感谢。
推荐答案
好吧,刚刚卸载了org 9.2.1,又回到了org 9.1.9(内置),并进行了修复它。议程会抓取文件,没有错误。
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.
不确定9.2.1出现了什么问题。是。
Not sure what the problem with 9.2.1. is.
这篇关于组织议程“错误数量的论点”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!