Skip to content
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

windows client 失效 #56

Open
dian-yu-luo opened this issue Jul 21, 2022 · 7 comments
Open

windows client 失效 #56

dian-yu-luo opened this issue Jul 21, 2022 · 7 comments

Comments

@dian-yu-luo
Copy link

dian-yu-luo commented Jul 21, 2022

(sis-ism-lazyman-config nil t 'w32)
在client状态下失效
下面的情况发生fatal error

  (setq sis-english-source nil)
  (setq sis-other-source t)
  (setq sis-do-get #'w32-get-ime-open-status)
  (setq sis-do-set #'w32-set-ime-open-status)

我猜测环境判断有问题,不应该是
(when window-system
应该切换为
(when (or window-system (daemonp))

@dian-yu-luo
Copy link
Author

图片
目前能查看的信息是上面两个函数正常,但是sis- 开头的函数无效,

@laishulu
Copy link
Owner

w32-*-ime-*那两个函数正常?那简单改下应该就OK了。

今晚搞定。

@dian-yu-luo
Copy link
Author

client 模式下仍旧不能兼容,请问需要进行什么样的配置

@zhyzky
Copy link

zhyzky commented Sep 25, 2024

将sis相关配置加到 after-init-hook 中可以生效
但是带来的问题是 emacsclient 窗口在退出时会报错 #61

@QiangF
Copy link

QiangF commented Jan 1, 2025

Emacs 29, 30也都出错了,w32-get-ime-open-status 不正常,w32-set-ime-open-status 正常
https://emacs-china.org/t/29-1-29-4/28612

@laishulu
Copy link
Owner

laishulu commented Jan 1, 2025

emacsclient我没有针对性做过兼容,有空弄一弄。

@laishulu
Copy link
Owner

laishulu commented Jan 1, 2025

Emacs 29, 30也都出错了,w32-get-ime-open-status 不正常,w32-set-ime-open-status 正常 https://emacs-china.org/t/29-1-29-4/28612

你这个,只是在Emacsclient下出的问题,还是平常的emacs中也出现这个问题?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants