cvs: php4 /pear CODING_STANDARDS
| From: | Stig Bakken | Date: | Sun, 06 May 2001 23:44:07 +0000 |
| Subject: | cvs: php4 /pear CODING_STANDARDS | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-118@lists.php.net to get a copy of this message | ||
ssb Sun May 6 16:44:07 2001 EDT
Modified files:
/php4/pear CODING_STANDARDS
Log:
updated the .emacs example
Index: php4/pear/CODING_STANDARDS
diff -u php4/pear/CODING_STANDARDS:1.5 php4/pear/CODING_STANDARDS:1.6
--- php4/pear/CODING_STANDARDS:1.5 Sun Feb 18 09:47:43 2001
+++ php4/pear/CODING_STANDARDS Sun May 6 16:44:06 2001
@@ -2,7 +2,7 @@
|| PEAR Coding Standards ||
===========================================================================
-$Id: CODING_STANDARDS,v 1.5 2001/02/18 17:47:43 jon Exp $
+$Id: CODING_STANDARDS,v 1.6 2001/05/06 23:44:06 ssb Exp $
-------------
[1] Indenting
@@ -17,7 +17,10 @@
(setq tab-width 4
c-basic-offset 4
c-hanging-comment-ender-p nil
- indent-tabs-mode nil))
+ indent-tabs-mode
+ (not
+ (and (string-match "/\\(PEAR\\|pear\\)/" (buffer-file-name))
+ (string-match "\.php$" (buffer-file-name))))))
Here are vim rules for the same thing:
@@ -188,7 +191,7 @@
// | Your Name <you@example.com> |
// +----------------------------------------------------------------------+
//
-// $Id: CODING_STANDARDS,v 1.5 2001/02/18 17:47:43 jon Exp $
+// $Id: CODING_STANDARDS,v 1.6 2001/05/06 23:44:06 ssb Exp $
There's no hard rule to determine when a new code contributer should be
added to the list of authors for a given source file. In general, their