tom Mon May 21 12:28:36 2001 EDT
Modified files:
/phpdoc/de/pear standards.xml
Log:
Added note
Index: phpdoc/de/pear/standards.xml
diff -u phpdoc/de/pear/standards.xml:1.1 phpdoc/de/pear/standards.xml:1.2
--- phpdoc/de/pear/standards.xml:1.1 Fri May 18 14:08:07 2001
+++ phpdoc/de/pear/standards.xml Mon May 21 12:28:36 2001
@@ -1,5 +1,12 @@
<chapter id="pear.standards">
<title>PEAR Codierstandards</title>
+ <note>
+ <simpara>
+ Die PEAR Codierstandards gelten für Code, welcher zum Bestandteil
+ von PEAR werden soll, und so entweder mit PHP, oder über den Download
+ des PEAR Installationstools verfügbar ist.
+ </simpara>
+ </note>
<sect1 id="pear.standards.indenting">
<title>Einrücken</title>
<para>
@@ -14,7 +21,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>Hier sind die vim rules für das gleiche Problem: