[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 42e0838 1/4: Add group
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 42e0838 1/4: Add group |
Date: |
Thu, 22 Apr 2021 23:57:10 -0400 (EDT) |
branch: externals/pyim
commit 42e08382e6ccc5cce610e05af697c0517b9c8fe9
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Add group
---
pyim-autoselector.el | 4 ++++
pyim-candidates.el | 4 ++++
pyim-common.el | 4 ++++
pyim-cregexp.el | 4 ++++
pyim-cstring.el | 4 ++++
pyim-dcache.el | 4 ++++
pyim-dict.el | 5 +++++
pyim-entered.el | 4 ++++
pyim-imobjs-codes.el | 4 ++++
pyim-outcome.el | 4 ++++
pyim-page.el | 4 ++++
pyim-pinyin.el | 4 ++++
pyim-preview.el | 4 ++++
pyim-punctuation.el | 4 ++++
pyim-scheme.el | 4 ++++
15 files changed, 61 insertions(+)
diff --git a/pyim-autoselector.el b/pyim-autoselector.el
index ee187a0..f5a2d3c 100644
--- a/pyim-autoselector.el
+++ b/pyim-autoselector.el
@@ -32,6 +32,10 @@
(require 'pyim-entered)
(require 'pyim-candidates)
+(defgroup pyim-autoselector nil
+ "Autoselector for pyim."
+ :group 'pyim)
+
(defcustom pyim-autoselector '(pyim-autoselector-xingma)
"已经启用的自动上屏器.
diff --git a/pyim-candidates.el b/pyim-candidates.el
index bc63625..c1b346e 100644
--- a/pyim-candidates.el
+++ b/pyim-candidates.el
@@ -34,6 +34,10 @@
(require 'pyim-page)
(require 'pyim-preview)
+(defgroup pyim-candidates nil
+ "Candidates of pyim."
+ :group 'pyim)
+
(defvar pyim-candidates nil
"所有备选词条组成的列表.")
diff --git a/pyim-common.el b/pyim-common.el
index 741c529..1671775 100644
--- a/pyim-common.el
+++ b/pyim-common.el
@@ -31,6 +31,10 @@
;;; Code:
;; * 代码 :code:
+(defgroup pyim-common nil
+ "pyim common."
+ :group 'pyim)
+
(defvar pyim-debug nil)
(defun pyim-string-match-p (regexp string &optional start)
diff --git a/pyim-cregexp.el b/pyim-cregexp.el
index c3666b4..555ec5c 100644
--- a/pyim-cregexp.el
+++ b/pyim-cregexp.el
@@ -32,6 +32,10 @@
(require 'xr)
(require 'rx)
+(defgroup pyim-cregexp nil
+ "Chinese regexp tools for pyim."
+ :group 'pyim)
+
(defcustom pyim-cregexp-fallback-scheme 'quanpin
"`pyim-cregexp-build' 使用的 Fallback scheme.
diff --git a/pyim-cstring.el b/pyim-cstring.el
index 654034a..c1acdbf 100644
--- a/pyim-cstring.el
+++ b/pyim-cstring.el
@@ -29,6 +29,10 @@
;; * 代码 :code:
(require 'cl-lib)
+(defgroup pyim-cstring nil
+ "Chinese string tools for pyim."
+ :group 'pyim)
+
(defun pyim-cstring-at-point (&optional number)
"获取光标一个中文字符串,字符数量为:NUMBER."
(save-excursion
diff --git a/pyim-dcache.el b/pyim-dcache.el
index 0f67225..0a5399c 100644
--- a/pyim-dcache.el
+++ b/pyim-dcache.el
@@ -30,6 +30,10 @@
(require 'cl-lib)
(require 'pyim-common)
+(defgroup pyim-dcache nil
+ "Dcache for pyim."
+ :group 'pyim)
+
(defcustom pyim-dcache-backend 'pyim-dhashcache
"词库后端引擎.负责缓冲词库并提供搜索词的算法.
可选项为 `pyim-dhashcache' 或 `pyim-dregcache'.
diff --git a/pyim-dict.el b/pyim-dict.el
index 53b2468..ca8cd81 100644
--- a/pyim-dict.el
+++ b/pyim-dict.el
@@ -27,6 +27,11 @@
;;; Code:
;; * 代码 :code:
+
+(defgroup pyim-dict nil
+ "Dict tools for pyim."
+ :group 'pyim)
+
(defcustom pyim-dicts nil
"一个列表,用于保存 `pyim' 的词库信息.
每一个 element 都代表一条词库的信息, 用户可以使用词库管理命令
diff --git a/pyim-entered.el b/pyim-entered.el
index 95f4090..dce93dc 100644
--- a/pyim-entered.el
+++ b/pyim-entered.el
@@ -29,6 +29,10 @@
;; * 代码 :code:
(require 'cl-lib)
+(defgroup pyim-entered nil
+ "Entered tools for pyim."
+ :group 'pyim)
+
(defcustom pyim-exhibit-delay-ms 0
"输入或者删除拼音字符后等待多少毫秒后才显示可选词
当用户快速输入连续的拼音时可提升用户体验.
diff --git a/pyim-imobjs-codes.el b/pyim-imobjs-codes.el
index 489f005..806a37e 100644
--- a/pyim-imobjs-codes.el
+++ b/pyim-imobjs-codes.el
@@ -29,6 +29,10 @@
;; * 代码 :code:
(require 'cl-lib)
+(defgroup pyim-imobjs-codes nil
+ "Imobjs and codes tools for pyim."
+ :group 'pyim)
+
(defvar pyim-imobjs nil
"Imobj (Input method object) 组成的 list.
diff --git a/pyim-outcome.el b/pyim-outcome.el
index 09faa9f..82efc46 100644
--- a/pyim-outcome.el
+++ b/pyim-outcome.el
@@ -29,6 +29,10 @@
;; * 代码 :code:
(require 'cl-lib)
+(defgroup pyim-outcome nil
+ "Outcome tools for pyim."
+ :group 'pyim)
+
(defcustom pyim-translate-trigger-char "v"
"用于触发特殊操作的字符,相当与单字快捷键.
diff --git a/pyim-page.el b/pyim-page.el
index e4c3813..b7d82a4 100644
--- a/pyim-page.el
+++ b/pyim-page.el
@@ -31,6 +31,10 @@
(require 'posframe nil t)
(require 'popup nil t)
+(defgroup pyim-page nil
+ "Page tools for pyim."
+ :group 'pyim)
+
(defcustom pyim-page-length 5
"每页显示的词条数目.
diff --git a/pyim-pinyin.el b/pyim-pinyin.el
index 2c164d9..6da67e1 100644
--- a/pyim-pinyin.el
+++ b/pyim-pinyin.el
@@ -29,6 +29,10 @@
;; * 代码 :code:
(require 'cl-lib)
+(defgroup pyim-pinyin nil
+ "Pinyin libs for pyim."
+ :group 'pyim)
+
(defvar pyim-pinyin-shenmu
'("b" "p" "m" "f" "d" "t" "n" "l" "g" "k" "h"
"j" "q" "x" "z" "c" "s" "zh" "ch" "sh" "r" "y" "w"))
diff --git a/pyim-preview.el b/pyim-preview.el
index 90866a6..edcac84 100644
--- a/pyim-preview.el
+++ b/pyim-preview.el
@@ -29,6 +29,10 @@
;; * 代码 :code:
(require 'cl-lib)
+(defgroup pyim-preview nil
+ "Preview libs for pyim."
+ :group 'pyim)
+
(defface pyim-preview-face '((t (:underline t)))
"设置光标处预览字符串的 face.")
diff --git a/pyim-punctuation.el b/pyim-punctuation.el
index aefa20a..ea5f0b7 100644
--- a/pyim-punctuation.el
+++ b/pyim-punctuation.el
@@ -29,6 +29,10 @@
;; * 代码 :code:
(require 'cl-lib)
+(defgroup pyim-punctuation nil
+ "Punctuation libs for pyim."
+ :group 'pyim)
+
(defcustom pyim-punctuation-dict
'(("'" "‘" "’")
("\"" "“" "”")
diff --git a/pyim-scheme.el b/pyim-scheme.el
index 95802a8..0603ace 100644
--- a/pyim-scheme.el
+++ b/pyim-scheme.el
@@ -29,6 +29,10 @@
;; * 代码 :code:
(require 'cl-lib)
+(defgroup pyim-scheme nil
+ "Scheme tools for pyim."
+ :group 'pyim)
+
(defcustom pyim-default-scheme 'quanpin
"设置 pyim 使用哪一种输入法方案,默认使用全拼输入."
:type 'symbol)