cvs: phpdoc /en/pear standards.xml
| From: | Stig Bakken | Date: | Mon, 07 May 2001 05:26:56 +0000 |
| Subject: | cvs: phpdoc /en/pear standards.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969335191@lists.php.net to get a copy of this message | ||
ssb Sun May 6 22:26:56 2001 EDT
Modified files:
/phpdoc/en/pear standards.xml
Log:
updated the .emacs example
Index: phpdoc/en/pear/standards.xml
diff -u phpdoc/en/pear/standards.xml:1.3 phpdoc/en/pear/standards.xml:1.4
--- phpdoc/en/pear/standards.xml:1.3 Mon Mar 12 06:00:51 2001
+++ phpdoc/en/pear/standards.xml Sun May 6 22:26:55 2001
@@ -1,5 +1,12 @@
<chapter id="pear.standards">
<title>PEAR Coding Standards</title>
+ <note>
+ <simpara>
+ The PEAR Coding Standards applies to code that is to become a part
+ of PEAR, either distributed with PHP or available for download via
+ PEAR's install tool.
+ </simpara>
+ </note>
<sect1 id="pear.standards.indenting">
<title>Indenting</title>
<para>
@@ -12,7 +19,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))))))
</programlisting>
</para>
<para>Here are vim rules for the same thing: