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

cannot enable input method. 初次配置失败之后没法重新再次生成配置文件 #183

Open
arcbishopw opened this issue Dec 16, 2021 · 2 comments

Comments

@arcbishopw
Copy link

你好大佬,
我按照教程安装到最后一步,启用rime的时候提示我初次安装会自动生成配置文件在~/.emacs.d/rime文件夹中,但当我选择yes的时候,emacs提示我worng-type-argument: stringp, nil 无法继续,在多次尝试后emacs卡死,强制结束windows远程桌面,再次开启emacs并选择rime输入法的时候,会重复出现上述提示,并且没有初次配置的提示框。

hello there,
I'm following The instruction until the last step, emacs promoted that it will perform first time auto-config process, but when I feed yes it says that wrong-type-argument: stringp, nil, then emacs cannot continue, after multi retry emacs is frozen so I chosen to end the remote desktop process and reopen WSL system, At this time , it will promoted the same string as the early one ,and cannot use the rime input method, so please help me with this ,many thanks.

My environment:

Windows11
openSUSE-Tumbleweed WSL version
GNU emacs 27.2

My .emacs configure

;;; rime
(require 'rime)
(setq rime-user-data-dir "~/.config/rime")
(setq rime-translate-keybindings
      '("C-f" "C-b" "C-n" "C-p" "C-g" "<left>" "<right>" "<up>" "<down>" "<prior>" "<next>" "<delete>"))
 (use-package rime
 :custom
  (default-input-method "rime"))

as you can see there is basically bare-bone configure, so I have no idea where to start ......

@DogLooksGood
Copy link
Owner

如果可以的话,使用 M-x toggle-debug-on-error, 这样在出错的时候可以得到异常栈。

@liuwei0922
Copy link

可以看下 rime-share-data-dir 这个变量有没有得到设置,windows-nt 下那个默认设置需要在 msys 中启动,可以自己找到位置写在自己配置里面,比如 (setq rime-share-data-dir "c:/msys64/mingw64/share/rime-data")

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

3 participants