0
我是轻到中量级的emacs 25.1用户。直到我想导出为HTML或胶乳时,我一直在使用组织模式,但几乎没有任何困难。然后,它失败,“调试器中输入 - Lisp的错误:(错误的类型参数stringp |)”Emacs组织模式错误
回溯给出了这样的:
Debugger entered--Lisp error: (wrong-type-argument stringp |)
string-match("^\\(.*?\\)\\(?:(\\([^[email protected]/]\\)?.*?)\\)?$" |)
org-set-regexps-and-options()
org-mode()
set-auto-mode-0(org-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer outlines.org> "c:/Users/***/outlines.org" nil nil "c:/Users/****/outlines.org" (19984723346758628 3399104098))
find-file-noselect("c:/Users/****/outlines.org" nil nil nil)
find-file("c:/Users/****/outlines.org")
dired-find-file()
funcall-interactively(dired-find-file)
call-interactively(dired-find-file nil nil)
command-execute(dired-find-file)
我使用软件包系统无济于事重新安装了组织模式。我对lisp基本熟悉,但我是一名贸易图书管理员,而不是程序员。如果我知道要查找什么,我可以编辑.el文件。谢谢!
查看组织模式的源代码,您可能有一个TODO关键字的定义不清的列表。尝试运行'emacs -q'并导出一个没有TODO重定义文件的简单组织文件。 – Juancho
我一直有一些奇怪的问题,当我有两个不同版本的组织安装在两个不同的地方。确保你的加载路径在正确的位置显示新的组织。也许你可以考虑移动你下载的组织,看看是否能解决问题。 – dmg
Juancho,就是这样。我错过了周围的报价|在我的.emacs中的自定义TODO关键字中。我添加了引号,重新启动并没有任何问题。谢谢! Sonce你写了一条评论我不能将它标记为答案,但是如果你想回答这个问题,我会将它标记为正确的答案。谢谢! – user846