Line length limit suggestion in the FDP primer

Giorgos Keramidas keramida at freebsd.org
Sun Nov 7 22:30:41 UTC 2004


The style guide of the FDP primer mentions using 70-column lines.  IMHO, this
is too short, as I mentioned to a personal email exchange with Tillman Hodgson
a few days back.  A line length of 78 columns is probably ok these days (I
usually run terminals much wider, but I don't have a problem with keeping this
under the 80-column limit).

Any objections against the following patch (submitted by Tillman)?

: Index: writing-style/chapter.sgml
: ===================================================================
: RCS file: /exports/doc/doc/en_US.ISO8859-1/books/fdp-primer/writing-style/chapter.sgml,v
: retrieving revision 1.40
: diff -u -r1.40 chapter.sgml
: --- writing-style/chapter.sgml	22 Sep 2004 18:04:52 -0000	1.40
: +++ writing-style/chapter.sgml	4 Nov 2004 21:53:09 -0000
: @@ -245,7 +245,7 @@
:
:        <programlisting>augroup sgmledit
:    autocmd FileType sgml set formatoptions=cq2l " Special formatting options
: -  autocmd FileType sgml set textwidth=70       " Wrap lines at 70 spaces
: +  autocmd FileType sgml set textwidth=78       " Wrap lines at 78 columns
:    autocmd FileType sgml set shiftwidth=2       " Automatically indent
:    autocmd FileType sgml set softtabstop=2      " Tab key indents 2 spaces
:    autocmd FileType sgml set tabstop=8          " Replace 8 spaces with a tab



More information about the freebsd-doc mailing list