我在 doom emacs 中的 config.el 配置如下:
(use-package! rime
:config
(setq default-input-method "rime")
(setq rime-share-data-dir "~/.local/share/fcitx5/rime/")
(setq rime-show-candidate 'popup)
(setq rime-deactivate-when-exit-minibuffer nil))
rime-share-data-dire
是我 Arch Linux 系统的 rime 配置目录, emacs 中的 rime 配置目录 rime-user-data-dir
我使用默认的(并使用 git clone
从 GitHub - iDvel/rime-ice: Rime 配置:雾凇拼音 | 长期维护的简体词库 下载了雾凇拼音的配置文件)。一切输入反应都和系统中的 rime 一样。
但是我插入一个新的 org-mode 标题(如 * 标题
),输入“标题”两个字之后就会弹出如下的报错:
登录
注册
您说:
Warning (org-element): org-element--cache: Unregistered buffer modifications detected (33590 != 33593). Resetting.
If this warning appears regularly, please report the warning text to Org mode mailing list (M-x org-submit-bug-report).
The buffer is: todo.org
Current command: nil
Backtrace:
" backtrace-to-string(nil)
org-element--cache-sync(#<buffer todo.org> 33221)
org-element-at-point()
org-element-context()
org--link-at-point()
thing-at-point(url t)
(and t (thing-at-point 'url t))
(let* ((url (and t (thing-at-point 'url t)))) (if url (format \"LINK: %s\" url) (and (eq (get-text-property (point) 'help-echo) #'+org-link-doom--help-echo-from-textprop) (+org-link-doom--help-echo-from-textprop nil (current-buffer) (point)))))
+org-eldoc--display-link-at-point-a(#f(compiled-function (string &rest plist) #<bytecode 0x138508dae21a79a6>))
apply(+org-eldoc--display-link-at-point-a #f(compiled-function (string &rest plist) #<bytecode 0x138508dae21a79a6>))
org-eldoc-documentation-function(#f(compiled-function (string &rest plist) #<bytecode 0x138508dae21a79a6>))
run-hook-with-args-until-success(org-eldoc-documentation-function #f(compiled-function (string &rest plist) #<bytecode 0x138508dae21a79a6>))
eldoc-documentation-default()
eldoc--invoke-strategy(nil)
eldoc-print-current-symbol-info()
#f(compiled-function () #<bytecode 0xcd846db2a2e0c9d>)()
apply(#f(compiled-function () #<bytecode 0xcd846db2a2e0c9d>) nil)
timer-event-handler([t 0 0 500000 nil #f(compiled-function () #<bytecode 0xcd846db2a2e0c9d>) nil idle 0 nil])
"