help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrong indentation when # is used as comment character


From: Andreas R.
Subject: Wrong indentation when # is used as comment character
Date: Sun, 18 Mar 2007 18:09:05 +0100
User-agent: KNode/0.10.4

E.g. when having following example code and using # as comment character
<?php
class Test {
    function test() {
        $a = 2; # comment
        $b = 3; # comment
    }
}
?>

it is indented in the following way:
<?php
class Test {
    function test() {
        $a = 2; # comment
                    $b = 3; # comment
                                }
}
?>

When using // it is indented correctly.
(using php-mode-1.1.0 and emacs-21.4-r4 on gentoo)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]