Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2004 00:30:29 +0200
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        freebsd-doc@freebsd.org
Subject:   Line length limit suggestion in the FDP primer
Message-ID:  <20041107223028.GA1505@gothmog.gr>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041107223028.GA1505>