我正在尝试配置Emacs,使其遵循v23的Kohana编码标准。我正在使用带有nxhtml插件的Emacs。
我可以看到缓冲区中的缩进制表符模式设置为t,但是当我按Tab键缩进代码时,我看到插入的是两个空格,而不是tab字符。
会出什么问题呢?
下面是我的.emacs的内容:
(server-start)
;;php mode
(add-hook 'nxhtml-mumamo-mode-hook
(lambda ()
(setq indent-tabs-mode t)
))
(load "/home/sabya/install/emacs-stuff/nxhtml/autostart.el")发布于 2011-12-06 08:02:05
这是mumamo的bug,现在是fixed
发布于 2011-11-23 19:45:58
在你的.emacs中,它应该可以完成这项工作:
(setq c-default-style "bsd"
c-basic-offset 4)https://stackoverflow.com/questions/7332733
复制相似问题