coldnew / pangu-spacing

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

Fix the case for alternating characters #34

Closed yangsheng6810 closed 5 years ago

yangsheng6810 commented 5 years ago

For a string "2019年08月22日 星期四", if we write modification, it becomes "2019 年08 月 22日 星期四", since real modifying matches "9年", and "年" is not considered for future mappings. Therefore, there is problem if we have characters alternating between English and Chinese.