It seems correct now.
The first time I opened emacs, a bunch of error message flooded in the *Message* buffer, and I can't even edit files, font highlights are also messed up.
So I reopened emacs, this time everything seems O.K. The weird indenting problem is solved.
I checked *Message* buffer, there is an error:
File mode specification error: (file-error "Cannot open load file" "sb-html")
But it seems doesn't matter, I'm not sure.
Another question, when edit php files in emacs php-mode, the comment style is C++,
i.e.
// comment line 1
// comment line 2
now nxhtml's comment style is C
i.e.
/* comment line 1 */
/* comment line 2 */
It seems correct now.
The first time I opened emacs, a bunch of error message flooded in the *Message* buffer, and I can't even edit files, font highlights are also messed up.
So I reopened emacs, this time everything seems O.K. The weird indenting problem is solved.
I checked *Message* buffer, there is an error:
File mode specification error: (file-error "Cannot open load file" "sb-html")
But it seems doesn't matter, I'm not sure.
Another question, when edit php files in emacs php-mode, the comment style is C++,
i.e.
// comment line 1
// comment line 2
now nxhtml's comment style is C
i.e.
/* comment line 1 */
/* comment line 2 */
How can I change the comment style?