This topic created in 4799 days ago, the information mentioned may be changed or developed.
这个情况我也不太会描是怎么回事儿。在emacs下面的代码是4空格的tab键,对齐方式没问题。可是用其他编辑器 TextMate, Sublime打开的时候就会发现对齐完全是混乱的,都是顶格的。相应的配置是这样的:
;; set tab as 4 spaces
(setq indent-tabs-mode nil)
(setq tab-width 4)
(setq indet-line-function 'insert-tab)
(setq c-basic-offset 4)
(setq tab-stop-list ())
操作系统是Mac,emacs原版和Aquamacs都有这个问题。