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