Emacs无法使用输入法fcitx
- gre_linewer
- 帖子: 180
- 注册时间: 2006-11-22 10:57
Emacs无法使用输入法fcitx
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要复杂些.
按照置顶贴"Emacs23 配置指南",能正确显示汉字,但输入法怎么也弄不出来
.deb包试了,没用
.tar.bz2包试了,也没用
刚开始显示;mark set。我在.emacs里设置了(global-set-key (kbd "C-SPC")'nil)也没用,显示c-spac is undefined
PS:emacs在配置上比Vi要复杂些.
Ubuntu 8.04
IBM R52-18465DC
CPU:PM 1.73Ghz DDR2:768MB 533Mhz
INTEL 915GM/915PM
ATI Mobility Radeon X300 64MB
40G SATA
IBM R52-18465DC
CPU:PM 1.73Ghz DDR2:768MB 533Mhz
INTEL 915GM/915PM
ATI Mobility Radeon X300 64MB
40G SATA
- gre_linewer
- 帖子: 180
- 注册时间: 2006-11-22 10:57
-
- 帖子: 23
- 注册时间: 2006-02-12 20:39
cvs -d :pserver:anonymous@ftp.tsinghua.edu.cn/cvsroot co -r emacs-unicode-2 -d emacs23 cvs.savannah.gnu.org/emacs/emacs
- gre_linewer
- 帖子: 180
- 注册时间: 2006-11-22 10:57
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- gre_linewer
- 帖子: 180
- 注册时间: 2006-11-22 10:57
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- gre_linewer
- 帖子: 180
- 注册时间: 2006-11-22 10:57
(global-set-key (kbd "C-c") 'set-mark-command)
不过还是不行.
搜索论坛说是gnome的bug.但debian是没问题的
不过还是不行.
搜索论坛说是gnome的bug.但debian是没问题的
上次由 gre_linewer 在 2007-06-22 22:13,总共编辑 1 次。
Ubuntu 8.04
IBM R52-18465DC
CPU:PM 1.73Ghz DDR2:768MB 533Mhz
INTEL 915GM/915PM
ATI Mobility Radeon X300 64MB
40G SATA
IBM R52-18465DC
CPU:PM 1.73Ghz DDR2:768MB 533Mhz
INTEL 915GM/915PM
ATI Mobility Radeon X300 64MB
40G SATA
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- gre_linewer
- 帖子: 180
- 注册时间: 2006-11-22 10:57
- gre_linewer
- 帖子: 180
- 注册时间: 2006-11-22 10:57
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- gre_linewer
- 帖子: 180
- 注册时间: 2006-11-22 10:57
;; 设置中文语言环境,打开文件时为自动判断是否中文
;(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.
)
;(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.
)
Ubuntu 8.04
IBM R52-18465DC
CPU:PM 1.73Ghz DDR2:768MB 533Mhz
INTEL 915GM/915PM
ATI Mobility Radeon X300 64MB
40G SATA
IBM R52-18465DC
CPU:PM 1.73Ghz DDR2:768MB 533Mhz
INTEL 915GM/915PM
ATI Mobility Radeon X300 64MB
40G SATA
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系: