Qingshui Zheng
Qingshui Zheng
@ginqi7 我也遇到了无法解决的 “websocket-bridge-client-dictionary-overlay”问题,回退到我之前自己正常工作的分支也还是有这个问题。 跑了一下 (websocket-bridge-app-log-buffer) -> ``` Traceback (most recent call last): File "/Users/z/.emacs.d/lib/dictionary-overlay/dictionary-overlay.py", line 10, in import snowballstemmer ModuleNotFoundError: No module named 'snowballstemmer' ``` 检查了下路径,没有错。是因为 python 的环境变了么?我最近跑了一次 `homebrew cleanup...
> @qingshuizheng 估计是python 的环境变了吧。重新装一下python包应该就可以了:(dictionary-overlay-install) 多谢,我发现 dictionary-overlay-install 后 snowballstemmer 安装到 python 3.11 目录下了,但我 M-x run-python RET 里的版本却是 3.8.9,所以找不到snowballstemmer。我猜是这个原因,但不知道怎么改(抚额
@ginqi7 嗯应该是这个问题了,后面几天都在路上,暂时没时间调整了。感谢!
would it help to wrap related code in (with-no-warnings ...) or (ignore-errors ...) somewhere. i haven't look into this issue yet.
or, the error buffer could be managed like *elfeed-log* buffer: it never shows up, but retrievable by M-x switch-to-buffer RET *elfeed-log* RET
So, basically i just ignore errors here, finally manage to calm it down. Don't know what the consequences would be, perhaps some words are not saved to the .txt file...
似乎不是dictionary-overlay的问题,是系统自带的dictionary-lookup-definition没配置好?你直接把光标放在一个词上,调用命令dictionary-lookup-definition可以用么? @ginqi7 不知道是不是和你第一次使用时的情况是一样的? On Dec 9, 2022, 01:00 -0500, xianbang2021 ***@***.***>, wrote: > ***@***.*** > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > > encode-coding-string(nil utf-8) > > dictionary-encode-charset(nil "")...
@xianbang2021 我记得dictionary-lookup-definition是需要配置的,我只使用过一次,已经忘了怎么调试了。现在用的懒猫的popweb-dict-**.el 系列。我以前写这几行代码的时候,测试的是[youdao-dictionary](https://github.com/xuchunyang/youdao-dictionary.el), 截图里的几个你都可以试试。各种第三方词典写的能够获取光标下word的功能都能使用,一般命令名字都是 **-at-point。 
> ``` > (defun ekg-show-notes-with-partial-match (tag) > "Show notes with partial match against TAG." > (interactive (list (completing-read "Tag: " (ekg-tags)))) > (ekg-show-notes-with-any-tags (cl-mapcan #'ekg-tags-including (split-string tag "/")))) > ```...
> 能不能提供下链接我测试下?:end 来自 org-element.el 对 org 的解析,表示这个链接结束的位置。 我也遇到了,测试视频:https://www.bilibili.com/video/BV1cW42197mq 错误: ```elisp Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) goto-char(nil) (save-excursion (goto-char (plist-get node :end)) (skip-chars-backward " \11") (point)) (let ((meta (mpvi-parse-link (plist-get...