coldnew / pangu-spacing

emacs minor-mode to add space between Chinese/Japanese/Korean and English characters.
144 stars 16 forks source link

Percent sign after number won't be spaced #31

Open Ynjxsjmh opened 5 years ago

Ynjxsjmh commented 5 years ago

Say I have some text like

迈克尔写了 99% 的歌词,但是他觉得没必要说出来。

I think there should have a space after percent sign % and before Chinese character 的 like the example I give above.

I also find pangu.js's description in your README saying:

This plugin (support Chrome and Firefox) is what you need when surfing the internet, it will add whitespace between Chinese, half-width English, digits and symbols automatically.

However what pangu-spacing does is

迈克尔写了 99%的歌词,但是他觉得没必要说出来。
coldnew commented 5 years ago

Yes, currently the pangu-spacing is not a clone of pangu.js, so their functionality are different.

I have plans to backport my Clojure/Script port of pangu.clj to pangu.el, which is in develop branch on pangu-spacing, but the work is in slow progress...