phpemacsnxhtml

How to configure Emacs (v 23) with nxhtml to follow Kohana coding standards?


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

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.

What could be wrong?

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")

Solution

  • This was a bug in mumamo, now fixed.