Article View: news.software.readers
Article #211436Re: [slrn][pan] Moving Along
From: Peter J. Holzer
Date: Sun, 09 Dec 2007 11:33
Date: Sun, 09 Dec 2007 11:33
47 lines
3105 bytes
3105 bytes
On 2007-12-08 20:07, Frank Slootweg <this@ddress.is.invalid> wrote:
> 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).
[...]
>> :help fo-table
>>
>> and look for the w flag.
Thanks for pointing that out. I really should look into the Changelog
more often.
> 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.
Just tested it with Vim 7.0. Yes, it does insert trailing blanks as
required.
hp
Technical Details
Message-ID:
<slrnflnkks.geh.hjp-usenet2@hrunkner.hjp.at>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!news.albasani.net!news.wsr.ac.at!zeno.hjp.at!newsReferences:
<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> <475af99d$0$41990$dbd49001@news.wanadoo.nl>Show Full Headers
Complete Article Headers
Message-ID: <slrnflnkks.geh.hjp-usenet2@hrunkner.hjp.at> Subject: Re: [slrn][pan] Moving Along Date: Sun, 9 Dec 2007 12:33:48 +0100 From: "Peter J. Holzer" <hjp-usenet2@hjp.at> 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> <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!news.albasani.net!news.wsr.ac.at!zeno.hjp.at!news Newsgroups: news.software.readers User-Agent: slrn/pre0.9.9-69 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: zeno.hjp.at X-Trace: 9 Dec 2007 11:38:01 GMT, zeno.hjp.at Lines: 47