Comments (6)
你有没有安装 pos-tip包? chinese-pyim使用这个包来显示备选词。。。
from pyim.
不是有效词库那个不用管它。。。。。一般用一会就不出现了
from pyim.
@tumashu 已经安装pos-tip了
并且其他包是可以正常使用popup的(比如google翻译和有道翻译)
from pyim.
这个函数的返回值,用来最终确定是否使用tooltip,你可以逐步运行一下,看问题出在哪一个地方。
(defun pyim-use-tooltip-p ()
"当这个函数返回值为 t 时,Chinese-pyim 使用 tooltip 显示选词框,
返回值为 nil 时,使用 minibuffer 显示选词框。"
(and pyim-use-tooltip
(not (or noninteractive
emacs-basic-display
(not (display-graphic-p))
(not (fboundp 'x-show-tip))))))
from pyim.
运行了一下,问题出在这里(not (display-graphic-p))
,因为我是在终端下运行的,所以这里就是t
了。运行gui的emacs就不存在这个问题了。看了之前你们的讨论,类似自动补全的方式就挺好的,显示在下面确实看着不习惯。。。
from pyim.
终端下的话无法显示popup,我先看看用company的补全如何。
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
- Sync latest vertico suuport changes HOT 6
- [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.