[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 56505723bc 16/58: pyim-autoselector-xingma-1 -> py
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 56505723bc 16/58: pyim-autoselector-xingma-1 -> pyim-autoselector--xingma |
Date: |
Fri, 24 Jun 2022 06:57:53 -0400 (EDT) |
branch: externals/pyim
commit 56505723bc16dba92c89cdb866245b7d63179c1b
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-autoselector-xingma-1 -> pyim-autoselector--xingma
---
pyim-autoselector.el | 4 ++--
tests/pyim-tests.el | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/pyim-autoselector.el b/pyim-autoselector.el
index 3c13d38031..ece3c4d925 100644
--- a/pyim-autoselector.el
+++ b/pyim-autoselector.el
@@ -46,10 +46,10 @@
(candidates (pyim-process-get-candidates))
(last-candidates (pyim-process-get-last-candidates)))
(when (pyim-scheme-xingma-p scheme)
- (pyim-autoselector-xingma-1
+ (pyim-autoselector--xingma
split-length entered candidates last-candidates))))
-(defun pyim-autoselector-xingma-1 (split-length entered candidates
last-candidates)
+(defun pyim-autoselector--xingma (split-length entered candidates
last-candidates)
"`pyim-autoselector-xingma' 内部使用的函数。"
(cond
((and (= (length entered) split-length)
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index d1ceed2077..500ee9a018 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -1827,20 +1827,20 @@ abc 这是")))
"花花草草"))))
;; ** pyim-autoselecter 相关单元测试
-(ert-deftest pyim-tests-pyim-autoselecter-xingma-1 ()
- (should-not (apply #'pyim-autoselector-xingma-1
+(ert-deftest pyim-tests-pyim-autoselecter--xingma ()
+ (should-not (apply #'pyim-autoselector--xingma
'(4 "aaaa" ("工" "藏匿" "花花草草" "工工" "㠭") ("工"))))
- (should (equal (apply #'pyim-autoselector-xingma-1
+ (should (equal (apply #'pyim-autoselector--xingma
'(4 "aaaab" ("工" "藏匿" "花花草草" "工工" "㠭") ("工")))
'(:select last)))
;; 自动清除错误输入模式,类似微软五笔:敲第五个字母的时候,前面四个字母自动清除
- (should (equal (apply #'pyim-autoselector-xingma-1
+ (should (equal (apply #'pyim-autoselector--xingma
'(4 "xxxxa" ("工" "戈") ("xxxx")))
'(:select last :replace-with "")))
- (should (equal (apply #'pyim-autoselector-xingma-1
+ (should (equal (apply #'pyim-autoselector--xingma
'(4 "aaaa" ("工") ("工")))
'(:select current))))
- [elpa] externals/pyim 894e4cd5e1 43/58: Remove pyim-pinyin-build-regexp, (continued)
- [elpa] externals/pyim 894e4cd5e1 43/58: Remove pyim-pinyin-build-regexp, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 578d096ba9 44/58: pyim-pinyin-shenmu -> pyim-pinyin--shenmu, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim aef2a941f3 05/58: pyim-cregexp-create-beautiful-cregexp-from-string -> pyim-cregexp--create-beautiful-cregexp-from-string, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim a86cb9b606 47/58: pyim-pinyin-get-shenmu -> pyim-pinyin--get-shenmu, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c604b1f4aa 55/58: pyim-pymap-py2cchar-cache2 -> pyim-pymap--py2cchar-cache2, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c0798d5e4d 57/58: pyim-pymap-cchar2py-cache -> pyim-pymap--cchar2py-cache, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c573694ae4 58/58: Update pyim-pymap-utils.el, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim f4074fc4ef 04/58: pyim-cregexp-valid-p -> pyim-cregexp--valid-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 291798d23d 09/58: pyim-cregexp-scheme -> pyim-cregexp--scheme, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim b243e7e8e7 15/58: pyim-isearch-search-fun -> pyim-isearch--search-fun, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 56505723bc 16/58: pyim-autoselector-xingma-1 -> pyim-autoselector--xingma,
ELPA Syncer <=
- [elpa] externals/pyim ea2988cf16 26/58: pyim-dict-manager-buffer -> pyim-dict-manager--buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 91b1aa37da 11/58: pyim-cregexp-build-xingma-regexp-from-words -> pyim-cregexp--build-xingma-regexp-from-words, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 40ed5dc8a4 10/58: pyim-cregexp-quanpin- -> pyim-cregexp-quanpin--, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2064692d35 40/58: pyim-liberime-get-code -> pyim-liberime--get-code, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 48e904bbe6 42/58: pyim-outcome-magic-convert-cache -> pyim-outcome--magic-convert-cache, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim d5d98bdbdb 12/58: pyim-cstring-partition -> pyim-cstring--partition, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 68e406ed4f 19/58: pyim-candidates-znabc-words -> pyim-candidates--znabc-words, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim df48854299 22/58: pyim-cloudim-parse-baidu-buffer -> pyim-cloudim--parse-baidu-buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 67f800c819 23/58: pyim-cloudim-parse-google-buffer -> pyim-cloudim--parse-google-buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 0629a400d9 31/58: pyim-indicator-timer -> pyim-indicator--timer, ELPA Syncer, 2022/06/24