Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

punctuation.yaml 與 symbols.yaml 部分功能重複 #23

Open
sncix opened this issue Feb 2, 2025 · 3 comments
Open

punctuation.yaml 與 symbols.yaml 部分功能重複 #23

sncix opened this issue Feb 2, 2025 · 3 comments

Comments

@sncix
Copy link

sncix commented Feb 2, 2025

punctuation.yaml 與 symbols.yaml 各包含一套全/半角標點,其中 symbols.yaml 經過多次更新後,已與 punctuation.yaml 稍有不同。目前,朙月拼音引用的是 symbols.yaml,而地球拼音則引用了 default.yaml,相當於間接引用了 punctuation.yaml。

提問:是否有必要維護這兩套標點,有沒有可能在儘量保持兼容性的前提下只保留其一?


p.s. 我在本地嘗試給 default.yaml 打了如下補丁,暫時沒有遇到什麼問題

patch:
  punctuator:
    full_shape:
      __include: symbols:/punctuator/full_shape
    half_shape:
      __include: symbols:/punctuator/half_shape
@lotem
Copy link
Member

lotem commented Feb 2, 2025

屬於歷史包袱。
這麼一改,肯定有用戶來報,某某符號原來能直接上屏,現在需要多選一次。

@sncix
Copy link
Author

sncix commented Feb 7, 2025

某某符號原來能直接上屏,現在需要多選一次。

檢查了一下,全角模式下這樣的符號有一個:;半角模式下有 `@#= 四個,但很多輸入方案(例如地球拼音)裏 ` 被用於反查,本來就不能直接上屏,這種情形下實際上受影響的只有 @#= 三個。

@lotem
Copy link
Member

lotem commented Feb 8, 2025

已有人用就得保留。
不能破壞用家的方案。
最多能夠把相同的代碼寫成引用的格式。
可是那樣代碼不如現在直觀~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants