You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find that when cursor is between an English word and Chinese character or full-width punctuation, there are some strange phenomenon:
If I type a space, the cursor will automatically move back to the front of the last character of that English word.
If I type a English character, the cursor will automatically back to the front of that character.
Here are two gifs I record these problems
Steps to reproduce:
type test|,(notice the comma is full-width punctuation and | is the cursor's place)
type space
Then you can see the cursor's automatic movement.
Steps to reproduce:
type test |中文
type an English character
I think these two situation is really common while we write some articles with English and Chinese. Image when you type Artificial 是人工智能 and you forget the spell of intelligence. After you look up the dictionary, you know it's spell. Then you need to move cursor to the front of 是 and type intelligence. But if you type i and hesitate 0.01s you will get something like ntelligencei. And it's really a torture because you should move the cursor once you type an English character(every time you type an English character between English word and Chinese character, the cursor will move back ).
There is a workround by typing two spaces before Chinese character or full-width punctuation, But you need to delete that extra space every time you complete your writing.
The text was updated successfully, but these errors were encountered:
I am not able to reproduce the behavior you experience. Could you try the master branch with vanilla emacs to see the problem persists? To test with vanilla emacs, you can run emacs -q and load pangu-spacing (e.g. open pangu-spacing.el and eval the buffer). It can also be helpful if you can provide your version of emacs.
@yangsheng6810,Thanks for your reply, after updating to the master branch and test with vanilla emacs, the problems disappear. But using my emacs's config, the second problem still exists.
If the problem cannot be reproduced with vanilla Emacs, there is not much we can help. I would suggest you bisect your Emacs config to find out the offending line. We might be able to help you if the problem comes from conflicts with other packages.
I find that when cursor is between an English word and Chinese character or full-width punctuation, there are some strange phenomenon:
Here are two gifs I record these problems
Steps to reproduce:
test|,
(notice the comma is full-width punctuation and|
is the cursor's place)Then you can see the cursor's automatic movement.
Steps to reproduce:
test |中文
I think these two situation is really common while we write some articles with English and Chinese. Image when you type
Artificial 是人工智能
and you forget the spell ofintelligence
. After you look up the dictionary, you know it's spell. Then you need to move cursor to the front of是
and typeintelligence
. But if you typei
and hesitate 0.01s you will get something likentelligencei
. And it's really a torture because you should move the cursor once you type an English character(every time you type an English character between English word and Chinese character, the cursor will move back ).There is a workround by typing two spaces before Chinese character or full-width punctuation, But you need to delete that extra space every time you complete your writing.
The text was updated successfully, but these errors were encountered: