分页: 1 / 2

Emacs无法使用输入法fcitx

发表于 : 2007-06-20 16:03
gre_linewer
ubuntu6.10 locale zh_CN.utf-8
按照置顶贴"Emacs23 配置指南",能正确显示汉字,但输入法怎么也弄不出来
.deb包试了,没用
.tar.bz2包试了,也没用
刚开始显示;mark set。我在.emacs里设置了(global-set-key (kbd "C-SPC")'nil)也没用,显示c-spac is undefined

PS:emacs在配置上比Vi要复杂些.

发表于 : 2007-06-20 16:07
smallstar
没有啊,我输入法装拉很好。emacs也配置好了。

发表于 : 2007-06-20 16:20
gre_linewer
难道真是RP问题?????????????????????????
我是下的这个包http://ftp.ubuntu.org.cn/software/文本工具/emacs23.tar.bz2

发表于 : 2007-06-22 11:43
xianyun
cvs -d :pserver:anonymous@ftp.tsinghua.edu.cn/cvsroot co -r emacs-unicode-2 -d emacs23 cvs.savannah.gnu.org/emacs/emacs

发表于 : 2007-06-22 18:59
gre_linewer
楼上的能解释下意思没?
没用过cvs.刚装了,然后输入没反应
PS:我是教育网用户,出校要代理的说

发表于 : 2007-06-22 19:02
BigSnake.NET
你的fcitx捕获不到C-space..
你的fcitx怎么装的..

发表于 : 2007-06-22 21:28
gre_linewer
sudo apt-get install fcitx
但别的程序都没问题,比如vi firefox gedit..........

发表于 : 2007-06-22 21:32
BigSnake.NET
试着把 set-mark-command 绑到非 C-space

发表于 : 2007-06-22 22:06
gre_linewer
(global-set-key (kbd "C-c") 'set-mark-command)
不过还是不行.
搜索论坛说是gnome的bug.但debian是没问题的

发表于 : 2007-06-22 22:08
BigSnake.NET
(global-set-key (kbd "s-SPC") 'set-mark-command)
(global-set-key (kbd "C-SPC") nil)

发表于 : 2007-06-22 22:40
gre_linewer
还是不行,,,,,,,,,,,,,,,,,

发表于 : 2007-06-22 22:42
gre_linewer
我想哭了.......................

发表于 : 2007-06-22 22:47
BigSnake.NET
贴你的 .emacs.el出来吧

发表于 : 2007-06-22 22:50
gre_linewer
;; 设置中文语言环境,打开文件时为自动判断是否中文
;(set-language-environment 'Chinese-GB)
;;
;; ;; 写文件的编码方式
;(set-buffer-file-coding-system 'gb2312)
;;
;; ;; 新建文件的编码方式
; (setq default-buffer-file-coding-system 'gb2312)
;;
;; ;; 终端方式的编码方式,如M-x shell
; (set-terminal-coding-system 'utf-8)
;;
;; ;; 键盘输入的编码方式
; (set-keyboard-coding-system 'gb2312)
;;
;; ;; 读取或写入文件名的编码方式
; (setq file-name-coding-system 'utf-8)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;InputMethod??????????????
(global-set-key (kbd "C-SPC")'nil)
;(set-mark-command (kbd "C-q")'nil)
(global-set-key (kbd "s-SPC") 'set-mark-command)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq default-major-mode 'text-mode);一打开就起用 text 模式。
(global-font-lock-mode t);语法高亮
(auto-image-file-mode t);打开图片显示功能
(fset 'yes-or-no-p 'y-or-n-p);以 y/n代表 yes/no,可能你觉得不需要,呵呵。
(column-number-mode t);显示列号
(show-paren-mode t);显示括号匹配
(display-time-mode 1);显示时间,格式如下
(setq display-time-24hr-format t)
(setq display-time-day-and-date t)
;(tool-bar-mode nil);去掉那个大大的工具栏
(scroll-bar-mode nil);去掉滚动条,因为可以使用鼠标滚轮了 ^_^
(mouse-avoidance-mode 'animate);光标靠近鼠标指针时,让鼠标指针自动让开,别挡住视线。很好玩阿,这个功能
(setq mouse-yank-at-point t);支持中键粘贴
(transient-mark-mode t);这个忘了,郁闷!
(setq x-select-enable-clipboard t);支持emacs和外部程序的粘贴
(setq frame-title-format "dolphin9@%b");在标题栏提示你目前在什么位置。你要把zhan改成自己的用户名
(setq default-fill-column 80);默认显示 80列就换行
;;;Select Color-Theme;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;(load-file "/home/dolphin9/Software/color-theme.el")
;(color-theme-word-perfect);选择darkblue的配色方案
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(add-hook 'texinfo-mode-hook (lambda () (require 'sb-texinfo)))
(load-file "/home/dolphin9/Software/MyEmacs/cedet-1.0beta3b/common/cedet.el")
(semantic-load-enable-code-helpers)
(autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
(autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
(define-key-after (lookup-key global-map [menu-bar tools])
[speedbar]
'("Speedbar" .
speedbar-frame-mode)
[calendar])
(add-to-list 'load-path "/home/dolphin9/Software/MyEmacs/ecb-2.32")
(require 'ecb)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(load-file "/home/dolphin9/Software/MyEmacs/tabbar.el")
(require 'tabbar)
(tabbar-mode)
(global-set-key (kbd "C-=") 'tabbar-backward-group);;这几句的目的是绑定快捷键这样就可以直接用快捷键来操做了。
(global-set-key (kbd "C--") 'tabbar-forward-group);;不过没有发现有很大用处,所以注释了。
(global-set-key (kbd "C-0") 'tabbar-backward)
(global-set-key (kbd "C-9") 'tabbar-forward)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(column-number-mode t)
'(current-language-environment "Chinese-GBK")
'(display-time-mode t)
'(show-paren-mode t)
'(transient-mark-mode t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)

发表于 : 2007-06-22 22:53
BigSnake.NET
emacs -q
这样启动..看可不可以