[35547] trunk/doc-new/guide/xml/portfiledev.xml
markd at macports.org
markd at macports.org
Sat Mar 29 20:26:30 PDT 2008
Revision: 35547
http://trac.macosforge.org/projects/macports/changeset/35547
Author: markd at macports.org
Date: 2008-03-29 20:26:28 -0700 (Sat, 29 Mar 2008)
Log Message:
-----------
Update the modeline doc to match the latest modeline change to HACKING
in r35103. It shortens filetype to ft.
Modified Paths:
--------------
trunk/doc-new/guide/xml/portfiledev.xml
Modified: trunk/doc-new/guide/xml/portfiledev.xml
===================================================================
--- trunk/doc-new/guide/xml/portfiledev.xml 2008-03-30 02:33:35 UTC (rev 35546)
+++ trunk/doc-new/guide/xml/portfiledev.xml 2008-03-30 03:26:28 UTC (rev 35547)
@@ -562,8 +562,8 @@
<note>
<para>You should create one patch file for each file to be
patched, though it is permissible to use existing patches you find
- that patch multiple files. Patchfile filenames should generally
- be of the form
+ that patch multiple files. Patchfile filenames should generally be
+ of the form
<filename>patch-</filename><replaceable><directory></replaceable>-<replaceable><filename></replaceable>,
as shown in this example:
<filename>patch-src-Makefile.in</filename>.</para>
@@ -684,12 +684,12 @@
<title>Port Style</title>
<para>Portfiles may be thought of as a table of keys and values in two
- columns separated by spaces (not tabs), so you should set your
- editor to use soft tabs, which are tabs emulated by spaces. By default,
- the top line of all Portfiles should use a modeline that defines soft
- tabs for the vim and emacs editors as shown.</para>
+ columns separated by spaces (not tabs), so you should set your editor to
+ use soft tabs, which are tabs emulated by spaces. By default, the top
+ line of all Portfiles should use a modeline that defines soft tabs for
+ the vim and emacs editors as shown.</para>
- <programlisting># -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4</programlisting>
+ <programlisting># -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4</programlisting>
<para>The left column should consist of single words, and will be
separated from the more complex right side by spaces in multiples of
@@ -736,4 +736,4 @@
${name}-src-${version}</para>
</section>
</section>
-</chapter>
+</chapter>
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080329/b9828fd6/attachment.html
More information about the macports-changes
mailing list