pyim 已经可以使用 emacs26 的线程了。

加一些hook或者代码,某些mode或环境下自动禁用中文输入,比如magit的buffer,evil的normal状态,这个功能很诱人