今天发现Arch系统下的emacs中,用Ctrl+Space调不出fcitx输入法了,禁止emacs的Ctrl+Space快捷键也无济于事,google了一下,问题终于得到了解决。
原来,我的locale全是en_US.UTF-8,要在emacs里使用fcitx,得把LC_CTYPE设置成zh_CN.UTF-8,这样问题很快得到了解决。有两种解决方法。
第一种:
在~/.bashrc中输入export LC_CTYPE=zh_CN.UTF-8保存,然后每次从终端启动emacs。
第二种:
菜单里的emacs启动参数为emacs23 %F,而emacs23在/usr/bin目录下,链接到/usr/bin/emacs23-x文件。于是,删除/usr/bin/emacs23文件,并新建/usr/bin/emacs23,内容如下:
LC_CTYPE=zh_CN.UTF-8 /usr/bin/emacs-x $@
保存之。这样每次从菜单里启动emacs时,都会将LC_CTYPE设置成zh_CN.UTF-8。
CTRL+SPACE原来是绑定着set-mark-command的,不过这个命令用得不是太多,所以这样用输入法快捷键占用下也无所谓了。
分享到:
相关推荐
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
emacs ecb cedet源码包 包括: emacs-23.4.tar.gz emacs-24.3.tar.gz ecb-2.40.zip cedet-1.0.1.tar.gz cedet-1.1.tar.gz
现在cscope和autocomp插件越来越不好找,传一个自己用,并分享!
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
Learning_GNU_Emacs_Third_Edition.chm Linux.Commands.Editors.and.Shell.Programming.chm Managing+Projects+with+GNU+Make.pdf O'Reilly.Bash.Cookbook.May.2007.pdf Prentice.Hall.Linux.Debugging.and....
这是原地址http://linux.cuit.edu.cn/?p=1020 我是用不到了 我的另一个emacs配置是我自己的 这个是从上面那个地址下的
emacs sapcemacs cscope的支持。供不能连GITHUB的用户离线安装
本压缩包包括了:living in emacs, survive in emacs & gnu emacs pocket referrence. 希望大家喜欢
docker-vscode:具有Visual Studio Code + Dotnet CLI + NPM + Emacs +的... docker-vscode:具有Visual Studio Code + Dotnet CLI + NPM + Emacs +的Docker映像! docker-vscode:具有Visual Studio Code + ...
cmake-ide:将Emacs用作CC ++ IDE
dotemacs:Emacs +邪恶配置
CTRLF CTRLF(发音为“控制F”)是用于在Emacs单缓冲器文本搜索直观且有效的解决方案,替换包如 ,和。 为什么不Mx occur ? 为什么不选择Avy? 贡献 安装CTRLF作为MELPA上的软件包提供。 安装此软件包的最简单方法...
dotemacs, 用于vim用户的emacs配置 dotemacs这是我个人的KISS配置。介绍有许多emacs配置,这是什么使这一?吻这是个简单愚蠢的配置。 它用 3个简单构建块构建,足够小,它是白色魔术而不是 black 魔术。简单构建 ...
Emacs中的C / C ++完成 使用Irony和GTAGS使用emacs完成C / C ++代码 博客文章: : 该存储库包括两组文件。 第一个cpp_completion.el包含在emacs中安装/激活软件包所需的emacs lisp配置文件。 将此文件包含在~/....