[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 08cba66f9e 14/20: pyim-page-last-minibuffer-string
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 08cba66f9e 14/20: pyim-page-last-minibuffer-string -> pyim-page-minibuffer-string |
Date: |
Fri, 24 Jun 2022 03:57:55 -0400 (EDT) |
branch: externals/pyim
commit 08cba66f9e194398a260c73b1ab9fbd817b0eb0e
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-page-last-minibuffer-string -> pyim-page-minibuffer-string
---
pyim-page.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pyim-page.el b/pyim-page.el
index a73c0c6153..03ca6daa40 100644
--- a/pyim-page.el
+++ b/pyim-page.el
@@ -131,7 +131,7 @@ Only useful when use posframe.")
(defvar pyim-page--popon nil
"这个变量用来保存做为 page tooltip 的 popon.")
-(defvar pyim-page-last-minibuffer-string nil
+(defvar pyim-page--minibuffer-string nil
"函数 `pyim-page-show-with-minibuffer' 上一次处理的消息字符串。")
(defvar pyim-page-tooltip-infos
@@ -334,10 +334,10 @@ pyim-page 的核心的功能,为此增加代码的复杂度和测试的难度
;; 异步获取词条的时候,上一次的 page 字符串可能还在 Minibuffer 中,所以首
;; 先要将其去除,否则会出现两个 page.
- (delete-char (length pyim-page-last-minibuffer-string))
+ (delete-char (length pyim-page--minibuffer-string))
(save-excursion
(insert
- (setq pyim-page-last-minibuffer-string
+ (setq pyim-page--minibuffer-string
(concat
;; 显示一个伪 cursor.
(propertize " " 'face 'cursor)
@@ -629,12 +629,12 @@ pyim-page 的核心的功能,为此增加代码的复杂度和测试的难度
"Hide minibuffer tooltip."
(when (eq (selected-window) (minibuffer-window))
;; 从 minibuffer 中删除 page 字符串。
- (delete-char (length pyim-page-last-minibuffer-string))
+ (delete-char (length pyim-page--minibuffer-string))
;; 在类似 vertico-posframe 这样的环境中,posframe window-point 同步问题
;; 不太好处理,这里使用一个简单粗暴的方式:在输入过程中,隐藏真实的
;; cursor 并显示一个伪 cursor, 输入完成之后再恢复。
(setq-local cursor-type t))
- (setq pyim-page-last-minibuffer-string nil))
+ (setq pyim-page--minibuffer-string nil))
(add-hook 'pyim-process-ui-hide-hook #'pyim-page-hide)
- [elpa] externals/pyim updated (588bb4d1a5 -> b12d621924), ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 02964ee51d 01/20: pyim-page-get-showed-candidates -> pyim-page--get-showed-candidates, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 27709e49fa 07/20: pyim-page-get-page-style -> pyim-page--get-page-style, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 207ff432e0 10/20: pyim.el: pyim-page-start/end -> pyim-page--start/end, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 08cba66f9e 14/20: pyim-page-last-minibuffer-string -> pyim-page-minibuffer-string,
ELPA Syncer <=
- [elpa] externals/pyim 87c092d2e7 11/20: pyim-page-posframe-buffer -> pyim-page--posframe-buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 73827a1f0b 15/20: Move position of pyim-page--posframe/popup/popon/minibuffer*, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c961a78436 19/20: Replace pyim-page-refresh pyim-page--refresh, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 6a5295c387 02/20: pyim-page-start -> pyim-page--start, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 8cfff4539b 03/20: pyim-page-end -> pyim-page--end, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 0043487f66 05/20: pyim-page-get-valid-tooltip -> pyim-page--get-valid-tooltip, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim f682391c82 06/20: pyim-page-tooltip-valid-p -> pyim-page--tooltip-valid-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 05e17e2a06 09/20: pyim-page-total-page -> pyim-page--total-page, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim fa604fe38f 04/20: pyim-page-get-selected-word-position -> pyim-page--get-selected-word-position, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim eec5e4a60f 13/20: pyim-page-last-popon -> pyim-page--popon, ELPA Syncer, 2022/06/24