🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #211388

Re: [slrn][pan] Moving Along

#211388
From: Frank Slootweg
Date: Sat, 08 Dec 2007 20:07
46 lines
3412 bytes
Christian Ebert <blacktrash@gmx.net> wrote:
> * Frank Slootweg on Thursday, December 06, 2007:
> > Peter J. Holzer <hjp-usenet2@hjp.at> wrote:
> >> (but I'm not going to patch format=flowed composition support into
> >> vim, sorry).
> > 
> >  It's probably more a question for comp.editors, but is format=flowed
> > composition that hard to do in vi[m]? vi[m] already understands the
> > concept of a paragraph, so I could imagine that format=flowed
> > composition would only need a vi[m] macro, not a patch. But then I've
> > only *used* vi[m] for two and a half decades, I don't *know* very much
> > about it! :-)
> 
> :help fo-table
> 
> and look for the w flag.

  That says:

<quote>

You can use the 'formatoptions' option  to influence how Vim formats text.
'formatoptions' is a string that can contain any of the letters below. The
default setting is "tcq".  You can separate the option letters with commas for
readability.

letter	 meaning when present in 'formatoptions' 
[...]
w	Trailing white space indicates a paragraph continues in the next line.
	A line that ends in a non-white character ends a paragraph.
</quote>

  I.e. 'w' will determine what vim considers ("indicates") to be a
paragraph. But will it also cause a space to be *inserted* when
wrapping?

  I.e. when I type a long line, 't' will cause it to auto-wrap (using
textwidth), but the wrapped line will not have a trailing space. Does
'w' cause a 'insert-space-then-wrap' kind of behaviour? If not, then
that does not help, because I already *know* what a format=flowed
paragraph looks like, I want to *automatically generate* one.

  I can't check what 'w' does and doesn't do, because my stone-age
(MS-)Windows vim version (5.6) doesn't have that option. (Yes, one of
these days I probably should bite the bullet and upgrade (and upgrade to
the Cygwin version).)
Technical Details
Message-ID: <475af99d$0$41990$dbd49001@news.wanadoo.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!multikabel.net!feed20.multikabel.net!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
References: <pan.2007.11.30.09.59.33.808976@thurston.blinkynet.net> <5n82l3dvro51olivnu4qjesrmkfhtnn3ei@4ax.com> <pan.2007.12.01.09.46.37.991288@thurston.blinkynet.net> <4752c30a$0$86591$dbd41001@news.wanadoo.nl> <slrnfl6efh.4g3.hjp-usenet2@zeno.hjp.at> <slrnfl8qte.eao.pjr@pjr.gotdns.org> <47559db6$0$49262$dbd49001@news.wanadoo.nl> <slrnfle2cs.ael.pjr@pjr.gotdns.org> <slrnfled9t.pua.hjp-usenet2@hrunkner.hjp.at> <47585bc5$0$17551$dbd4f001@news.wanadoo.nl> <20071208161611.slrn@krille.blacktrash.org>

Show Full Headers
Complete Article Headers
Message-ID: <475af99d$0$41990$dbd49001@news.wanadoo.nl>
Subject: Re: [slrn][pan] Moving Along
Date: Sat, 08 Dec 2007 20:07:57 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <pan.2007.11.30.09.59.33.808976@thurston.blinkynet.net> <5n82l3dvro51olivnu4qjesrmkfhtnn3ei@4ax.com> <pan.2007.12.01.09.46.37.991288@thurston.blinkynet.net> <4752c30a$0$86591$dbd41001@news.wanadoo.nl> <slrnfl6efh.4g3.hjp-usenet2@zeno.hjp.at> <slrnfl8qte.eao.pjr@pjr.gotdns.org> <47559db6$0$49262$dbd49001@news.wanadoo.nl> <slrnfle2cs.ael.pjr@pjr.gotdns.org> <slrnfled9t.pua.hjp-usenet2@hrunkner.hjp.at> <47585bc5$0$17551$dbd4f001@news.wanadoo.nl> <20071208161611.slrn@krille.blacktrash.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!multikabel.net!feed20.multikabel.net!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
 (CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
Lines: 46
NNTP-Posting-Date: 08 Dec 2007 20:07:57 GMT
NNTP-Posting-Host: cd44075c2.cable.wanadoo.nl
X-Trace: 1197144477 dr7.euro.net 41990 212.64.117.194:64275
X-Complaints-To: abuse@wanadoo.nl