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

[BUG] evil下矩形编辑的多余回删 #214

Open
ATNewHope opened this issue Jan 29, 2023 · 0 comments
Open

[BUG] evil下矩形编辑的多余回删 #214

ATNewHope opened this issue Jan 29, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ATNewHope
Copy link
Contributor

发现一个bug,
暂无法确定是属于emacs-rime的,还是evil的,或者是emacs本身的。

当使用evil的矩形编辑时,若批量插入的时候输入了中文时在候选框回删,会引起在别的行的多余回退。

例如,下面的样本
123
123
123
将光标放在第一行的3上,然后 C-v j j I abc ESC 会得到
12abc3
12abc3
12abc3
而对于相同的样本,如果将光标放在第一行的3上,然后 C-v j j I C-\ c DEL d DEL C-\ abc ESC 会得到
12abc3
abc3
abc3
这里的c和d都是输入输入法的字码,且并不选字上屏,并用DEL两次回删,理应不会造成任何改变,但实际上却造成了后面行的数字12被删掉了。

复现方式

为emacs安装evil和rime并如上使用

环境信息

  • 操作系统: ArchLinux
  • Emacs 28.2
  • 系统的所有包和插件都是最新
@ATNewHope ATNewHope added the bug Something isn't working label Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant