I typically code my PHP with one level of indentation after the initial <?php
, but I'm having trouble finding a setting for this in Emacs with php-mode
.
To be clear, here's what Emacs is doing:
<?php
echo "Hello.";
if (something)
do_something();
And here's how I usually code:
<?php
echo "Hello.";
if (something)
do_something();
Emacs version 23 (straight from CVS), php-mode 1.5.0.