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

在 termux 中 deploy 提示:expand-file-name(nil)[BUG] #223

Open
iT-Boyer opened this issue Jul 31, 2023 · 1 comment
Open

在 termux 中 deploy 提示:expand-file-name(nil)[BUG] #223

iT-Boyer opened this issue Jul 31, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@iT-Boyer
Copy link

问题描述
在 termux 中通過 pkg 安裝 emacs 38.3 版本和 librime 18.5-2 版本,使用簡單的的配置。
在激活rime 時,deploy 時提示錯誤:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  expand-file-name(nil)
  rime--load-dynamic-module()
  rime-activate("rime")
  apply(rime-activate "rime" nil)
  activate-input-method("rime")
  #f(compiled-function (&optional arg interactive) "Enable or disable multilingual text input method for the current buffer.\nOnly one input method can be enabled at any time in a given buffer.\n\nThe normal action is to enable an input method if none was enabled,\nand disable the current one otherwise.  Which input method to enable\ncan be determined in various ways--either the one most recently used,\nor the one specified by `default-input-method', or as a last resort\nby reading the name of an input method in the minibuffer.\n\nWith a prefix argument ARG, read an input method name with the minibuffer\nand enable that one.  The default is the most recent input method specified\n(not including the currently active input method, if any).\n\nWhen called interactively, the optional argument INTERACTIVE is non-nil,\nwhich marks the variable `default-input-method' as set for Custom buffers." (interactive "P\np") #<bytecode 0x10dd1a9aaf2a334b>)(nil 1)
  ad-Advice-toggle-input-method(#f(compiled-function (&optional arg interactive) "Enable or disable multilingual text input method for the current buffer.\nOnly one input method can be enabled at any time in a given buffer.\n\nThe normal action is to enable an input method if none was enabled,\nand disable the current one otherwise.  Which input method to enable\ncan be determined in various ways--either the one most recently used,\nor the one specified by `default-input-method', or as a last resort\nby reading the name of an input method in the minibuffer.\n\nWith a prefix argument ARG, read an input method name with the minibuffer\nand enable that one.  The default is the most recent input method specified\n(not including the currently active input method, if any).\n\nWhen called interactively, the optional argument INTERACTIVE is non-nil,\nwhich marks the variable `default-input-method' as set for Custom buffers." (interactive "P\np") #<bytecode 0x10dd1a9aaf2a334b>) nil 1)
  apply(ad-Advice-toggle-input-method #f(compiled-function (&optional arg interactive) "Enable or disable multilingual text input method for the current buffer.\nOnly one input method can be enabled at any time in a given buffer.\n\nThe normal action is to enable an input method if none was enabled,\nand disable the current one otherwise.  Which input method to enable\ncan be determined in various ways--either the one most recently used,\nor the one specified by `default-input-method', or as a last resort\nby reading the name of an input method in the minibuffer.\n\nWith a prefix argument ARG, read an input method name with the minibuffer\nand enable that one.  The default is the most recent input method specified\n(not including the currently active input method, if any).\n\nWhen called interactively, the optional argument INTERACTIVE is non-nil,\nwhich marks the variable `default-input-method' as set for Custom buffers." (interactive "P\np") #<bytecode 0x10dd1a9aaf2a334b>) (nil 1))
  toggle-input-method(nil 1)
  funcall-interactively(toggle-input-method nil 1)
  call-interactively(toggle-input-method nil nil)
  command-execute(toggle-input-method)

Emacs doom中的配置

(use-package! rime
  :config
  (setq default-input-method "rime"))

复现方式(安装遇到问题时省略)

問題描述的過程,必出現的情況。

是否可在 emacs -Q 中复现

截图

展示错误的截图或动图

环境信息

  • 操作系统:linux aarch64
  • Emacs版本:28.3
  • Librime版本:1.8.5-2
  • Librime安装方式:pkg包管理器
  • 安装方式:Straight
@iT-Boyer iT-Boyer added the bug Something isn't working label Jul 31, 2023
@pandaye
Copy link

pandaye commented Aug 13, 2023

一样的问题,好像是 rime-share-data-dir 这个变量为空的原因

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants