Article View: news.software.readers
Article #250845Re: [slrn]/[vim] Follow-up posts and wordwrap
From: Whiskers
Date: Wed, 18 Jul 2012 21:50
Date: Wed, 18 Jul 2012 21:50
52 lines
3632 bytes
3632 bytes
On 2012-07-17, Ivan The Not-So-Bad <1suf41n@yahoo.com> wrote: > On 2012-07-17, Whiskers <catwheezel@operamail.com> wrote: >> On 2012-07-17, John F. Morse <john@example.invalid> wrote: >>> John F. Morse wrote: [...] >>> Using either terminal method to run SLRN, it is easier to press W or w >>> to wordwrap the long lines. So even SLRN users do not have a valid gripe >>> about long lines. >> >> Except that when quoting the long lines, they have to be re-formatted >> manually (or using an editor macro or script) or left too long (which >> slrn warns you is not good practice). Quoted long lines can be wrapped >> by slrn to fit within the console width, but the quote mark > is still >> only shown once for that line. >> >> [...] >> > > This behavior in SLRN is exactly why I asked this question. In vim, I > have to manually wrap those lines as well and re-quote them. That's what I do too, using mcedit, although I'm sure a script to automate it must be possible, and probably already exists somewhere if I looked hard enough. > It would be great if vim had command-line options for line-width. I > *think* one thing that can be done from the command line for vim is > something like -c"set tw=80" which sets the line width to 80 ... so in > .slrnrc you should be able to specify something like: > > set editor_command "vim -c %d -c \"set tw=80\" '%s'" > > And then when in the editor, the key sequence V and then gq *should* > reflow, though you'd still have to properly re-quote reflowed lines. > > One issue is I don't know if escaping quotes like I show in the slrnrc > will work. > > The other issue is that when I try this manually, it does not work... > though it should :) I'm not a Vim user, although I intend to graduate to it eventually (I've been telling myself that for years); but I have found this <http://vim.wikia.com/wiki/Fix_email_quotations_with_long_lines> which looks promising. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Technical Details
Message-ID:
<slrnk0ebu5.n7.catwheezel@ID-107770.user.individual.net>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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<5004d93e$0$1473$c3e8da3$92d0a893@news.astraweb.com> <1mxmoaj7fk6re.h0xae865x9rl.dlg@40tude.net> <50055a7b$0$44948$c3e8da3$33881b6a@news.astraweb.com> <ju3qnd$ioc$1@n102.xanadu-bbs.net> <ju3rpc$iol$1@n102.xanadu-bbs.net> <ju3uas$jpo$1@n102.xanadu-bbs.net> <slrnk0b0rf.l9.catwheezel@ID-107770.user.individual.net> <50058d0d$0$39080$c3e8da3$88b277c5@news.astraweb.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnk0ebu5.n7.catwheezel@ID-107770.user.individual.net> Subject: Re: [slrn]/[vim] Follow-up posts and wordwrap Date: Wed, 18 Jul 2012 21:50:28 +0000 From: Whiskers <catwheezel@operamail.com> References: <5004d93e$0$1473$c3e8da3$92d0a893@news.astraweb.com> <1mxmoaj7fk6re.h0xae865x9rl.dlg@40tude.net> <50055a7b$0$44948$c3e8da3$33881b6a@news.astraweb.com> <ju3qnd$ioc$1@n102.xanadu-bbs.net> <ju3rpc$iol$1@n102.xanadu-bbs.net> <ju3uas$jpo$1@n102.xanadu-bbs.net> <slrnk0b0rf.l9.catwheezel@ID-107770.user.individual.net> <50058d0d$0$39080$c3e8da3$88b277c5@news.astraweb.com> 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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 52 Reply-To: Whiskers <catwheezel@gmx.co.uk> X-Trace: individual.net ADyPoyRC0wGdoZ6OOWgbZAXa6wg8htvlIlmTXrPHcs8+j3za7Tsic2Dm1kSO15bZUC Cancel-Lock: sha1:WbWrlc+0FROUNPNt8qvJPVyh8kw= X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/pre1.0.0-40 (Linux) X-Original-Bytes: 3375