unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Wrong indentation when # is used as comment character
@ 2007-03-18 17:09 Andreas R.
  0 siblings, 0 replies; only message in thread
From: Andreas R. @ 2007-03-18 17:09 UTC (permalink / raw)
  To: help-gnu-emacs

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-18 17:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-18 17:09 Wrong indentation when # is used as comment character Andreas R.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).