Closed hour-keeper closed 11 months ago
Emacs 版本是?
Arch Linux emacs 29.1-4
windows 官方版的 29.1 也出现相似的报错
Debugger entered--Lisp error: (wrong-type-argument listp "[X] modus-operandi")
car("[X] modus-operandi")
mapcar(car ("[X] modus-operandi" "[X] modus-vivendi"))
(cl-remove-if-not #'(lambda (s) (string-prefix-p "[X] " s)) (mapcar 'car themes))
(mapcar #'(lambda (s) (intern (substring s 4))) (cl-remove-if-not #'(lambda (s) (string-prefix-p "[X] " s)) (mapcar 'car themes)))
(setq meomacs-themes (mapcar #'(lambda (s) (intern (substring s 4))) (cl-remove-if-not #'(lambda (s) (string-prefix-p "[X] " s)) (mapcar 'car themes))))
(let ((themes '("[X] modus-operandi" "[X] modus-vivendi"))) (setq meomacs-themes (mapcar #'(lambda (s) (intern (substring s 4))) (cl-remove-if-not #'(lambda (s) (string-prefix-p "[X] " s)) (mapcar 'car themes)))))
load-with-code-conversion("c:/Users/loke/.emacs.d/tangle/private.el" "c:/Users/loke/.emacs.d/tangle/private.el" nil nil)
load-file("c:/Users/loke/.emacs.d/tangle/private.el")
(progn (make-directory tangle-dir t) (if (or force-tangle (not (file-exists-p target))) (progn (require 'org) (require 'ob) (org-babel-tangle-file source target))) (load-file target))
(if (file-exists-p source) (progn (make-directory tangle-dir t) (if (or force-tangle (not (file-exists-p target))) (progn (require 'org) (require 'ob) (org-babel-tangle-file source target))) (load-file target)))
(let* ((source (expand-file-name (format "%s.org" config-name) user-emacs-directory)) (tangle-dir (expand-file-name "tangle" user-emacs-directory)) (target (expand-file-name (format "%s.el" config-name) tangle-dir))) (if (file-exists-p source) (progn (make-directory tangle-dir t) (if (or force-tangle (not (file-exists-p target))) (progn (require 'org) (require 'ob) (org-babel-tangle-file source target))) (load-file target))))
meomacs-load-config("private")
load-with-code-conversion("c:/Users/loke/.emacs.d/early-init.el" "c:/Users/loke/.emacs.d/early-init.el" t t)
load("c:/Users/loke/.emacs.d/early-init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode -0x1873941f3910a650>))
command-line()
normal-top-level()
Try again
目前已在 Arch Linux 和 Termux 上正常运行,Windows 上网不太好没测出来
删除默认 private.org 的 * Theme 部分后工作正常,请问这段代码应该怎么改 默认 private.org 下 emacs -nw --debug-init 输出是