一个是设置ibus的启动模式可以设置成 ibus-daemon -d -x 另外一个就是可以在.bashrc 里面加入 export XMODIFIERS=@im=ibus export GTK_IM_MODULE=ibus export QT_IM_MODULE=ibus 假如还是不启作用,你可以在运行emacs之前先运行上面都命令,保证emacs运行时候处于上述环境变量中 基本上保证这两条就不会出现这个问题 如果依然不行,你应该检查一下emacs的环境变量,不是locale是上面的输入法环境变量。 发送自我的 BlackBerry® 智能手机 www.blackberry.com
-----Original Message----- From: Liu Binsheng <[email protected]> Date: Mon, 20 Feb 2012 16:08:51 To: <[email protected]> Subject: Re: emacs无法使用ibus $ locale LANG=en_US.utf8 LANGUAGE= LC_CTYPE=zh_CN.UTF-8 LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL= 不是locale的问题,而且其他所有程序包括GTK程序都可以正常用ibus。 在emacs窗口的时候,点击ibus图标就显示"No input window"。 On Mon, Feb 20, 2012 at 10:09:39AM +0800, Liuheng wrote: > 是不是CTYPE的问题呢? 你是用英文的LOCAL吗? > > 在 2012年2月19日下午11:09,Liu Binsheng <[email protected]>写道: > > hi, 最近做了一次upgrade之后,原本可以在emacs中正常使用的ibus现在不能用 > 了,用ibus.el还可以使用。其他gtk程序都正常。不知是否有人遇到一样的问题? > > emacs和ibus都是testing的。emacs24和unstable的ibus也试过,都不行。 > > > > > -- Liu Binsheng <[email protected]> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/20120220080851.GA7439@debian

