emacs cc-mode 的 TAB 缩进

Vim、Emacs配置和使用
回复
cuiaoxiang
帖子: 62
注册时间: 2010-02-01 19:08

emacs cc-mode 的 TAB 缩进

#1

帖子 cuiaoxiang » 2010-08-12 16:02

emacs 内部似乎是把所有的缩进都当成一个 '\t' 然后显示出来的时候按照具体的缩进层次显示,但是这样 emacs 编辑的文件,用别的编辑器打开的时候,所有的缩进都是一样的,如图:
emacs 下编辑显示正常
emacs.jpg
vim 打开看缩进全是只有一层。。。
vim.jpg
应该是什么地方没设置好,求教~
God grant me the serenity to accept the things I cannot change
the courage to change the things I can
the wisdom know the difference
回复