Skip to content

Conversation

@metaescape
Copy link

由于 pyim-cstring-words-at-point 使用 thing-at-point 来获得当前的 word, 然后对其进行分词

但是光标在中英文之间时, thing-at-point 只返回光标右边的字符串,例如 "世界|hello" 返回的是 hello,这个时候调用 pyim-backward-word 只会往左移动一个字符。

同样对于 "hello|世界", thing-at-point 返回的是世界, 这时调用 pyim-backward-word 也只能往左移动一个英文字符。

PR 里新增了两个函数,当光标在中英文之间时临时左移一个字符后再调用 thing-at-point 和 bounds-of-thing-at-point

@tumashu
Copy link
Owner

tumashu commented Aug 2, 2021

你有没有签署过gpl协议?

@metaescape
Copy link
Author

你有没有签署过gpl协议?

应该没有,我第一次给开源项目发pr,需要怎么操作呢

@tumashu
Copy link
Owner

tumashu commented Aug 3, 2021

https://www.gnu.org/software/emacs/manual/html_node/emacs/Copyright-Assignment.html#Copyright-Assignment

基本上就是在 emacs-devel mailling list 上发一个邮件,要 copyright assignment for an elpa package, 有人就会给你发个回复 email, 按要求做就可以。

邮件类似:
https://lists.gnu.org/r/emacs-devel/2021-07/msg00379.html

@tumashu
Copy link
Owner

tumashu commented Aug 3, 2021

@metaescape
Copy link
Author

感谢,我和[email protected] 联系过,现在已经收到一份 pdf 了,由于我在学校,现在暑假,暂时找不到人签所属单位免责,等之后都处理完了再来告知~

@tumashu
Copy link
Owner

tumashu commented Aug 22, 2021

ok

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

Successfully merging this pull request may close these issues.

3 participants