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

[BUG] rime-predicate-auto-english-p 对于 “中文32” 自动切为英文了 #192

Open
whjiang opened this issue Feb 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@whjiang
Copy link

whjiang commented Feb 18, 2022

问题描述
使用 rime-predicate-auto-english-p, 输入“中文32”,再输入时变成了英文模式。
但按照这个predicate的描述,实际应该是继续中文输入

Emacs中的配置


(use-package! rime
  :custom
  (rime-librime-root "~/.librime/librime/dist")
  (rime-user-data-dir "~/.librime/data")
  (rime-emacs-module-header-root "/usr/local/opt/emacs-mac/include")
  (default-input-method "rime")
  (rime-show-candidate 'posframe)
  (rime-disable-predicates
      '(;;rime-predicate-evil-mode-p
        ;;rime-predicate-after-ascii-char-p
        ;;rime-predicate-after-alphabet-char-p
        ;;rime-predicate-prog-in-code-p
        ;;rime-predicate-punctuation-after-space-cc-p
        ;;rime-predicate-punctuation-after-ascii-p
        rime-predicate-auto-english-p
        ))
  ;;; support shift-l, shift-r, control-l, control-r
  ;;; the key send to librime, shall be same as RIME
  (rime-inline-ascii-trigger 'shift-l)

  :config
  (define-key rime-active-mode-map (kbd "M-j") 'rime-inline-ascii)
)


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

复现问题所需的操作

是否可在 emacs -Q 中复现

是/否

截图

展示错误的截图或动图

环境信息

  • 操作系统:如 ArchLinux
  • Emacs版本:如 27.0.90
  • Librime版本:如 1.5.3
  • Librime安装方式:包管理器/手工编译
  • 安装方式:Git/Melpa/Straight/Quelpa
@whjiang whjiang added the bug Something isn't working label Feb 18, 2022
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

1 participant