From owner-freebsd-doc@freebsd.org Sat Jul 18 22:18:51 2015 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDA869A4227 for ; Sat, 18 Jul 2015 22:18:50 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id A5A741B68 for ; Sat, 18 Jul 2015 22:18:50 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 1A1D093B0 for ; Sat, 18 Jul 2015 22:18:49 +0000 (UTC) Subject: Re: What is the proper indent style for FDP? To: freebsd-doc@freebsd.org References: <55AACF8D.3060000@gmail.com> From: Allan Jude X-Enigmail-Draft-Status: N1110 Message-ID: <55AAD0CC.5030001@freebsd.org> Date: Sat, 18 Jul 2015 18:18:52 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55AACF8D.3060000@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K0oKBkkluXrW0AeTxEWhiSMfCD9lXgIMv" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2015 22:18:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K0oKBkkluXrW0AeTxEWhiSMfCD9lXgIMv Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-07-18 18:13, Hoyoung Kim wrote: > Hello. I'm curious about indentation style. > Which is the proper one when dealing with FDP xml files? >=20 > The original FDP files follow the style like this: >=20 > We have tried to keep the number of forward references in > the text to a minimum so that you can read this section of the > Handbook from front to back with the minimum page flipping > required. >=20 > This is another example: >=20 > > Introduce you to X, the &unix; windowing system, and > detail how to configure a desktop environment that makes > you more productive. > >=20 > However, when I press P in Vim Visual mode to reformat selected text, > the style changes like this: >=20 > We have tried to keep the number of forward references in > the text to a minimum so that you can read this section of the > Handbook from front to back with the minimum page flipping > required. >=20 > And this: >=20 > Introduce you to X, the &unix; windowing > system, and detail how to configure a desktop environment that > makes you more productive. >=20 > All the original files follow the former style, but FDP Primer suggests= > the latter style. > (https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/editor-co= nfig.html#editor-config-vim) >=20 >=20 > I want to know whether the latter style is allowed or not. Should I > manually indent paragraphs after pressing P? >=20 > Thanks. > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/writing-styl= e-guide.html#writing-style-indentation two spaces per indent, one indent per tag. 8 spaces =3D a real tab. No spaces before a real tab. No whitespace at the end of the line. --=20 Allan Jude --K0oKBkkluXrW0AeTxEWhiSMfCD9lXgIMv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJVqtDoAAoJEBmVNT4SmAt+aKIQAJwJOB/GIaFD/1bgQ92GSTPu YrnkQmluReQ9r/jTG+EUf0Nv1gGVa+/Nq/ganw0qTX8xFRVhhYStqAonnF1xlkKg en1oXUTxpJaF4rbDlNwlN6MNV32GpWV7Jzc3UgML3FdC8enYMSDuwMHDVJILCSz0 D7hd6BJEy5xplFOZi4GsYhYwCj/25UgYC1GxrphwLqWB8LEYMHV1zimpCxRdRQmi yhX4dr9fG+bqobLSEuM3IcVj6cpxA5mSjHOyPCLKb9W9T7/u6nwv+ga2L2khhsOC tBL4umjGqeD+V+saG3KXUxkRDuwBm8jPvOo2cYXS2ShiR3gzzwJuXkYsJHFsYWZE iEYr8iFJ9XF9jnzP7LRLG92jz0gurg/WfZemXj4z291ATL/Izam+Uzhoo2wfcbBt mM4xQLZ5VFBbA867FcoKLM2lTv1kCJQFp/adThe65bJpoUOs2h3iBhRzA35qEa9J RRgWvz/k73YoIMS/gRBlh9Op95/kVHHDpoiH83sEYwFJkyIaDG316OBDkx8lDlPb js42/aKMgMn/Vn4f3esnb+soCHy4XPe3DikbJ1VDw8ONVlYPFRLztErnrnXV7CE1 hgSeyUiIHWHLaW17ELeDFpfMwt0Ujsn6k7tDw5BgwaBHOk0cNffDj5Dwq01Myola MDIeRgX259RET3agDUhD =23XU -----END PGP SIGNATURE----- --K0oKBkkluXrW0AeTxEWhiSMfCD9lXgIMv--