From: Jeff D. <da...@da...> - 2001-09-18 15:08:43
|
On Sep 18, 2001, Reini Urban said: > > I don't know why now, but I have added "ellemtel" somewhen: > > phpwiki-footer: > // For emacs users > // Local Variables: > // mode: php > // tab-width: 8 > // c-basic-offset: 4 > // c-hanging-comment-ender-p: nil > // indent-tabs-mode: nil > // c-file-style: "ellemtel" > // End: > ?> That's my fault, probably. Ellemtel's (whoever he was) style matches the _old_ PhpWiki style best, but does not work so well for the new, PEAR indentation style. 'Gnu' (which is the default for php-mode) is the style I've been using as of late. But, note also that you can't use 'c-file-style: gnu' in the file local variable hooks section. If you do, (c-set-style 'gnu') which gets called after the other file local variables get set up, resets c-basic-offset (and others) to the defaults for the style. (The default is c-basic-offset=2 for the gnu style.) Jeff |