-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emacs30 remote server出现epc error invalid-function #1123
Labels
Comments
确实和json的改动有关系,逻辑上在lsp_bridge_server的情况下, Lines 190 to 208 in 520d253
Lines 609 to 612 in 520d253
Lines 477 to 478 in 520d253
我去掉1次 [] 改成下面这样,emacs30就正常了
def eval_sexp_in_emacs(sexp):
epc_client.call("eval-in-emacs", sexp) |
大佬, 多测试一下, 如果几天没毛病, 欢迎发送补丁。 感谢大佬的详细调查。 |
eval-in-emacs 是可以支持Elisp函数和函数参数的, 如果去掉 [] 会导致很多地方调用Elisp函数参数的地方都会出错。 我感觉更像是Emacs那边兼容性破坏的问题, 等正式版发布再看看吧 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
最近想试下emacs30,然后发现有问题.
local用法正常,remote用法出现epc error invalid-function.
emacs -Q 用下面的方式配置就可以复现,同样的方式emacs29没有问题.
这个error我在lsp-bridge仓库里没搜到,不知道是不是python epc报的错?所以不知道咋定位了
另外我看emacs30好像有个news是内置了json support,没有--with-json了,不知道有没有影响.
编译版本:
编译选项:
The text was updated successfully, but these errors were encountered: