如何使用nxhtml配置Emacs(v23)以遵循Kohana编码标准? [英] How to configure Emacs (v 23) with nxhtml to follow Kohana coding standards?

查看:107
本文介绍了如何使用nxhtml配置Emacs(v23)以遵循Kohana编码标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试配置Emacs v23以跟随Kohana PHP的编码标准。我正在使用带有nxhtml插件的Emacs。

I am trying to configure Emacs v23 to follow Kohana coding standards for PHP. I am using Emacs with nxhtml plugin.

我可以看到缩进选项卡模式在缓冲区中设置为t,但是当我按Tab键缩进代码时,我看到两个空格插入不是TAB字符。

I can see the indent-tabs-mode is set to t in the buffer, but when I press tab to indent the code, I see two spaces are inserted not the TAB character.

什么可能是错的?

这里我的.emacs的内容:

Here the content of my .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")


推荐答案

这是一个错误在妈妈,现在固定的< a>。

This was a bug in mumamo, now fixed.

这篇关于如何使用nxhtml配置Emacs(v23)以遵循Kohana编码标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆