Comments (6)
(require 'pyim-cregexp)
(defun eh-orderless-regexp (orig_func component)
(let ((result (funcall orig_func component)))
(pyim-cregexp-build result)))
(advice-add 'orderless-regexp :around #'eh-orderless-regexp)
from pyim.
试试这段代码
from pyim.
不行,更新vertico后就不对了,就这几天的更新。我目前revert到了6f22ff129886a6b9292212f9897c65f9 之前的doom对vertico的更新。
Debugger entered--Lisp error: (void-function pyim-cregexp-build-regexp-string)
pyim-cregexp-build-regexp-string("[d㐤㐲㑈㑙㒔㒛㓃㓊㓠㓸㔊㔍㔑㕪㖦㖼㗖㗢㗧㗳㙂㙐㙮㚲㛆㛊㛒㜓㜱㝎㝪㝵㝶㞘㞟㞭㞳㟋㟨㟷㠀㠚㡯㡳㡺㢂㢄㢈...")
orderless-regexp("d")
orderless-pattern-compiler("d")
orderless-filter("~/.emacs.d/.local/etc/workspaces/d" completion-file-name-table file-exists-p)
orderless-all-completions("~/.emacs.d/.local/etc/workspaces/d" completion-file-name-table file-exists-p 34)
#f(compiled-function (style) #<bytecode -0x775b1401a966fc3>)(orderless)
completion--some(#f(compiled-function (style) #<bytecode -0x775b1401a966fc3>) (+vertico-basic-remote orderless partial-completion basic))
completion--nth-completion(2 "~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t)))
#f(compiled-function (string table pred point &optional metadata) "List the possible completions of STRING in completion table TABLE.\nOnly the elements of table that satisfy predicate PRED are considered.\nPOINT is the position of point within STRING.\nThe return value is a list of completions and may contain the base-size\nin the last `cdr'." #<bytecode 0x7fac4ca07a130f0>)("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t)))
apply(#f(compiled-function (string table pred point &optional metadata) "List the possible completions of STRING in completion table TABLE.\nOnly the elements of table that satisfy predicate PRED are considered.\nPOINT is the position of point within STRING.\nThe return value is a list of completions and may contain the base-size\nin the last `cdr'." #<bytecode 0x7fac4ca07a130f0>) ("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t))))
completion-all-completions("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t)))
apply(completion-all-completions ("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t))))
vertico--all-completions("~/.emacs.d/.local/etc/workspaces/d" read-file-name-internal file-exists-p 34 (metadata (category . file) (completion--unquote-requote . t)))
vertico--recompute(34 "~/.emacs.d/.local/etc/workspaces/d")
vertico--update()
from pyim.
pyim-cregexp-build-regexp-string 这个函数在最新的 pyim 中已经不存在了,应该用 pyim-cregexp-build,我猜测可能是 doom 的问题
from pyim.
你试试这样行不行 (defalias 'pyim-cregexp-build-regexp-string #'pyim-cregexp-build),不行的话只能等待 doom 那边修复了。
from pyim.
你这么一说我就明白了,确实是doom没更新。
from pyim.
Related Issues (20)
- 候选词丢失bug(有复现步骤) HOT 6
- FAILED pyim-tests-pyim-page--tooltip-valid-p on GNU Emacs 27.1 from the Debian archive HOT 3
- 形码单字会根据词频改变候选词序 HOT 24
- 选词框没有border? HOT 4
- 输入"操作"词,报异常。大佬帮忙指教下。 HOT 3
- `pyim-process-word-position`里的参数类型错误 HOT 3
- 开启 `pyim-isearch-mode` 后,搜索时输入反斜杠 (`\`) 会导致卡死 HOT 2
- pyim-convert-code-at-point is removed
- rime-quanpin的scheme中 使用v 键可以转换前面的字符 但是不能把中文加入个人词库 HOT 4
- `pyim-outcome-trigger`如果是空串或者nil,`pyim-outcome--get-trigger`会报错(wrong-type-argument stringp nil)。 HOT 2
- pyim-cregexp-ivy 导致 counsel-M-x 等命令不正常 HOT 1
- error: Wrong number of arguments: #<subr string-match>, 4 HOT 3
- 【建议】通过检测光标前的两个单词是否都为英语,决定是否切换为英文模式。 HOT 3
- 使用pyim全拼如何输入“nue”和“lue”? HOT 2
- 请问如何当从pyim切换回英文时保留已输入字母? HOT 5
- 即使 pyim-page-tooltip 已经设置成 minibuffer,pyim 依然依赖 posframe HOT 1
- 输入位置越靠后候选词(开启了浮窗)的响应越慢 HOT 8
- [FR] Display how to type each candidate in default scheme, when assistant scheme is enabled HOT 3
- How can I diable the "pyim-translate-trigger-char" ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyim.