|
发表于 2009-2-24 21:23:57
|
显示全部楼层
emacs23已经完美地支持中文了, 包含各种中文编码, 几乎没有什么问题, 关于tab问题, emacs下的所有功能都是函数数, 可以绑定到任何的按键上,
上面的问题给出点简单的解决方案, 详细的还是请看下 info, emacs的帮助还是很详尽而且很方便的:
1. tab
c-tab-always-indent nil ; indent only if cursor is on the first non-whitespace
2. tab页, 请使用 tabbar 扩展, 基本配置:
(require 'tabbar)
(tabbar-mode t)
(global-set-key (kbd "M-[") 'tabbar-backward-tab)
(global-set-key (kbd "M-]") 'tabbar-forward-tab)
(setq tabbar-help-on-tab-function nil) ; don't show the anoying help info when cursor over tab
(global-set-key [(control tab)]
(lambda ()
"ctrl-tab switchs to recently selected buffer"
(interactive)
(switch-to-buffer (other-buffer))))
如果想使用 emacs 一定要有点耐心, C-h f C-h v C-h i 都能给你很大帮助, 当你使用几个月之后, 你会发现 emacs 几乎无所不能, 很多东西自己看看帮助都能找到答案, 怒气冲冲地到论坛上想找个很完整并符合你口味的不太容易, 对于 emacs 这种超定制的东东, 100个人可能有100个不同的使用方法和风格. |
|