Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Specific PHP formatting options

closed
nobody
None
5
2001-10-21
2001-05-22
Anonymous
No

It would be nice to see some formatting options
specific to php-mode.el; i.e. such that are not
inherited from c-mode.

A typical construct from my PHP-code:

if (isset ($as) && strlen ($as) > 0)
{
}
else
doo_foo ();

Whereas in c-mode, I often use

if (i) {
}
else
doo_foo ();

Discussion

    • status: open --> closed
     
  • Logged In: YES
    user_id=137402

    Thanks for your input.

    Since php-mode inherits the indenting from c-mode, to implement
    any different indenting logic would require creating a new major
    mode from scratch.

    I have no intention of doing this. :) Volunteers, of course,
    are welcome.