From: Steve W. <wai...@us...> - 2001-06-26 17:24:02
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv30827 Modified Files: README.coding Log Message: Added bit about following the PEAR coding standards; provided link; made sure the Wiki formatting was correct. Index: README.coding =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/README.coding,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** README.coding 2001/06/22 21:52:06 1.3 --- README.coding 2001/06/26 17:23:59 1.4 *************** *** 1,4 **** ! Here are the beginnings of some coding guidelines for PhpWiki. ! I18N: Using gettext() --- 1,9 ---- ! Here are the coding guidelines for PhpWiki. + ! Follow the style of the PEAR Coding Standards: + * http://www.php.net/manual/en/pear.standards.php + There's code snippets for configuring Emacs and Vim as well as several + other text editors. + ! I18N: Using gettext() *************** *** 22,26 **** argue that it's better to use tabs and let people set their tab width, but I think we're better off using just spaces because aligned ! comments in the right region will not align correctly. Use php-mode as well. This is freely available on the net --- 27,32 ---- argue that it's better to use tabs and let people set their tab width, but I think we're better off using just spaces because aligned ! comments in the right region will not align correctly. For a detailed ! argument see http://www.jwz.org/doc/tabs-vs-spaces.html. Use php-mode as well. This is freely available on the net *************** *** 28,35 **** in your .emacs file: ! (load "your-path-to-lisp-files/php-mode") ! (setq auto-mode-alist ! (append '( ! ("\\.php\\d?\\'" . php-mode)) auto-mode-alist)) so when you open .php files in Emacs it will start PHP mode --- 34,41 ---- in your .emacs file: ! (load "your-path-to-lisp-files/php-mode") ! (setq auto-mode-alist ! (append '( ! ("\\.php\\d?\\'" . php-mode)) auto-mode-alist)) so when you open .php files in Emacs it will start PHP mode *************** *** 42,44 **** it to this README. - Steve Wainstead \ No newline at end of file --- 48,49 ---- |