Salmon
07-20-2001, 11:44 AM
I'm having some problems with the a php mode for emacs. Most of it is derived from c-mode.
According to the PEAR standard, functions definitions should be formatted like this . . .
function myFunction($arg1)
{
// function code
}
That's not a problem. Not unless the function is actually a method (function definition embedded within a class), in which case the mode decides that the indentation should look like this . . .
function myMethod($arg1)
{
//function code
}
I'm sure that I can probably just change a c-mode setting to fix this. I just don't know which one.
Thanks for any help.
[ 20 July 2001: Message edited by: Salmon ]
According to the PEAR standard, functions definitions should be formatted like this . . .
function myFunction($arg1)
{
// function code
}
That's not a problem. Not unless the function is actually a method (function definition embedded within a class), in which case the mode decides that the indentation should look like this . . .
function myMethod($arg1)
{
//function code
}
I'm sure that I can probably just change a c-mode setting to fix this. I just don't know which one.
Thanks for any help.
[ 20 July 2001: Message edited by: Salmon ]